]>
Commit | Line | Data |
---|---|---|
41175af3 | 1 | Summary: Theora - video codec intended for use within Ogg multimedia streaming system |
5b0be976 | 2 | Summary(pl.UTF-8): Theora - kodek obrazu do używania w systemie strumieni multimedialnych Ogg |
41175af3 JB |
3 | Name: libtheora |
4 | Version: 1.0 | |
a75743fa | 5 | %define bver alpha7 |
3faa2652 | 6 | Release: 0.%{bver}.3 |
41175af3 JB |
7 | License: BSD-like |
8 | Group: Libraries | |
85b31d81 | 9 | Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}%{bver}.tar.bz2 |
a75743fa | 10 | # Source0-md5: 1bc851e39e4b16977131d5e5f769f48b |
41175af3 JB |
11 | URL: http://www.theora.org/ |
12 | BuildRequires: SDL-devel | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
faa3ed71 | 15 | BuildRequires: doxygen |
d04175ec | 16 | BuildRequires: libogg-devel >= 2:1.1 |
41175af3 | 17 | BuildRequires: libtool |
6e229419 | 18 | BuildRequires: libvorbis-devel >= 1:1.0.1 |
3a87dbc1 | 19 | BuildRequires: pkgconfig |
85b31d81 | 20 | BuildRequires: sed >= 4.0 |
d04175ec | 21 | Requires: libogg >= 2:1.1 |
6e229419 | 22 | Requires: libvorbis >= 1:1.0.1 |
a75743fa | 23 | Obsoletes: libtheora-mmx |
ad19fb2e | 24 | Provides: libtheora-mmx |
41175af3 JB |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | Theora is Xiph.Org's first publicly released video codec, intended for | |
29 | use within the Ogg's project's Ogg multimedia streaming system. Theora | |
30 | is derived directly from On2's VP3 codec; Currently the two are nearly | |
31 | identical, varying only in framing headers, but Theora will diverge | |
32 | and improve from the main VP3 development lineage as time progresses. | |
33 | ||
b0e9bae9 | 34 | %description -l pl.UTF-8 |
41175af3 | 35 | Theora to pierwszy publicznie wypuszczony przez Xiph.Org kodek obrazu, |
b0e9bae9 JR |
36 | mający być używany w systemie strumieni multimedialnych Ogg. Theora |
37 | wywodzi się bezpośrednio z kodeka VP3 On2. Aktualnie oba są prawie | |
38 | identyczne, różnią się jedynie nagłówkami ramek, ale Theora będzie się | |
39 | coraz bardziej rozwijać w stosunku do VP3. | |
41175af3 JB |
40 | |
41 | %package devel | |
42 | Summary: Header files for Theora library | |
5b0be976 | 43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Theora |
41175af3 JB |
44 | Group: Development/Libraries |
45 | Requires: %{name} = %{version}-%{release} | |
a75743fa | 46 | Obsoletes: libtheora-mmx-devel |
ad19fb2e | 47 | Provides: libtheora-mmx-devel |
41175af3 JB |
48 | |
49 | %description devel | |
50 | Header files for Theora library. | |
51 | ||
b0e9bae9 JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe biblioteki Theora. | |
41175af3 JB |
54 | |
55 | %package static | |
56 | Summary: Static Theora library | |
5b0be976 | 57 | Summary(pl.UTF-8): Statyczna biblioteka Theora |
41175af3 JB |
58 | Group: Development/Libraries |
59 | Requires: %{name}-devel = %{version}-%{release} | |
a75743fa | 60 | Obsoletes: libtheora-mmx-static |
ad19fb2e | 61 | Provides: libtheora-mmx-static |
41175af3 JB |
62 | |
63 | %description static | |
64 | Static Theora library. | |
65 | ||
b0e9bae9 | 66 | %description static -l pl.UTF-8 |
41175af3 JB |
67 | Statyczna biblioteka Theora. |
68 | ||
69 | %prep | |
70 | %setup -q -n %{name}-%{version}%{bver} | |
41175af3 JB |
71 | |
72 | %build | |
85b31d81 KK |
73 | %{__sed} -i 's,CFLAGS="-g -O2 ,CFLAGS=",' configure.ac |
74 | ||
41175af3 | 75 | %{__libtoolize} |
85b31d81 | 76 | %{__aclocal} -I m4 |
41175af3 JB |
77 | %{__autoconf} |
78 | %{__automake} | |
6e229419 | 79 | %configure |
41175af3 JB |
80 | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
6e229419 KK |
87 | DESTDIR=$RPM_BUILD_ROOT \ |
88 | docdir=%{_builddir}/%{buildsubdir}/__docs | |
41175af3 JB |
89 | |
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files | |
97 | %defattr(644,root,root,755) | |
98 | %doc COPYING README | |
41175af3 | 99 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
41175af3 JB |
100 | |
101 | %files devel | |
102 | %defattr(644,root,root,755) | |
faa3ed71 | 103 | %doc doc/{color.html,vp3-format.txt} doc/libtheora/html doc/spec/Theora_I_spec.pdf |
41175af3 | 104 | %attr(755,root,root) %{_libdir}/lib*.so |
6e229419 | 105 | %{_libdir}/lib*.la |
faa3ed71 | 106 | %{_includedir}/theora |
6e229419 | 107 | %{_pkgconfigdir}/theora.pc |
41175af3 JB |
108 | |
109 | %files static | |
110 | %defattr(644,root,root,755) | |
111 | %{_libdir}/lib*.a |