Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL5
>
libtheora0
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
libtheora.spec
@@ -1,3 +1,4 @@ + # norootforbuild %define addprov libtheora @@ -7,30 +8,27 @@ %define addprovenc libtheoraenc %define nameenc libtheoraenc1 -%define ver 1.0.final -%define rel 1 - Name: %{name} -# Packmandepends: libogg libvorbis -Summary: ogg/theora video codec library -Summary(de): ogg/theora Videocodec-Bibliothek -Version: %{ver} -Release: %{rel} +Summary: Ogg/theora video codec library +Summary(de): Ogg/theora Videocodec-Bibliothek +Version: 1.1.0 +Release: 3 License: BSD 3-Clause Group: Productivity/Multimedia/Other Url: http://www.xiph.org/ - -Source0: libtheora-1.0.tar.bz2 - +Source0: libtheora-%{version}.tar.bz2 +Vendor: Packman BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc +BuildRequires: xorg-x11-libs +BuildRequires: xorg-x11-devel BuildRequires: libogg >= 1.1 BuildRequires: libogg-devel >= 1.1 BuildRequires: libvorbis >= 1.0.1 BuildRequires: libvorbis-devel >= 1.0.1 BuildRequires: SDL BuildRequires: SDL-devel -Obsoletes: %{addprov} <= %{version} +Obsoletes: %{addprov} < %{version} Provides: %{addprov} = %{version}-%{release} %description @@ -46,46 +44,66 @@ %package -n %{namedec} Group: System/Libraries -Summary: libtheora %{namedec} +Summary: Theora %{namedec} Provides: %{addprovdec} = %{version}-%{release} %description -n %{namedec} +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. libtheora %{namedec} shared library %description -n %{namedec} -l de +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt +zu werden. Theora wurde direkt von On2s VP3 Codec abgeleitet. libtheora %{namedec} Bibliothek %package -n %{nameenc} Group: System/Libraries -Summary: libtheora %{nameenc} +Summary: Theora %{nameenc} Provides: %{addprovenc} = %{version}-%{release} %description -n %{nameenc} +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. libtheora %{nameenc} shared library %description -n %{nameenc} -l de +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt +zu werden. Theora wurde direkt von On2s VP3 Codec abgeleitet. libtheora %{nameenc} Bibliothek -%package -n libtheora-utils -Summary: ogg/theora utilities -Summary(de): ogg/theora Programme +%package -n theora-utils +Summary: Ogg/theora utilities +Summary(de): Ogg/theora Programme Group: Productivity/Multimedia/Other Requires: %{name} = %{version}-%{release} Requires: %{namedec} = %{version}-%{release} Requires: %{nameenc} = %{version}-%{release} -%description -n libtheora-utils -ogg/theora utilities +%description -n theora-utils +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. +Ogg/theora utilities -%description -n libtheora-utils -l de -ogg/theora Programme +%description -n theora-utils -l de +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt +zu werden. Theora wurde direkt von On2s VP3 Codec a +ff8 +bgeleitet. +Ogg/theora Programme %package -n libtheora-devel -Summary: ogg/theora development package -Summary(de): ogg/theora Entwicklerpaket +Summary: Ogg/theora development package +Summary(de): Ogg/theora Entwicklerpaket Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} Requires: %{namedec} = %{version}-%{release} @@ -95,15 +113,21 @@ Requires: SDL-devel %description -n libtheora-devel -ogg/theora development package +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. +Ogg/theora development package %description -n libtheora-devel -l de -ogg/theora Entwicklerpaket +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt +zu werden. Theora wurde direkt von On2s VP3 Codec abgeleitet. +Ogg/theora Entwicklerpaket %debug_package %prep -%setup -q -n libtheora-1.0 +%setup -q -n libtheora-%{version} %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" @@ -118,18 +142,14 @@ %{__make} %{?jobs:-j%{jobs}} docdir=%{_docdir}/%{name} %install -%__make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install +[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} +mkdir %{buildroot} +%{makeinstall} docdir=%{_docdir}/%{name} %{__install} -d ${RPM_BUILD_ROOT}%{_bindir} # Use non-generic name here to prevent vague meaning: %{__install} examples/.libs/dump_video ${RPM_BUILD_ROOT}%{_bindir}/dump_video_theora %{__install} examples/.libs/encoder_example ${RPM_BUILD_ROOT}%{_bindir}/encoder_example_theora %{__install} examples/.libs/player_example ${RPM_BUILD_ROOT}%{_bindir}/player_example_theora -# And provide symlinks to old names (<= openSUSE 10.2): -%if 0%{?suse_version} <= 1020 -pushd ${RPM_BUILD_ROOT}%{_bindir} && %{__ln_s} dump_video_theora ${RPM_BUILD_ROOT}%{_bindir}/dump_video && popd -pushd ${RPM_BUILD_ROOT}%{_bindir} && %{__ln_s} encoder_example_theora ${RPM_BUILD_ROOT}%{_bindir}/encoder_example && popd -pushd ${RPM_BUILD_ROOT}%{_bindir} && %{__ln_s} player_example_theora ${RPM_BUILD_ROOT}%{_bindir}/player_example && popd -%endif # Install remaining parts of documentation. %{__cp} -a AUTHORS CHANGES COPYING LICENSE README ${RPM_BUILD_ROOT}%{_docdir}/%{name} cd examples @@ -137,6 +157,8 @@ %{__cp} -a . ${RPM_BUILD_ROOT}%{_docdir}/%{name}/examples cd ${RPM_BUILD_ROOT}%{_docdir}/%{name}/examples %{__rm} -rf .deps Makefile* +%{__rm} -f %{buildroot}/%{_libdir}/*.a +%{__rm} -f %{buildroot}/%{_docdir}/%{name}/doxygen-build.stamp %check %{__make} check @@ -146,10 +168,8 @@ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig - %post -n %{namedec} -p /sbin/ldconfig %postun -n %{namedec} -p /sbin/ldconfig - %post -n %{nameenc} -p /sbin/ldconfig %postun -n %{nameenc} -p /sbin/ldconfig @@ -165,7 +185,7 @@ %defattr(-,root,root) %{_libdir}/libtheoraenc.so.1* -%files -n libtheora-utils +%files -n theora-utils %defattr(-, root, root) %{_bindir}/* @@ -175,9 +195,10 @@
Changed
libtheora-1.1.0.tar.bz2
^