11624
|
1 |
#
|
|
2 |
# spec file for package SUNWcairomm
|
|
3 |
#
|
|
4 |
# includes module(s): cairomm
|
|
5 |
#
|
11665
|
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: gheet
|
|
11 |
|
11624
|
12 |
%include Solaris.inc
|
|
13 |
%use cairomm = cairomm.spec
|
|
14 |
|
|
15 |
Name: SUNWcairomm
|
|
16 |
Summary: cairomm - C++ API for the Cairo Graphics Library
|
11773
|
17 |
Version: %{cairomm.version}
|
11624
|
18 |
SUNW_BaseDir: %{_basedir}
|
11996
|
19 |
SUNW_Copyright: %{name}.copyright
|
11624
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
%include default-depend.inc
|
|
22 |
Requires: SUNWgnome-base-libs
|
|
23 |
BuildRequires: SUNWgnome-base-libs-devel
|
|
24 |
Requires: SUNWsigcpp
|
|
25 |
BuildRequires: SUNWsigcpp-devel
|
|
26 |
|
|
27 |
%package devel
|
|
28 |
Summary: %{summary} - development files
|
|
29 |
SUNW_BaseDir: %{_basedir}
|
|
30 |
%include default-depend.inc
|
|
31 |
Requires: %name
|
|
32 |
Requires: SUNWgnome-base-libs-devel
|
11665
|
33 |
Requires: SUNWsigcpp-devel
|
11624
|
34 |
|
|
35 |
%prep
|
|
36 |
rm -rf %name-%version
|
|
37 |
mkdir %name-%version
|
|
38 |
%cairomm.prep -d %name-%version
|
|
39 |
|
|
40 |
%build
|
|
41 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
42 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
43 |
CPUS=1
|
|
44 |
fi
|
|
45 |
|
|
46 |
%if %cc_is_gcc
|
|
47 |
%else
|
|
48 |
export CXX="${CXX} -norunpath"
|
|
49 |
%endif
|
|
50 |
export CXXFLAGS="%cxx_optflags"
|
|
51 |
export PERL_PATH=/usr/perl5/bin/perl
|
|
52 |
%cairomm.build -d %name-%version
|
|
53 |
|
|
54 |
%install
|
|
55 |
rm -rf $RPM_BUILD_ROOT
|
|
56 |
%cairomm.install -d %name-%version
|
|
57 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
58 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|
59 |
|
|
60 |
%clean
|
11665
|
61 |
rm -rf $RPM_BUILD_ROOT
|
11624
|
62 |
|
|
63 |
%files
|
13503
|
64 |
%doc(bzip2) -d cairomm-%{cairomm.version} COPYING NEWS ChangeLog
|
|
65 |
%doc -d cairomm-%{cairomm.version} README AUTHORS
|
13662
|
66 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
67 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
11624
|
68 |
%defattr (-, root, bin)
|
|
69 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
70 |
%{_libdir}/lib*
|
|
71 |
|
|
72 |
%files devel
|
|
73 |
%defattr (-, root, bin)
|
|
74 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
75 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
76 |
%{_libdir}/pkgconfig/*
|
|
77 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
78 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
13666
|
79 |
%{_datadir}/doc/cairomm/*
|
11624
|
80 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
81 |
%{_includedir}/*
|
|
82 |
|
|
83 |
%changelog
|
11773
|
84 |
* Sun Mar 02 2008 - [email protected]
|
|
85 |
- Correct package version number.
|
11665
|
86 |
* Tue Feb 19 2008 - [email protected]
|
|
87 |
- Updated after review.
|
11624
|
88 |
* Fri Jan 08 2008 - [email protected]
|
|
89 |
- Modified SFEcairomm.spec to make SUNWcairomm.spec and cairomm.spec
|
|
90 |
* Mon Nov 12 2007 - [email protected]
|
|
91 |
- Bump to 1.4.6.
|
|
92 |
* Wed Sep 19 2007 - [email protected]
|
|
93 |
- Bump to 1.4.4
|
|
94 |
* Fri Aug 17 2007 - [email protected]
|
|
95 |
- Bump to 1.4.2
|
|
96 |
* Sun Feb 25 2007 - [email protected]
|
|
97 |
- create
|