[xiph-commits] r7848 - trunk/theora
thomasvs at motherfish-iii.xiph.org
thomasvs at motherfish-iii.xiph.org
Fri Sep 24 10:33:55 PDT 2004
Author: thomasvs
Date: 2004-09-24 10:33:55 -0700 (Fri, 24 Sep 2004)
New Revision: 7848
Added:
trunk/theora/libtheora.spec.in
Modified:
trunk/theora/Makefile.am
trunk/theora/configure.ac
Log:
autogenerate spec file from configure
Modified: trunk/theora/Makefile.am
===================================================================
--- trunk/theora/Makefile.am 2004-09-24 17:21:54 UTC (rev 7847)
+++ trunk/theora/Makefile.am 2004-09-24 17:33:55 UTC (rev 7848)
@@ -4,7 +4,7 @@
SUBDIRS = lib include doc examples debian
-EXTRA_DIST = COPYING autogen.sh win32
+EXTRA_DIST = COPYING autogen.sh win32 libtheora.spec libtheora.spec.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = theora.pc
Modified: trunk/theora/configure.ac
===================================================================
--- trunk/theora/configure.ac 2004-09-24 17:21:54 UTC (rev 7847)
+++ trunk/theora/configure.ac 2004-09-24 17:33:55 UTC (rev 7848)
@@ -204,5 +204,6 @@
examples/Makefile
doc/Makefile doc/Doxyfile doc/python/Makefile
debian/Makefile
+ libtheora.spec
theora.pc
])
Added: trunk/theora/libtheora.spec.in
===================================================================
--- trunk/theora/libtheora.spec.in 2004-09-24 17:21:54 UTC (rev 7847)
+++ trunk/theora/libtheora.spec.in 2004-09-24 17:33:55 UTC (rev 7848)
@@ -0,0 +1,78 @@
+Name: libtheora
+Version: @VERSION@
+Release: 0.xiph.0.3.alpha3
+Summary: The Theora Video Compression Codec.
+
+Group: System Environment/Libraries
+License: BSD
+URL: http://www.theora.org/
+Vendor: Xiph.org Foundation <team at xiph.org>
+Source: http://www.theora.org/files/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires: libogg-devel >= 2:1.1
+BuildRequires: libvorbis-devel >= 1:1.0.1
+BuildRequires: SDL-devel
+
+# this needs to be explicit since vorbis's .so versioning didn't get bumped
+# when going from 1.0 to 1.0.1
+Requires: libvorbis >= 1:1.0.1
+
+%description
+Theora is Xiph.Org's first publicly released video codec, intended
+for use within the Ogg's project's Ogg multimedia streaming system.
+Theora is derived directly from On2's VP3 codec; Currently the two are
+nearly identical, varying only in encapsulating decoder tables in the
+bitstream headers, but Theora will make use of this extra freedom
+in the future to improve over what is possible with VP3.
+
+%package devel
+Summary: Development tools for Theora applications.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libogg-devel >= 2:1.1
+
+%description devel
+The libtheora-devel package contains the header files and documentation
+needed to develop applications with Ogg Theora.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%configure --enable-shared
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# make sure our temp doc build dir is removed
+rm -rf $(pwd)/__docs
+
+%makeinstall docdir=$(pwd)/__docs
+
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING README
+%{_libdir}/libtheora.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc __docs/*
+%{_libdir}/libtheora.a
+%{_libdir}/libtheora.so
+%dir %{_includedir}/theora
+%{_includedir}/theora/theora.h
+%{_libdir}/pkgconfig/theora.pc
+
+%changelog
+* Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- transported fedora.us spec file
More information about the commits
mailing list