author | davelam |
Sun, 13 Sep 2009 02:30:18 +0000 | |
changeset 16543 | d51c4aa2171c |
parent 16434 | f21f22550fe9 |
child 16796 | 73be3a71fc4d |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWlibtheora |
|
3 |
# |
|
4 |
# includes module(s): libtheora |
|
5 |
# |
|
12008 | 6 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
9397 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
16434 | 10 |
%define owner jerrytan |
9397 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
%use theora = libtheora.spec |
|
14 |
||
12008 | 15 |
Name: SUNWlibtheora |
16 |
Summary: Theora video compression codec |
|
17 |
Version: %{theora.version} |
|
15535 | 18 |
Source: %{name}-manpages-0.1.tar.gz |
12008 | 19 |
SUNW_BaseDir: %{_basedir} |
20 |
SUNW_Copyright: %{name}.copyright |
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
9397 | 22 |
Autoreqprov: on |
23 |
||
24 |
%include default-depend.inc |
|
25 |
BuildRequires: SUNWgnome-common-devel |
|
26 |
BuildRequires: SUNWogg-vorbis-devel |
|
27 |
Requires: SUNWogg-vorbis |
|
28 |
||
29 |
%package devel |
|
30 |
Summary: %{summary} - development files |
|
31 |
SUNW_BaseDir: %{_basedir} |
|
32 |
%include default-depend.inc |
|
33 |
||
34 |
%prep |
|
35 |
rm -rf %name-%version |
|
36 |
mkdir %name-%version |
|
37 |
%theora.prep -d %name-%version |
|
16543 | 38 |
cd %{_builddir}/%name-%version* |
15535 | 39 |
gzcat %SOURCE0 | tar xf - |
9397 | 40 |
|
41 |
%build |
|
42 |
export ACLOCAL_FLAGS="-I /usr/share/aclocal" |
|
43 |
export LDFLAGS="%_ldflags" |
|
44 |
export CFLAGS="%optflags" |
|
45 |
%theora.build -d %name-%version |
|
46 |
||
47 |
%install |
|
48 |
%theora.install -d %name-%version |
|
15535 | 49 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
50 |
cd %{_builddir}/%name-%version/sun-manpages |
|
51 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
52 |
||
53 |
chmod 755 $RPM_BUILD_ROOT%{_mandir}/man3/*.3 |
|
9397 | 54 |
|
55 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
56 |
||
57 |
%clean |
|
58 |
rm -rf $RPM_BUILD_ROOT |
|
59 |
||
60 |
%files |
|
61 |
%defattr (-, root, bin) |
|
62 |
%dir %attr (0755, root, bin) %{_libdir} |
|
12965
49530f31c923
downgrade libtheora to 1.0alpha7, due to bug 6722237
jerrytan
parents:
12232
diff
changeset
|
63 |
%{_libdir}/*.so* |
13574 | 64 |
%dir %attr (0755, root, sys) %{_datadir} |
65 |
%doc -d libtheora-%{theora.tarball_version} AUTHORS README |
|
13598 | 66 |
%doc(bzip2) -d libtheora-%{theora.tarball_version} COPYING CHANGES |
13574 | 67 |
%dir %attr (0755, root, other) %{_datadir}/doc |
9397 | 68 |
|
69 |
%files devel |
|
70 |
%defattr (-, root, bin) |
|
71 |
%dir %attr (0755, root, bin) %{_libdir} |
|
72 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
73 |
%{_libdir}/pkgconfig/* |
|
74 |
%dir %attr (0755, root, bin) %{_includedir} |
|
75 |
%{_includedir}/* |
|
76 |
%dir %attr (0755, root, sys) %{_datadir} |
|
77 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
16365 | 78 |
%dir %attr (0755, root, other) %{_datadir}/doc/libtheora-1.1beta3 |
79 |
%{_datadir}/doc/libtheora-1.1beta3/* |
|
15535 | 80 |
%dir %attr (0755, root, bin) %{_mandir} |
81 |
%dir %attr (0755, root, bin) %{_mandir}/man3 |
|
82 |
%{_mandir}/man3/* |
|
9397 | 83 |
|
84 |
%changelog |
|
13574 | 85 |
* Fri Sep 12 2008 - [email protected] |
86 |
- Add new copyright files. |
|
12008 | 87 |
* Wed Apr 02 2008 - [email protected] |
88 |
- Add SUNW_Copyright. |
|
9397 | 89 |
* Sun Jun 11 2006 - [email protected] |
90 |
- change group from other to bin/sys |
|
91 |
* Tue Sep 13 2005 - [email protected] |
|
92 |
- Now use theora version number. |
|
93 |
* Tue Jul 26 2005 - [email protected] |
|
94 |
- Add ogg and vorbis dependency |
|
95 |
* Tue Jul 26 2005 - [email protected] |
|
96 |
- Initial spec-file created |