- Fix a directory ownership issue (#233872)

- Small spec cleanups
This commit is contained in:
Matthias Clasen 2007-03-25 21:59:42 +00:00
parent e40571d5c2
commit dd793bf2da

View File

@ -1,13 +1,13 @@
Summary: Theora Video Compression Codec Summary: Theora Video Compression Codec
Name: libtheora Name: libtheora
Version: 1.0alpha7 Version: 1.0alpha7
Release: 1 Release: 2%{?dist}
Epoch: 0 Epoch: 0
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.theora.org URL: http://www.theora.org
Source0: %{name}-%{version}.tar.gz Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libogg-devel >= 2:1.1 BuildRequires: libogg-devel >= 2:1.1
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: SDL-devel BuildRequires: SDL-devel
@ -21,10 +21,11 @@ bitstream headers, but Theora will make use of this extra freedom
in the future to improve over what is possible with VP3. in the future to improve over what is possible with VP3.
%package devel %package devel
Summary: Development tools for Theora applications. Summary: Development tools for Theora applications
Group: Development/Libraries Group: Development/Libraries
Requires: libogg-devel >= 2:1.1 Requires: libogg-devel >= 2:1.1
Requires: libtheora = %{epoch}:%{version}-%{release} Requires: libtheora = %{epoch}:%{version}-%{release}
Requires: pkgconfig
%description devel %description devel
The libtheora-devel package contains the header files and documentation The libtheora-devel package contains the header files and documentation
@ -43,7 +44,7 @@ with theora bitstreams.
%setup -q %setup -q
%build %build
%configure --enable-shared=yes --enable-static=yes %configure --enable-shared --disable-static
make make
%install %install
@ -73,9 +74,9 @@ rm -rf $RPM_BUILD_ROOT
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_includedir}/theora
%{_includedir}/theora/theora.h %{_includedir}/theora/theora.h
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/theora.pc %{_libdir}/pkgconfig/theora.pc
%files -n theora-tools %files -n theora-tools
@ -83,6 +84,10 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Sun Mar 25 2007 Matthias Clasen <mclasen@redhat.com> - 0:1.0alpha7-2
- Fix a directory ownership issue (#233872)
- Small spec cleanups
* Wed Aug 02 2006 Monty <cmontgom@redhat.com> - 0:1.0alpha7-1 * Wed Aug 02 2006 Monty <cmontgom@redhat.com> - 0:1.0alpha7-1
- Update to 1.0alpha7 - Update to 1.0alpha7