SUNWsigcpp.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 13652 bfa67b0f57ab
child 15825 91057f939ef9
child 18704 eee52e977224
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     1
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     2
# spec file for package SUNWsigcpp
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     3
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     4
# includes module(s): libsigc++
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     5
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     6
# # Copyright 2008 Sun Microsystems, Inc.
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     8
# package are under the same license as the package itself.
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     9
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    10
# Owner: elaine
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    11
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    12
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    13
%include Solaris.inc
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    14
%use sigcpp = sigcpp.spec
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    15
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    16
Name:                    SUNWsigcpp
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    17
Summary:                 Libsigc++ - a library that implements typesafe callback system for standard C++ 
11773
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11624
diff changeset
    18
Version:                 %{sigcpp.version}
13005
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    19
Source:                  %{name}-manpages-0.1.tar.gz
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
11935
fa2b34838439 Add SUNWsigcpp and SUNWgnome-meeting copyright files.
elaine
parents: 11773
diff changeset
    21
SUNW_Copyright:          %{name}.copyright
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    22
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    23
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    24
%include default-depend.inc
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    25
Requires: SUNWlibC
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    27
%package devel
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    28
Summary:                 %{summary} - development files
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
SUNW_BaseDir:            %{_basedir}
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    30
%include default-depend.inc
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    31
Requires: %name
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    32
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    33
%prep
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    34
rm -rf %name-%version
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    35
mkdir %name-%version
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    36
%sigcpp.prep -d %name-%version
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    37
cd %{_builddir}/%name-%version
13005
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    38
gzcat %SOURCE0 | tar xf -
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    39
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    40
%build
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
%if %cc_is_gcc
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
export CXXFLAGS="%{gcc_cxx_optflags}"
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    43
%else
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    44
export CFLAGS="%optflags"
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    45
export CXX="${CXX} -norunpath"
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    46
export CXXFLAGS="%cxx_optflags"
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    47
%endif
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    48
export LDFLAGS="%_ldflags"
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
%sigcpp.build -d %name-%version
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
%install
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    52
rm -rf $RPM_BUILD_ROOT
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    53
%sigcpp.install -d %name-%version
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    54
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    55
13005
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    56
# install man page
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    57
rm -rf $RPM_BUILD_ROOT%{_mandir}
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    58
cd %{_builddir}/%name-%version/sun-manpages
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    59
make install DESTDIR=$RPM_BUILD_ROOT
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    60
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    61
%clean
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    62
rm -rf $RPM_BUILD_ROOT
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    63
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    64
%files
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    65
%defattr (-, root, bin)
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    66
%dir %attr (0755, root, bin) %{_libdir}
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    67
%{_libdir}/lib*
13605
8d89870f3a42 Update for new copyright.
elaine
parents: 13005
diff changeset
    68
%dir %attr (0755, root, sys) %{_datadir}
8d89870f3a42 Update for new copyright.
elaine
parents: 13005
diff changeset
    69
%doc -d libsigc++-%{sigcpp.version} AUTHORS README
8d89870f3a42 Update for new copyright.
elaine
parents: 13005
diff changeset
    70
%doc(bzip2) -d libsigc++-%{sigcpp.version} COPYING NEWS
8d89870f3a42 Update for new copyright.
elaine
parents: 13005
diff changeset
    71
%doc(bzip2) -d libsigc++-%{sigcpp.version} ChangeLog
8d89870f3a42 Update for new copyright.
elaine
parents: 13005
diff changeset
    72
%dir %attr (0755, root, other) %{_datadir}/doc
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    73
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    74
%files devel
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    75
%defattr (-, root, bin)
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    76
%dir %attr (0755, root, bin) %{_libdir}
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    77
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    78
%{_libdir}/pkgconfig/*
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    79
%{_libdir}/sigc++*
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    80
%dir %attr (0755, root, sys) %{_datadir}
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    81
%dir %attr (0755, root, other) %{_datadir}/doc
13652
bfa67b0f57ab Update for files conflict.
elaine
parents: 13605
diff changeset
    82
%{_datadir}/doc/libsigc*
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    83
%dir %attr (0755, root, bin) %{_includedir}
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    84
%{_includedir}/*
13005
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    85
%dir %attr(0755, root, bin) %{_mandir}
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    86
%dir %attr(0755, root, bin) %{_mandir}/*
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    87
%{_mandir}/*/*
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    88
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    89
%changelog
13652
bfa67b0f57ab Update for files conflict.
elaine
parents: 13605
diff changeset
    90
* Thu Sep 18 2008 - [email protected]
bfa67b0f57ab Update for files conflict.
elaine
parents: 13605
diff changeset
    91
- Fix install files conflict. 
13605
8d89870f3a42 Update for new copyright.
elaine
parents: 13005
diff changeset
    92
* Tue Sep 16 2008 - [email protected]
8d89870f3a42 Update for new copyright.
elaine
parents: 13005
diff changeset
    93
- Add %doc to %files for new copyright.
13005
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    94
* Mon Aug 04 2008 - [email protected]
e51ff802ea0e Add sigcpp manpage.
elaine
parents: 11935
diff changeset
    95
- Add manpage.
11935
fa2b34838439 Add SUNWsigcpp and SUNWgnome-meeting copyright files.
elaine
parents: 11773
diff changeset
    96
* Thu Mar 27 2008 - [email protected]
fa2b34838439 Add SUNWsigcpp and SUNWgnome-meeting copyright files.
elaine
parents: 11773
diff changeset
    97
- Add file SUNWsigcpp.copyright.
11773
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11624
diff changeset
    98
* Sun Mar 02 2008 - [email protected]
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11624
diff changeset
    99
- Correct package version number.
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   100
* Fri Feb 01 2008 - [email protected]
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   101
- create, split from SFEsigcpp.spec