3 %if "%{pld_release}" == "ac"
4 %bcond_with apidocs # do not build and package API docs
6 %bcond_without apidocs # do not build and package API docs
9 Summary: Theora - video codec intended for use within Ogg multimedia streaming system
10 Summary(pl.UTF-8): Theora - kodek obrazu do używania w systemie strumieni multimedialnych Ogg
16 Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.bz2
17 # Source0-md5: 292ab65cedd5021d6b7ddd117e07cd8e
19 Patch1: libpng16.patch
20 URL: http://www.theora.org/
21 BuildRequires: SDL-devel
22 BuildRequires: autoconf >= 2.50
23 BuildRequires: automake
24 BuildRequires: libogg-devel >= 2:1.1
25 BuildRequires: libtool
26 BuildRequires: libvorbis-devel >= 1:1.0.1
27 BuildRequires: pkgconfig
28 BuildRequires: rpm >= 4.4.9-56
30 BuildRequires: doxygen
31 BuildRequires: tetex-format-pdflatex
32 BuildRequires: tetex-latex-bibtex
33 BuildRequires: tetex-latex-ltablex
34 BuildRequires: transfig
36 Requires: libogg >= 2:1.1
37 Requires: libvorbis >= 1:1.0.1
38 Provides: libtheora-mmx
39 Obsoletes: libtheora-mmx
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 %define no_install_post_check_so 1
45 Theora is Xiph.Org's first publicly released video codec, intended for
46 use within the Ogg's project's Ogg multimedia streaming system. Theora
47 is derived directly from On2's VP3 codec; Currently the two are nearly
48 identical, varying only in framing headers, but Theora will diverge
49 and improve from the main VP3 development lineage as time progresses.
51 %description -l pl.UTF-8
52 Theora to pierwszy publicznie wypuszczony przez Xiph.Org kodek obrazu,
53 mający być używany w systemie strumieni multimedialnych Ogg. Theora
54 wywodzi się bezpośrednio z kodeka VP3 On2. Aktualnie oba są prawie
55 identyczne, różnią się jedynie nagłówkami ramek, ale Theora będzie się
56 coraz bardziej rozwijać w stosunku do VP3.
59 Summary: Header files for Theora library
60 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Theora
61 Group: Development/Libraries
62 Requires: %{name} = %{version}-%{release}
63 Requires: libogg-devel >= 2:1.1
64 Provides: libtheora-mmx-devel
65 Obsoletes: libtheora-mmx-devel
68 Header files for Theora library.
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe biblioteki Theora.
74 Summary: Static Theora library
75 Summary(pl.UTF-8): Statyczna biblioteka Theora
76 Group: Development/Libraries
77 Requires: %{name}-devel = %{version}-%{release}
78 Provides: libtheora-mmx-static
79 Obsoletes: libtheora-mmx-static
82 Static Theora library.
84 %description static -l pl.UTF-8
85 Statyczna biblioteka Theora.
101 %{__make} -C doc/spec
105 rm -rf $RPM_BUILD_ROOT
107 %{__make} -j1 install \
108 DESTDIR=$RPM_BUILD_ROOT \
109 docdir=%{_docdir}/libtheora-docs
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 %doc AUTHORS CHANGES COPYING LICENSE README
120 %attr(755,root,root) %{_libdir}/libtheora.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libtheora.so.0
122 %attr(755,root,root) %{_libdir}/libtheoradec.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libtheoradec.so.1
124 %attr(755,root,root) %{_libdir}/libtheoraenc.so.*.*.*
125 %attr(755,root,root) %ghost %{_libdir}/libtheoraenc.so.1
128 %defattr(644,root,root,755)
129 %doc doc/{color.html,draft-ietf-avt-rtp-theora-00.txt,vp3-format.txt} doc/libtheora/html doc/spec/Theora.pdf
130 %attr(755,root,root) %{_libdir}/libtheora.so
131 %attr(755,root,root) %{_libdir}/libtheoradec.so
132 %attr(755,root,root) %{_libdir}/libtheoraenc.so
133 %{_libdir}/libtheora.la
134 %{_libdir}/libtheoradec.la
135 %{_libdir}/libtheoraenc.la
136 %{_includedir}/theora
137 %{_pkgconfigdir}/theora.pc
138 %{_pkgconfigdir}/theoradec.pc
139 %{_pkgconfigdir}/theoraenc.pc
142 %defattr(644,root,root,755)
143 %{_libdir}/libtheora.a
144 %{_libdir}/libtheoradec.a
145 %{_libdir}/libtheoraenc.a