SPECS: libtheora-mmx.spec (NEW) - initial release - special, mmx-p...

blues blues at pld-linux.org
Thu May 25 12:25:34 CEST 2006


Author: blues                        Date: Thu May 25 10:25:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release - special, mmx-patched version (maybe to use it in main
  spec for supported archs?)

---- Files affected:
SPECS:
   libtheora-mmx.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libtheora-mmx.spec
diff -u /dev/null SPECS/libtheora-mmx.spec:1.1
--- /dev/null	Thu May 25 12:25:34 2006
+++ SPECS/libtheora-mmx.spec	Thu May 25 12:25:29 2006
@@ -0,0 +1,124 @@
+# $Revision$, $Date$
+Summary:	Theora - video codec intended for use within Ogg multimedia streaming system
+Summary(pl):	Theora - kodek obrazu do używania w systemie strumieni multimedialnych Ogg
+Name:		libtheora-mmx
+Version:	1.0
+%define	bver	alpha5
+Release:	0.%{bver}.1
+License:	BSD-like
+Group:		Libraries
+Source0:	http://downloads.xiph.org/releases/theora/%{name}-%{version}%{bver}.tar.bz2
+# Source0-md5:	5d35bb7210c0a699d28aaf9baf7bb2e0
+URL:		http://www.theora.org/
+BuildRequires:	SDL-devel
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	doxygen
+BuildRequires:	libogg-devel >= 2:1.1
+BuildRequires:	libtool
+BuildRequires:	libvorbis-devel >= 1:1.0.1
+BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
+Requires:	libogg >= 2:1.1
+Requires:	libvorbis >= 1:1.0.1
+Provides:	libtheora = %{version}-%{release}
+Obsoletes:	libtheora
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 framing headers, but Theora will diverge
+and improve from the main VP3 development lineage as time progresses.
+
+%description -l pl
+Theora to pierwszy publicznie wypuszczony przez Xiph.Org kodek obrazu,
+mający być używany w systemie strumieni multimedialnych Ogg. Theora
+wywodzi się bezpośrednio z kodeka VP3 On2. Aktualnie oba są prawie
+identyczne, różnią się jedynie nagłówkami ramek, ale Theora będzie się
+coraz bardziej rozwijać w stosunku do VP3.
+
+%package devel
+Summary:	Header files for Theora library
+Summary(pl):	Pliki nagłówkowe biblioteki Theora
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Provides:	libtheora-devel = %{version}-%{release}
+Obsoletes:	libtheora-devel
+
+%description devel
+Header files for Theora library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki Theora.
+
+%package static
+Summary:	Static Theora library
+Summary(pl):	Statyczna biblioteka Theora
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+Provides:	libtheora-static = %{version}-%{release}
+Obsoletes:	libtheora-static
+
+%description static
+Static Theora library.
+
+%description static -l pl
+Statyczna biblioteka Theora.
+
+%prep
+%setup -q -n %{name}-%{version}%{bver}
+
+%build
+%{__sed} -i 's,CFLAGS="-g -O2 ,CFLAGS=",' configure.ac
+
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	docdir=%{_builddir}/%{buildsubdir}/__docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/{color.html,vp3-format.txt} doc/libtheora/html
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/theora
+%{_pkgconfigdir}/theora.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/05/25 10:25:29  blues
+- initial release - special, mmx-patched version (maybe to use it in main
+  spec for supported archs?)
+
================================================================


More information about the pld-cvs-commit mailing list