14643
|
1 |
#
|
|
2 |
# spec file for package clutter
|
|
3 |
#
|
17271
|
4 |
# Copyright 2010 Sun Microsystems, Inc.
|
14643
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner lin
|
16342
|
9 |
# bugdb: bugzilla.o-hand.com
|
14643
|
10 |
#
|
|
11 |
|
17881
|
12 |
%define OSR 12694 (new OSR for major rev not needed):1.0
|
16425
|
13 |
|
14643
|
14 |
Name: clutter
|
18059
|
15 |
License: LGPLv2.1
|
14643
|
16 |
Group: System/Libraries
|
18059
|
17 |
Version: 1.2.8
|
14643
|
18 |
Release: 1
|
|
19 |
Distribution: Java Desktop System
|
17864
|
20 |
Vendor: clutter-project.org
|
14643
|
21 |
Summary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
|
17628
|
22 |
Source: http://www.clutter-project.org/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
|
17814
|
23 |
# date:2010-01-04 owner:halton type:bug bugzilla:1930
|
17520
|
24 |
Patch1: clutter-01-solaris-ld.diff
|
18059
|
25 |
# Patch needed to make 1.2.8 build without libtool 2.2.6.
|
|
26 |
# date:2010-05-28 owner:yippi type:feature
|
|
27 |
Patch2: clutter-02-m4.diff
|
14643
|
28 |
URL: http://www.clutter-project.org/
|
16342
|
29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
14643
|
30 |
%description
|
16342
|
31 |
Clutter is an open source software library for creating fast, visually
|
|
32 |
rich and animated graphical user interfaces.
|
14643
|
33 |
|
|
34 |
%prep
|
|
35 |
%setup -q -n clutter-%version
|
17256
|
36 |
%patch1 -p1
|
18055
|
37 |
%patch2 -p1
|
16342
|
38 |
|
14643
|
39 |
%build
|
|
40 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
41 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
42 |
CPUS=1
|
|
43 |
fi
|
17271
|
44 |
|
|
45 |
gtkdocize
|
|
46 |
sed -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
|
|
47 |
&& mv gtk-doc.temp gtk-doc.make
|
|
48 |
sed -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
|
|
49 |
&& mv gtk-doc.temp gtk-doc.make
|
|
50 |
glib-gettextize -f
|
|
51 |
ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install
|
14643
|
52 |
./configure --prefix=%{_prefix} \
|
|
53 |
--libdir=%{_libdir} \
|
|
54 |
--sysconfdir=%{_sysconfdir} \
|
|
55 |
--disable-static \
|
|
56 |
--enable-gtk-doc
|
|
57 |
make -j$CPUS
|
|
58 |
|
|
59 |
%install
|
17256
|
60 |
make -i install DESTDIR=$RPM_BUILD_ROOT
|
|
61 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
62 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
14643
|
63 |
|
|
64 |
%clean
|
|
65 |
rm -rf $RPM_BUILD_ROOT
|
|
66 |
|
|
67 |
%files
|
|
68 |
%defattr (-, root, bin)
|
|
69 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
70 |
%{_libdir}/lib*.so*
|
|
71 |
|
|
72 |
|
|
73 |
%changelog
|
18059
|
74 |
* Tue Jun 01 2010 - [email protected]
|
|
75 |
- Bump to 1.2.8, add patch clutter-02-m4.diff to fix compile issues and
|
|
76 |
remove clutter-02-annotations.diff.
|
18055
|
77 |
* Fri May 28 2010 - [email protected]
|
|
78 |
- Add patch clutter-02-annotations.diff so clutter builds with
|
|
79 |
gobject-introspection > 0.6.10.
|
17906
|
80 |
* Thu Apr 22 2010 - [email protected]
|
|
81 |
- Bump to 1.2.6.
|
17762
|
82 |
* Fri Mar 26 2010 - [email protected]
|
|
83 |
- Bump to 1.2.4.
|
17722
|
84 |
* Tue Mar 16 2009 - [email protected]
|
|
85 |
- Bump to 1.2.2
|
17628
|
86 |
* Wed Mar 03 2010 - [email protected]
|
|
87 |
- Bump to 1.2.0
|
17525
|
88 |
* Wed Feb 10 2010 - [email protected]
|
|
89 |
- Bump to 1.1.10
|
|
90 |
- Remove upstreamed patch void-return.diff
|
17520
|
91 |
* Tue Feb 09 2010 - [email protected]
|
|
92 |
- Bump to 1.1.8
|
|
93 |
- Remove upstreamed patch suncc-redefine.diff
|
17271
|
94 |
* Mon Jan 04 2010 - [email protected]
|
|
95 |
- Bump to 1.1.4
|
|
96 |
- Add patch solaris-ld.diff to fix #1930
|
17256
|
97 |
* Wed Dec 30 2009 - [email protected]
|
|
98 |
- Bump to 1.1.2
|
|
99 |
- Add patch suncc-redefine.diff to fix #1928
|
|
100 |
- Add patch void-return.diff to fix #1929
|
16826
|
101 |
* Wed Oct 21 2009 - [email protected]
|
|
102 |
- Bump to 1.0.8
|
16642
|
103 |
* Thu Sep 24 2009 - [email protected]
|
|
104 |
- Bump to 1.0.6.
|
16481
|
105 |
* Sat Sep 05 2009 - [email protected]
|
|
106 |
- Bump to 1.0.4.
|
16342
|
107 |
* Tue Aug 25 2009 - [email protected]
|
16481
|
108 |
- Bump to 1.0.2.
|
|
109 |
- Remove uesless patch remove-tests.diff.
|
|
110 |
- Remove upstreamed patch g11n-i18n-ui.diff.
|
16342
|
111 |
- Add patch gi.diff to fix build issue on G-I 0.6.4
|
15965
|
112 |
* Fri Jun 26 2009 - [email protected]
|
16481
|
113 |
- Change spec and patch owner to lin.
|
15607
|
114 |
* Tue Apr 14 2009 - [email protected]
|
16481
|
115 |
- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk.
|
15574
|
116 |
* Tue Apr 07 2009 - [email protected]
|
16481
|
117 |
- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02.
|
15205
|
118 |
* Mon Feb 23 2009 - [email protected]
|
16481
|
119 |
- Bump to 0.8.8 version.
|
14849
|
120 |
* Tue Jan 06 2009 - [email protected]
|
|
121 |
- Add patch g11n-i18n-ui.diff for I18n UI.
|
14657
|
122 |
* Wed Nov 26 2008 [email protected]
|
16481
|
123 |
- add patch cairo-01-remove-tests.diff, we don't ship tests to our package.
|
14657
|
124 |
* Tue Jul 1 2008 [email protected]
|
14643
|
125 |
- Initial build.
|
|
126 |
|
|
127 |
|
14657
|
128 |
|