14643
|
1 |
#
|
|
2 |
# spec file for package clutter-gtk
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
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
|
14643
|
9 |
#
|
|
10 |
|
16425
|
11 |
%define OSR 12687:0.8.3
|
|
12 |
|
14643
|
13 |
Summary: clutter-gtk - GTK+ integration library for clutter
|
|
14 |
Name: clutter-gtk
|
18059
|
15 |
Version: 0.10.4
|
14643
|
16 |
Release: 1
|
18059
|
17 |
License: LGPLv2.1
|
14643
|
18 |
Group: System/Libraries
|
|
19 |
Distribution: Java Desktop System
|
17864
|
20 |
Vendor: clutter-project.org
|
16343
|
21 |
Source: http://www.clutter-project.org/sources/clutter-gtk/0.10/clutter-gtk-%{version}.tar.bz2
|
14643
|
22 |
URL: http://www.clutter-project.org/
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
|
|
25 |
%prep
|
|
26 |
%setup -q -n clutter-gtk-%version
|
|
27 |
|
|
28 |
%build
|
|
29 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
30 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
31 |
CPUS=1
|
|
32 |
fi
|
|
33 |
./configure --prefix=%{_prefix} \
|
|
34 |
--libexecdir=%{_libexecdir} \
|
|
35 |
--sysconfdir=%{_sysconfdir} \
|
|
36 |
--disable-static
|
|
37 |
make -j$CPUS
|
|
38 |
|
|
39 |
%install
|
|
40 |
rm -rf $RPM_BUILD_ROOT
|
|
41 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
42 |
|
|
43 |
%clean
|
|
44 |
rm -rf $RPM_BUILD_ROOT
|
|
45 |
|
|
46 |
%files
|
|
47 |
%defattr (-, root, bin)
|
|
48 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
49 |
%{_libdir}/lib*.so*
|
|
50 |
|
|
51 |
%changelog
|
18059
|
52 |
* Tue Jun 01 2010 - [email protected]
|
|
53 |
- Bump to 0.10.4.
|
17725
|
54 |
* Thu Mar 18 2010 - [email protected]
|
|
55 |
- Add clutter-gtk-01-deprecated.diff.
|
16343
|
56 |
* Tue Aug 25 2009 [email protected]
|
|
57 |
- Bump to 0.10.2
|
15965
|
58 |
* Fri Jun 26 2009 [email protected]
|
|
59 |
- Change patch and spec owner to lin
|
15205
|
60 |
* Mon Feb 23 2009 [email protected]
|
|
61 |
- Bump to 0.8.3 version
|
14643
|
62 |
* Tue Jul 1 2008 [email protected]
|
|
63 |
- Initial build.
|
|
64 |
|
|
65 |
|