- 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
Name: libtheora
Version: 1.0alpha7
Release: 1
Release: 2%{?dist}
Epoch: 0
License: BSD
Group: System Environment/Libraries
URL: http://www.theora.org
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libogg-devel >= 2:1.1
BuildRequires: libvorbis-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.
%package devel
Summary: Development tools for Theora applications.
Summary: Development tools for Theora applications
Group: Development/Libraries
Requires: libogg-devel >= 2:1.1
Requires: libtheora = %{epoch}:%{version}-%{release}
Requires: pkgconfig
%description devel
The libtheora-devel package contains the header files and documentation
@ -43,7 +44,7 @@ with theora bitstreams.
%setup -q
%build
%configure --enable-shared=yes --enable-static=yes
%configure --enable-shared --disable-static
make
%install
@ -73,9 +74,9 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/theora
%{_includedir}/theora/theora.h
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/theora.pc
%files -n theora-tools
@ -83,6 +84,10 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/*
%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
- Update to 1.0alpha7