author | laca |
Tue, 20 Sep 2005 22:02:48 +0000 | |
changeset 5968 | a46a145b814c |
parent 5859 | da89f4e343b9 |
child 6102 | 1e3e35b9a369 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package SUNWlibtheora |
|
3 |
# |
|
4 |
# includes module(s): libtheora |
|
5 |
# |
|
6 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
%include Solaris.inc |
|
11 |
%use theora = libtheora.spec |
|
12 |
||
13 |
Name: SUNWlibtheora |
|
14 |
Summary: The Theora Video Compression Codec - platform dependent files, /usr filesystem |
|
5968 | 15 |
Version: %{theora.version} |
5518 | 16 |
SUNW_BaseDir:%{_basedir} |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
18 |
Autoreqprov: on |
|
19 |
||
20 |
%include default-depend.inc |
|
21 |
BuildRequires: SUNWgnome-common-devel |
|
22 |
BuildRequires: SUNWogg-vorbis-devel |
|
23 |
Requires: SUNWogg-vorbis |
|
24 |
||
25 |
%package devel |
|
26 |
Summary: The Theora Video Compression Codec - developer files - platform independent, /usr filesystem |
|
27 |
SUNW_BaseDir: %{_basedir} |
|
28 |
%include default-depend.inc |
|
29 |
||
30 |
%prep |
|
31 |
rm -rf %name-%version |
|
32 |
mkdir %name-%version |
|
33 |
%theora.prep -d %name-%version |
|
34 |
||
35 |
%build |
|
5784 | 36 |
export ACLOCAL_FLAGS="-I /usr/share/aclocal" |
5518 | 37 |
%theora.build -d %name-%version |
5784 | 38 |
|
5518 | 39 |
%install |
40 |
%theora.install -d %name-%version |
|
5784 | 41 |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5849
diff
changeset
|
42 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5849
diff
changeset
|
43 |
|
5518 | 44 |
%clean |
45 |
rm -rf $RPM_BUILD_ROOT |
|
46 |
||
47 |
%files |
|
48 |
%defattr (-, root, other) |
|
49 |
%dir %attr (0755, root, bin) %{_libdir} |
|
50 |
%{_libdir}/libtheora.so* |
|
51 |
||
52 |
%files devel |
|
53 |
%defattr (-, root, other) |
|
54 |
%dir %attr (0755, root, bin) %{_libdir} |
|
55 |
%{_libdir}/pkgconfig |
|
56 |
%dir %attr (0755, root, bin) %{_includedir} |
|
57 |
%{_includedir}/* |
|
58 |
%dir %attr (0755, root, sys) %{_datadir} |
|
59 |
%{_datadir}/doc |
|
60 |
||
61 |
%changelog |
|
5849 | 62 |
* Tue Sep 13 2005 - [email protected] |
63 |
- Now use theora version number. |
|
64 |
||
5518 | 65 |
* Tue Jul 26 2005 - [email protected] |
66 |
- Add ogg and vorbis dependency |
|
67 |
||
68 |
* Tue Jul 26 2005 - [email protected] |
|
69 |
- Initial spec-file created |