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