Add Russian translation provided by Валерий Крувялис <valkru@mail.ru>
[xiph-mirror.git] / theora-fpga / testbenchs / libtheora_tb / libtheora.spec.in
blob06bbafe323b1b47278cd25bddbf1cc76f864c5f5
1 Name: libtheora
2 Version: @VERSION@
3 Release: 0.xiph.0.4.alpha5
4 Summary: The Theora Video Compression Codec.
6 Group: System Environment/Libraries
7 License: BSD
8 URL: http://www.theora.org/
9 Vendor: Xiph.org Foundation <team@xiph.org>
10 Source: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root
13 BuildRequires: libogg-devel >= 2:1.1
14 BuildRequires: libvorbis-devel >= 1:1.0.1
15 BuildRequires: SDL-devel
17 # this needs to be explicit since vorbis's .so versioning didn't get bumped
18 # when going from 1.0 to 1.0.1
19 Requires: libvorbis >= 1:1.0.1
21 %description
22 Theora is Xiph.Org's first publicly released video codec, intended
23 for use within the Ogg's project's Ogg multimedia streaming system.
24 Theora is derived directly from On2's VP3 codec; Currently the two are
25 nearly identical, varying only in encapsulating decoder tables in the
26 bitstream headers, but Theora will make use of this extra freedom
27 in the future to improve over what is possible with VP3.
29 %package devel
30 Summary: Development tools for Theora applications.
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
33 Requires: libogg-devel >= 2:1.1
35 %description devel
36 The libtheora-devel package contains the header files and documentation
37 needed to develop applications with Ogg Theora.
39 %prep
40 %setup -q -n %{name}-%{version}
42 %build
43 %configure --enable-shared
44 make
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 # make sure our temp doc build dir is removed
49 rm -rf $(pwd)/__docs
51 %makeinstall docdir=$(pwd)/__docs
53 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
55 %clean
56 rm -rf $RPM_BUILD_ROOT
58 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
62 %files
63 %defattr(-,root,root)
64 %doc COPYING README
65 %{_libdir}/libtheora.so.*
67 %files devel
68 %defattr(-,root,root,-)
69 %doc __docs/*
70 %{_libdir}/libtheora.a
71 %{_libdir}/libtheora.so
72 %dir %{_includedir}/theora
73 %{_includedir}/theora/theora.h
74 %{_libdir}/pkgconfig/theora.pc
76 %changelog
77 * Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
78 - transported fedora.us spec file
79 * Sat Aug 20 2005 Ralph Giles <giles at xiph.org>
80 - updated version for 1.0alpha5 release