14643
|
1 |
#
|
|
2 |
#
|
|
3 |
# spec file for package SUNWclutter-cairo
|
|
4 |
#
|
|
5 |
# includes module(s): clutter-cairo
|
|
6 |
#
|
|
7 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
8 |
# This file and all modifications and additions to the pristine
|
|
9 |
# package are under the same license as the package itself.
|
|
10 |
#
|
|
11 |
# Owner: bewitche
|
|
12 |
|
|
13 |
%include Solaris.inc
|
|
14 |
%use cluttercairo = clutter-cairo.spec
|
|
15 |
|
|
16 |
Name: SUNWclutter-cairo
|
|
17 |
Summary: clutter-cairo - An experimental clutter cairo 'drawable' actor.
|
|
18 |
Version: %{cluttercairo.version}
|
|
19 |
URL: http://www.clutter-project.org/
|
15178
|
20 |
Source: %{name}-manpages-0.1.tar.gz
|
14643
|
21 |
SUNW_BaseDir: %{_basedir}
|
|
22 |
SUNW_Copyright: SUNWclutter-cairo.copyright
|
|
23 |
|
|
24 |
%ifnarch sparc
|
|
25 |
#packages are only for x86
|
|
26 |
|
|
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
28 |
%include default-depend.inc
|
|
29 |
Requires: SUNWclutter
|
|
30 |
|
|
31 |
%package devel
|
|
32 |
Summary: %{summary} - developer files
|
|
33 |
SUNW_BaseDir: %{_basedir}
|
|
34 |
%include default-depend.inc
|
|
35 |
Requires: %name
|
|
36 |
Requires: SUNWclutter-devel
|
|
37 |
|
|
38 |
|
|
39 |
%prep
|
|
40 |
rm -rf %name-%version
|
|
41 |
mkdir %name-%version
|
|
42 |
%cluttercairo.prep -d %name-%version/
|
15178
|
43 |
cd %{_builddir}/%name-%version
|
|
44 |
gzcat %SOURCE0 | tar -xf -
|
14643
|
45 |
|
|
46 |
%build
|
|
47 |
export CFLAGS="%optflags -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
|
|
48 |
export LDFLAGS="%_ldflags -lglib-2.0 -lgobject-2.0 -lm"
|
|
49 |
%cluttercairo.build -d %name-%version/
|
|
50 |
|
|
51 |
%install
|
|
52 |
|
|
53 |
%cluttercairo.install -d %name-%version/
|
|
54 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
55 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
15178
|
56 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
57 |
make install DESTDIR=$RPM_BUILD_ROOT
|
14643
|
58 |
%clean
|
|
59 |
rm -rf $RPM_BUILD_ROOT
|
|
60 |
|
|
61 |
%files
|
15505
|
62 |
%doc -d clutter-cairo-%{cluttercairo.version} AUTHORS README
|
|
63 |
%doc(bzip2) -d clutter-cairo-%{cluttercairo.version} ChangeLog COPYING NEWS
|
|
64 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
14643
|
65 |
%defattr (-, root, bin)
|
|
66 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
67 |
%{_libdir}/lib*.so*
|
15178
|
68 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
69 |
%dir %attr (0755, root, bin) %{_mandir}
|
|
70 |
%{_mandir}/*/*
|
14643
|
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 |
|
|
78 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
79 |
%{_includedir}/*
|
|
80 |
|
|
81 |
%endif
|
|
82 |
%changelog
|
15505
|
83 |
* Thu Mar 26 2009 [email protected]
|
|
84 |
- Correct copyright file in file section
|
15178
|
85 |
* Fri Feb 20 2009 [email protected]
|
|
86 |
- Add manpage
|
14643
|
87 |
* Tue Jul 1 2008 [email protected]
|
|
88 |
- Initial build.
|