- Put Obsoletes/Provides theora-exp-devel in the -devel package instead of
in the -tools package (oops) - Install png2theora (bz 349951)
This commit is contained in:
parent
b3d7c64e62
commit
4569d6b5a2
@ -1,7 +1,7 @@
|
|||||||
Summary: Theora Video Compression Codec
|
Summary: Theora Video Compression Codec
|
||||||
Name: libtheora
|
Name: libtheora
|
||||||
Version: 1.0beta2
|
Version: 1.0beta2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -11,7 +11,7 @@ Patch1: libtheora-1.0alpha8-textreloc.patch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
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 libpng-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: tetex-latex transfig
|
BuildRequires: tetex-latex transfig
|
||||||
|
|
||||||
@ -23,22 +23,13 @@ nearly identical, varying only in encapsulating decoder tables in the
|
|||||||
bitstream headers, but Theora will make use of this extra freedom
|
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
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
|
||||||
The libtheora-devel package contains the header files and documentation
|
|
||||||
needed to develop applications with libtheora.
|
|
||||||
|
|
||||||
%package -n theora-tools
|
|
||||||
Summary: Command line tools for Theora videos
|
|
||||||
Group: Applications/Multimedia
|
|
||||||
Requires: libtheora = %{epoch}:%{version}-%{release}
|
|
||||||
Requires: pkgconfig
|
|
||||||
# the new experimental decoder is now part of the regular libtheora
|
# the new experimental decoder is now part of the regular libtheora
|
||||||
# we do not obsolete theora-exp itself as that had a different soname and we
|
# we do not obsolete theora-exp itself as that had a different soname and we
|
||||||
# do not want to break deps, however we do now provide the same headers as
|
# do not want to break deps, however we do now provide the same headers as
|
||||||
@ -46,19 +37,32 @@ Requires: pkgconfig
|
|||||||
Obsoletes: theora-exp-devel
|
Obsoletes: theora-exp-devel
|
||||||
Provides: theora-exp-devel
|
Provides: theora-exp-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The libtheora-devel package contains the header files and documentation
|
||||||
|
needed to develop applications with libtheora.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n theora-tools
|
||||||
|
Summary: Command line tools for Theora videos
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
Requires: libtheora = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description -n theora-tools
|
%description -n theora-tools
|
||||||
The theora-tools package contains simple command line tools for use
|
The theora-tools package contains simple command line tools for use
|
||||||
with theora bitstreams.
|
with theora bitstreams.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-shared --disable-static
|
%configure --enable-shared --disable-static
|
||||||
make
|
make
|
||||||
make -C doc/spec
|
make -C doc/spec
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%makeinstall
|
%makeinstall
|
||||||
@ -70,14 +74,18 @@ mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|||||||
install -m 755 examples/.libs/dump_video $RPM_BUILD_ROOT/%{_bindir}/theora_dump_video
|
install -m 755 examples/.libs/dump_video $RPM_BUILD_ROOT/%{_bindir}/theora_dump_video
|
||||||
install -m 755 examples/.libs/encoder_example $RPM_BUILD_ROOT/%{_bindir}/theora_encode
|
install -m 755 examples/.libs/encoder_example $RPM_BUILD_ROOT/%{_bindir}/theora_encode
|
||||||
install -m 755 examples/.libs/player_example $RPM_BUILD_ROOT/%{_bindir}/theora_player
|
install -m 755 examples/.libs/player_example $RPM_BUILD_ROOT/%{_bindir}/theora_player
|
||||||
|
install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
@ -95,7 +103,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-2
|
||||||
|
- Put Obsoletes/Provides theora-exp-devel in the -devel package instead of in
|
||||||
|
the -tools package (oops)
|
||||||
|
- Install png2theora (bz 349951)
|
||||||
|
|
||||||
* Thu Oct 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-1
|
* Thu Oct 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-1
|
||||||
- New upstream bugfix release 1.0beta2
|
- New upstream bugfix release 1.0beta2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user