]> git.pld-linux.org Git - packages/libtheora.git/blame - libtheora.spec
- rel .3
[packages/libtheora.git] / libtheora.spec
CommitLineData
41175af3 1Summary: Theora - video codec intended for use within Ogg multimedia streaming system
5b0be976 2Summary(pl.UTF-8): Theora - kodek obrazu do używania w systemie strumieni multimedialnych Ogg
41175af3
JB
3Name: libtheora
4Version: 1.0
a75743fa 5%define bver alpha7
3faa2652 6Release: 0.%{bver}.3
41175af3
JB
7License: BSD-like
8Group: Libraries
85b31d81 9Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}%{bver}.tar.bz2
a75743fa 10# Source0-md5: 1bc851e39e4b16977131d5e5f769f48b
41175af3
JB
11URL: http://www.theora.org/
12BuildRequires: SDL-devel
13BuildRequires: autoconf
14BuildRequires: automake
faa3ed71 15BuildRequires: doxygen
d04175ec 16BuildRequires: libogg-devel >= 2:1.1
41175af3 17BuildRequires: libtool
6e229419 18BuildRequires: libvorbis-devel >= 1:1.0.1
3a87dbc1 19BuildRequires: pkgconfig
85b31d81 20BuildRequires: sed >= 4.0
d04175ec 21Requires: libogg >= 2:1.1
6e229419 22Requires: libvorbis >= 1:1.0.1
a75743fa 23Obsoletes: libtheora-mmx
ad19fb2e 24Provides: libtheora-mmx
41175af3
JB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Theora is Xiph.Org's first publicly released video codec, intended for
29use within the Ogg's project's Ogg multimedia streaming system. Theora
30is derived directly from On2's VP3 codec; Currently the two are nearly
31identical, varying only in framing headers, but Theora will diverge
32and improve from the main VP3 development lineage as time progresses.
33
b0e9bae9 34%description -l pl.UTF-8
41175af3 35Theora to pierwszy publicznie wypuszczony przez Xiph.Org kodek obrazu,
b0e9bae9
JR
36mający być używany w systemie strumieni multimedialnych Ogg. Theora
37wywodzi się bezpośrednio z kodeka VP3 On2. Aktualnie oba są prawie
38identyczne, różnią się jedynie nagłówkami ramek, ale Theora będzie się
39coraz bardziej rozwijać w stosunku do VP3.
41175af3
JB
40
41%package devel
42Summary: Header files for Theora library
5b0be976 43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Theora
41175af3
JB
44Group: Development/Libraries
45Requires: %{name} = %{version}-%{release}
a75743fa 46Obsoletes: libtheora-mmx-devel
ad19fb2e 47Provides: libtheora-mmx-devel
41175af3
JB
48
49%description devel
50Header files for Theora library.
51
b0e9bae9
JR
52%description devel -l pl.UTF-8
53Pliki nagłówkowe biblioteki Theora.
41175af3
JB
54
55%package static
56Summary: Static Theora library
5b0be976 57Summary(pl.UTF-8): Statyczna biblioteka Theora
41175af3
JB
58Group: Development/Libraries
59Requires: %{name}-devel = %{version}-%{release}
a75743fa 60Obsoletes: libtheora-mmx-static
ad19fb2e 61Provides: libtheora-mmx-static
41175af3
JB
62
63%description static
64Static Theora library.
65
b0e9bae9 66%description static -l pl.UTF-8
41175af3
JB
67Statyczna 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
84rm -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
91rm -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
This page took 0.05758 seconds and 4 git commands to generate.