2007-01-15 23:23:24 +00:00
|
|
|
|
#
|
2007-03-29 10:05:05 +00:00
|
|
|
|
# spec file for package libtheora (Version 0.99.0.7)
|
2007-01-15 23:23:24 +00:00
|
|
|
|
#
|
2007-03-29 10:05:05 +00:00
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:23:24 +00:00
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
|
#
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
Name: libtheora
|
2007-03-29 10:05:05 +00:00
|
|
|
|
BuildRequires: SDL-devel doxygen gcc-c++ libogg-devel libvorbis-devel pkg-config python
|
2007-01-15 23:23:24 +00:00
|
|
|
|
URL: http://www.xiph.org/
|
2007-08-12 09:43:47 +00:00
|
|
|
|
License: BSD 3-Clause, The software is free and claimed patent free.
|
2007-01-15 23:23:24 +00:00
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
|
Summary: Free Video Codec
|
2007-03-29 10:05:05 +00:00
|
|
|
|
Version: 0.99.0.7
|
2007-08-12 09:43:47 +00:00
|
|
|
|
Release: 42
|
2007-03-29 10:05:05 +00:00
|
|
|
|
%define _version 1.0alpha7
|
2007-01-15 23:23:24 +00:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-03-29 10:05:05 +00:00
|
|
|
|
Source: %{name}-%{_version}.tar.bz2
|
2007-01-15 23:23:24 +00:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Theora is a free video codec based on VP3. The package contains the
|
|
|
|
|
library that can decode and encode Theora streams. Theora is also able
|
|
|
|
|
to playback VP3 streams.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-12 09:43:47 +00:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
the Xiph.Org Foundation http://www.xiph.org/
|
|
|
|
|
|
|
|
|
|
%package -n libtheora0
|
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
|
Summary: Free Video Codec
|
|
|
|
|
Provides: %{name} = %{version}
|
|
|
|
|
Obsoletes: %{name} <= %{version}
|
|
|
|
|
|
|
|
|
|
%description -n libtheora0
|
|
|
|
|
Theora is a free video codec based on VP3. The package contains the
|
|
|
|
|
library that can decode and encode Theora streams. Theora is also able
|
|
|
|
|
to playback VP3 streams.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:23:24 +00:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
the Xiph.Org Foundation http://www.xiph.org/
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
|
Summary: Free Video Codec
|
2007-08-12 09:43:47 +00:00
|
|
|
|
Requires: libtheora0 = %{version} libogg-devel
|
2007-01-15 23:23:24 +00:00
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Theora is a free video codec based on VP3. The package contains the
|
|
|
|
|
library that can decode and encode Theora streams. Theora is also able
|
|
|
|
|
to playback VP3 streams.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
the Xiph.Org Foundation http://www.xiph.org/
|
|
|
|
|
|
|
|
|
|
%prep
|
2007-03-29 10:05:05 +00:00
|
|
|
|
%setup -q -n %{name}-%{_version}
|
2007-01-15 23:23:24 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2007-03-29 10:05:05 +00:00
|
|
|
|
# FIXME:
|
|
|
|
|
# toplevel.c:183: warning: dereferencing type-punned pointer will break strict-aliasing rules
|
|
|
|
|
# x86_64/fdct_mmx.c:295: warning: dereferencing type-punned pointer will break strict-aliasing rules
|
2007-08-12 09:43:47 +00:00
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
2007-03-29 10:05:05 +00:00
|
|
|
|
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%configure \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-pic
|
|
|
|
|
%{__make} %{?jobs:-j%jobs} docdir=%{_docdir}/%{name}
|
2007-01-15 23:23:24 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2007-03-29 10:05:05 +00:00
|
|
|
|
%makeinstall docdir=%{_docdir}/%{name}
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{__install} -d $RPM_BUILD_ROOT%{_bindir}
|
2007-03-29 10:05:05 +00:00
|
|
|
|
# Use non-generic name here to prevent vague meaning:
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{__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
|
2007-03-29 10:05:05 +00:00
|
|
|
|
# And provide symlinks to old names (<= openSUSE 10.2):
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{__ln_s} dump_video_theora $RPM_BUILD_ROOT%{_bindir}/dump_video
|
|
|
|
|
%{__ln_s} encoder_example_theora $RPM_BUILD_ROOT%{_bindir}/encoder_example
|
|
|
|
|
%{__ln_s} player_example_theora $RPM_BUILD_ROOT%{_bindir}/player_example
|
2007-03-29 10:05:05 +00:00
|
|
|
|
# Install remaining parts of documentation.
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{__cp} -a AUTHORS CHANGES COPYING LICENSE README $RPM_BUILD_ROOT%{_docdir}/%{name}
|
2007-01-15 23:23:24 +00:00
|
|
|
|
cd examples
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{__make} clean
|
|
|
|
|
%{__cp} -a . $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
2007-03-29 10:05:05 +00:00
|
|
|
|
cd $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{__rm} -rf .deps Makefile*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__make} check
|
2007-01-15 23:23:24 +00:00
|
|
|
|
|
|
|
|
|
%clean
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-15 23:23:24 +00:00
|
|
|
|
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%post -n libtheora0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libtheora0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n libtheora0
|
2007-01-15 23:23:24 +00:00
|
|
|
|
%defattr(-,root,root)
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%{_libdir}/libtheora.so.0*
|
2007-01-15 23:23:24 +00:00
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%doc %dir %{_docdir}/%{name}
|
|
|
|
|
%doc %{_docdir}/%{name}/*
|
2007-03-29 10:05:05 +00:00
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_includedir}/theora
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/theora.pc
|
2007-08-12 09:43:47 +00:00
|
|
|
|
%exclude %{_libdir}/*.la
|
2007-03-29 10:05:05 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2007-08-12 09:43:47 +00:00
|
|
|
|
* Sun Aug 12 2007 - crrodriguez@suse.de
|
|
|
|
|
- fix build in x86_64
|
|
|
|
|
- use library packaging policy
|
|
|
|
|
- run make check in the check section
|
|
|
|
|
- add missing call to ldconfig
|
2007-03-29 10:05:05 +00:00
|
|
|
|
* Wed Mar 28 2007 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.0alpha7:
|
|
|
|
|
* Enable mmx assembly by default
|
|
|
|
|
* Avoid some relocations that caused problems on SELinux
|
|
|
|
|
* Other build fixes
|
|
|
|
|
* time testing mode (-f) for the dump_video example
|
|
|
|
|
* Merge theora-mmx simd acceleration (x86_32 and x86_64)
|
|
|
|
|
* Major RTP payload specification update
|
|
|
|
|
* Minor format specification updates
|
|
|
|
|
* Fix some spurious calls to free() instead of _ogg_free()
|
|
|
|
|
* Fix invalid array indexing in PixelLineSearch()
|
|
|
|
|
* Improve robustness against invalid input
|
|
|
|
|
* General warning cleanup
|
|
|
|
|
* The offset_y member meaning fix.
|
|
|
|
|
- Use incremental versioning scheme.
|
|
|
|
|
- Documentation repackaged.
|
|
|
|
|
- Use less vague names for binaries.
|
2007-01-15 23:23:24 +00:00
|
|
|
|
* Tue Aug 01 2006 - dmueller@suse.de
|
|
|
|
|
- Reenable test suite run with valgrind.
|
|
|
|
|
* Fri Jul 28 2006 - aj@suse.de
|
|
|
|
|
- Disable test suite run with valgrind.
|
|
|
|
|
* Fri Mar 10 2006 - bk@suse.de
|
|
|
|
|
- libtheora-devel: add libogg-devel to Requires (found by .la check)
|
|
|
|
|
* Mon Feb 06 2006 - adrian@suse.de
|
|
|
|
|
- add -fstack-protector
|
|
|
|
|
- enable test suite run with valgrind
|
|
|
|
|
* Sun Jan 29 2006 - aj@suse.de
|
|
|
|
|
- Fix BuildRequires.
|
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
|
* Wed Oct 19 2005 - adrian@suse.de
|
|
|
|
|
- update to version 1.0 alpha 5
|
|
|
|
|
- enable test suite
|
|
|
|
|
- generate API documentation with doxygen
|
|
|
|
|
* Thu Apr 14 2005 - sbrabec@suse.cz
|
|
|
|
|
- Added audiofile-devel to neededforbuild.
|
|
|
|
|
* Wed Jan 05 2005 - adrian@suse.de
|
|
|
|
|
- update to version 1.0 alpha 4
|
|
|
|
|
* Tue Oct 26 2004 - adrian@suse.de
|
|
|
|
|
- remove .svn directories
|
|
|
|
|
* Mon Oct 18 2004 - adrian@suse.de
|
|
|
|
|
- update to current cvs to get pc file
|
|
|
|
|
* Thu Aug 19 2004 - adrian@suse.de
|
|
|
|
|
- create -devel package
|
|
|
|
|
* Tue Jun 29 2004 - adrian@suse.de
|
|
|
|
|
- do not install the libtool scripts ...
|
|
|
|
|
* Sat Apr 24 2004 - adrian@suse.de
|
|
|
|
|
- use xorg-x11 packages
|
|
|
|
|
* Wed Apr 21 2004 - adrian@suse.de
|
|
|
|
|
- compile with -fno-strict-aliasing
|
|
|
|
|
* Sun Mar 21 2004 - adrian@suse.de
|
|
|
|
|
- update to alpha 3 release
|
|
|
|
|
on disc format is still not frozen, so this remain an internal package
|
|
|
|
|
* Wed Feb 04 2004 - adrian@suse.de
|
|
|
|
|
- remove binaries from example dir (they get installed anyway)
|
|
|
|
|
* Fri Jan 30 2004 - adrian@suse.de
|
|
|
|
|
- initial package of current snapshot (post alpha2)
|
|
|
|
|
- internal package only atm
|