author | laca |
Fri, 14 Oct 2005 19:57:50 +0000 | |
changeset 6102 | 1e3e35b9a369 |
parent 5968 | a46a145b814c |
child 7244 | b65ebefa231b |
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" |
6102 | 37 |
export LDFLAGS="%_ldflags" |
38 |
export CFLAGS="%optflags" |
|
5518 | 39 |
%theora.build -d %name-%version |
5784 | 40 |
|
5518 | 41 |
%install |
42 |
%theora.install -d %name-%version |
|
5784 | 43 |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5849
diff
changeset
|
44 |
%{?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
|
45 |
|
5518 | 46 |
%clean |
47 |
rm -rf $RPM_BUILD_ROOT |
|
48 |
||
49 |
%files |
|
50 |
%defattr (-, root, other) |
|
51 |
%dir %attr (0755, root, bin) %{_libdir} |
|
52 |
%{_libdir}/libtheora.so* |
|
53 |
||
54 |
%files devel |
|
55 |
%defattr (-, root, other) |
|
56 |
%dir %attr (0755, root, bin) %{_libdir} |
|
57 |
%{_libdir}/pkgconfig |
|
58 |
%dir %attr (0755, root, bin) %{_includedir} |
|
59 |
%{_includedir}/* |
|
60 |
%dir %attr (0755, root, sys) %{_datadir} |
|
61 |
%{_datadir}/doc |
|
62 |
||
63 |
%changelog |
|
5849 | 64 |
* Tue Sep 13 2005 - [email protected] |
65 |
- Now use theora version number. |
|
66 |
||
5518 | 67 |
* Tue Jul 26 2005 - [email protected] |
68 |
- Add ogg and vorbis dependency |
|
69 |
||
70 |
* Tue Jul 26 2005 - [email protected] |
|
71 |
- Initial spec-file created |