author | henryz |
Wed, 09 Apr 2008 07:35:21 +0000 | |
changeset 12065 | ec40d145a28b |
parent 11935 | fa2b34838439 |
child 13005 | e51ff802ea0e |
permissions | -rw-r--r-- |
11624 | 1 |
# |
2 |
# spec file for package SUNWsigcpp |
|
3 |
# |
|
4 |
# includes module(s): libsigc++ |
|
5 |
# |
|
6 |
# # Copyright 2008 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
# Owner: elaine |
|
11 |
# |
|
12 |
||
13 |
%include Solaris.inc |
|
14 |
%use sigcpp = sigcpp.spec |
|
15 |
||
16 |
Name: SUNWsigcpp |
|
17 |
Summary: Libsigc++ - a library that implements typesafe callback system for standard C++ |
|
11773 | 18 |
Version: %{sigcpp.version} |
11624 | 19 |
SUNW_BaseDir: %{_basedir} |
11935
fa2b34838439
Add SUNWsigcpp and SUNWgnome-meeting copyright files.
elaine
parents:
11773
diff
changeset
|
20 |
SUNW_Copyright: %{name}.copyright |
11624 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
22 |
||
23 |
%include default-depend.inc |
|
24 |
Requires: SUNWlibC |
|
25 |
||
26 |
%package devel |
|
27 |
Summary: %{summary} - development files |
|
28 |
SUNW_BaseDir: %{_basedir} |
|
29 |
%include default-depend.inc |
|
30 |
Requires: %name |
|
31 |
||
32 |
%prep |
|
33 |
rm -rf %name-%version |
|
34 |
mkdir %name-%version |
|
35 |
%sigcpp.prep -d %name-%version |
|
36 |
cd %{_builddir}/%name-%version |
|
37 |
||
38 |
%build |
|
39 |
%if %cc_is_gcc |
|
40 |
export CXXFLAGS="%{gcc_cxx_optflags}" |
|
41 |
%else |
|
42 |
export CFLAGS="%optflags" |
|
43 |
export CXX="${CXX} -norunpath" |
|
44 |
export CXXFLAGS="%cxx_optflags" |
|
45 |
%endif |
|
46 |
export LDFLAGS="%_ldflags" |
|
47 |
%sigcpp.build -d %name-%version |
|
48 |
||
49 |
%install |
|
50 |
rm -rf $RPM_BUILD_ROOT |
|
51 |
%sigcpp.install -d %name-%version |
|
52 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a |
|
53 |
||
54 |
%clean |
|
55 |
rm -rf $RPM_BUILD_ROOT |
|
56 |
||
57 |
%files |
|
58 |
%defattr (-, root, bin) |
|
59 |
%dir %attr (0755, root, bin) %{_libdir} |
|
60 |
%{_libdir}/lib* |
|
61 |
||
62 |
%files devel |
|
63 |
%defattr (-, root, bin) |
|
64 |
%dir %attr (0755, root, bin) %{_libdir} |
|
65 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
66 |
%{_libdir}/pkgconfig/* |
|
67 |
%{_libdir}/sigc++* |
|
68 |
%dir %attr (0755, root, sys) %{_datadir} |
|
69 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
70 |
%{_datadir}/doc/* |
|
71 |
%dir %attr (0755, root, bin) %{_includedir} |
|
72 |
%{_includedir}/* |
|
73 |
||
74 |
%changelog |
|
11935
fa2b34838439
Add SUNWsigcpp and SUNWgnome-meeting copyright files.
elaine
parents:
11773
diff
changeset
|
75 |
* Thu Mar 27 2008 - [email protected] |
fa2b34838439
Add SUNWsigcpp and SUNWgnome-meeting copyright files.
elaine
parents:
11773
diff
changeset
|
76 |
- Add file SUNWsigcpp.copyright. |
11773 | 77 |
* Sun Mar 02 2008 - [email protected] |
78 |
- Correct package version number. |
|
11624 | 79 |
* Fri Feb 01 2008 - [email protected] |
80 |
- create, split from SFEsigcpp.spec |