14643
|
1 |
#
|
|
2 |
# spec file for package clutter-gst
|
|
3 |
#
|
17628
|
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
|
14643
|
9 |
#
|
|
10 |
|
16425
|
11 |
%define OSR 12686:0.8.0
|
|
12 |
|
17628
|
13 |
Summary: clutter-gst - gstreamer integration library for clutter
|
14643
|
14 |
Name: clutter-gst
|
17754
|
15 |
Version: 1.0.0
|
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
|
17754
|
21 |
Source: http://www.clutter-project.org/sources/clutter-gst/1.0/clutter-gst-%{version}.tar.bz2
|
14643
|
22 |
URL: http://www.clutter-project.org/
|
17628
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
14643
|
24 |
|
|
25 |
%prep
|
|
26 |
%setup -q -n clutter-gst-%version
|
17628
|
27 |
|
|
28 |
#FIXME: remove uncompatible m4 files
|
|
29 |
rm -f build/autotools/lt~obsolete.m4
|
|
30 |
rm -f build/autotools/ltoptions.m4
|
|
31 |
rm -f build/autotools/libtool.m4
|
|
32 |
rm -f build/autotools/ltsugar.m4
|
|
33 |
rm -f build/autotools/ltversion.m4
|
14643
|
34 |
|
|
35 |
%build
|
|
36 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
37 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
38 |
CPUS=1
|
|
39 |
fi
|
17628
|
40 |
|
|
41 |
aclocal $ACLOCAL_FLAGS -I build/autotools
|
|
42 |
libtoolize --force
|
|
43 |
autoheader
|
|
44 |
automake -a -f -c --gnu
|
|
45 |
autoconf
|
|
46 |
|
|
47 |
./configure --prefix=%{_prefix} \
|
|
48 |
--libexecdir=%{_libexecdir} \
|
|
49 |
--sysconfdir=%{_sysconfdir} \
|
17754
|
50 |
%{gtk_doc_option} \
|
17628
|
51 |
%if %debug_build
|
|
52 |
--enable-debug=yes \
|
|
53 |
%else
|
|
54 |
--enable-debug=no \
|
|
55 |
%endif
|
|
56 |
|
|
57 |
|
|
58 |
make -j $CPUS
|
14643
|
59 |
|
|
60 |
%install
|
|
61 |
rm -rf $RPM_BUILD_ROOT
|
|
62 |
make install DESTDIR=$RPM_BUILD_ROOT
|
17628
|
63 |
#Clean up unpackaged files
|
|
64 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
65 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
14643
|
66 |
|
|
67 |
%clean
|
|
68 |
rm -rf $RPM_BUILD_ROOT
|
|
69 |
|
|
70 |
%files
|
|
71 |
%defattr (-, root, bin)
|
|
72 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
73 |
%{_libdir}/lib*.so*
|
|
74 |
|
|
75 |
%changelog
|
17754
|
76 |
* Fri Mar 26 2010 [email protected]
|
|
77 |
- Revert to 1.0.0
|
17645
|
78 |
* Mon Mar 08 2010 [email protected]
|
|
79 |
- Revert to 0.10.0, hold bumping until new OSR filed.
|
17628
|
80 |
* Wed Mar 03 2010 [email protected]
|
|
81 |
- Bump to 1.0.0
|
|
82 |
- Remove clutter-gst-01-build.diff, not needed.
|
|
83 |
- Remove uncompatible m4 files
|
17583
|
84 |
* Tue Feb 23 2010 [email protected]
|
|
85 |
- Add clutter-gst-01-build.diff, fix build issue.
|
16343
|
86 |
* Tue Aug 25 2009 [email protected]
|
|
87 |
- Bump to 0.10.0
|
15965
|
88 |
* Fri Jun 26 2009 [email protected]
|
|
89 |
- Change owner to lin
|
14643
|
90 |
* Tue Jul 1 2008 [email protected]
|
|
91 |
- Initial build.
|