2007-01-15 23:22:37 +00:00
|
|
|
#
|
|
|
|
# spec file for package libogg (Version 1.1.3)
|
|
|
|
#
|
2009-01-08 17:42:32 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:22:37 +00:00
|
|
|
#
|
2009-01-08 17:42:32 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-04-16 22:37:50 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:22:37 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 12:31:36 +00:00
|
|
|
|
2007-04-16 22:37:50 +00:00
|
|
|
Name: libogg
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
Summary: Ogg Bitstream Library
|
|
|
|
Version: 1.1.3
|
2009-01-08 17:42:32 +00:00
|
|
|
Release: 88
|
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libogg-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-04-16 22:37:50 +00:00
|
|
|
Group: System/Libraries
|
2007-12-13 19:15:24 +00:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Url: http://www.vorbis.com/
|
2007-04-16 22:37:50 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: configure.dif
|
|
|
|
Patch1: lib64.dif
|
|
|
|
Patch2: m4.diff
|
|
|
|
Patch3: libogg-compile-warning-fix.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:22:37 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Libogg is a library for manipulating ogg bitstreams. It handles both
|
|
|
|
making ogg bitstreams and getting packets from ogg bitstreams.
|
|
|
|
|
2007-12-13 19:15:24 +00:00
|
|
|
Ogg is the native bitstream format of the libvorbis (Ogg Vorbis audio
|
|
|
|
codec ) and the libtheora (Theora video codec)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Monty <monty@xiph.org>
|
|
|
|
Xiphophorus Company <team@xiph.org>
|
|
|
|
|
|
|
|
%package -n libogg0
|
2008-04-10 12:31:36 +00:00
|
|
|
License: BSD 3-Clause
|
2007-12-13 19:15:24 +00:00
|
|
|
Summary: Ogg Bitstream Library
|
|
|
|
Group: System/Libraries
|
2009-01-08 17:42:32 +00:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libogg-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-12-13 19:15:24 +00:00
|
|
|
Provides: %{name} = %{version}
|
|
|
|
#openSUSE 10.2
|
|
|
|
Obsoletes: %{name} <= 1.1.3
|
|
|
|
|
|
|
|
%description -n libogg0
|
|
|
|
Libogg is a library for manipulating ogg bitstreams. It handles both
|
|
|
|
making ogg bitstreams and getting packets from ogg bitstreams.
|
|
|
|
|
|
|
|
Ogg is the native bitstream format of the libvorbis (Ogg Vorbis audio
|
|
|
|
codec ) and the libtheora (Theora video codec)
|
|
|
|
|
2007-01-15 23:22:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Monty <monty@xiph.org>
|
|
|
|
Xiphophorus Company <team@xiph.org>
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 12:31:36 +00:00
|
|
|
License: BSD 3-Clause
|
2007-12-13 19:15:24 +00:00
|
|
|
Summary: Include Files and Libraries mandatory for Ogg Development.
|
2007-04-16 22:37:50 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-12-13 19:15:24 +00:00
|
|
|
Requires: libogg0 = %{version} glibc-devel
|
2009-01-08 17:42:32 +00:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libogg-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-15 23:22:37 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
2007-12-13 19:15:24 +00:00
|
|
|
to compile and develop applications that use libogg.
|
2007-01-15 23:22:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Monty <monty@xiph.org>
|
|
|
|
Xiphophorus Company <team@xiph.org>
|
|
|
|
|
|
|
|
%prep
|
2007-12-13 19:15:24 +00:00
|
|
|
%setup -q
|
2007-01-15 23:22:37 +00:00
|
|
|
%patch
|
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
if [ "%_lib" == "lib64" ]; then
|
|
|
|
%patch1
|
|
|
|
fi
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf --force --install
|
2007-12-13 19:15:24 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -g"
|
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-15 23:22:37 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name}-devel install
|
2007-04-16 22:37:50 +00:00
|
|
|
cp AUTHORS CHANGES COPYING README $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
|
|
|
|
# remove uneeded files
|
2007-12-13 19:15:24 +00:00
|
|
|
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} check
|
2007-01-15 23:22:37 +00:00
|
|
|
|
2007-12-13 19:15:24 +00:00
|
|
|
%post -n libogg0 -p /sbin/ldconfig
|
2007-01-15 23:22:37 +00:00
|
|
|
|
2007-12-13 19:15:24 +00:00
|
|
|
%postun -n libogg0 -p /sbin/ldconfig
|
2007-01-15 23:22:37 +00:00
|
|
|
|
|
|
|
%clean
|
2007-12-13 19:15:24 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-15 23:22:37 +00:00
|
|
|
|
2007-12-13 19:15:24 +00:00
|
|
|
%files -n libogg0
|
2007-01-15 23:22:37 +00:00
|
|
|
%defattr(-,root,root)
|
2007-12-13 19:15:24 +00:00
|
|
|
%{_libdir}/lib*.so.0*
|
2007-01-15 23:22:37 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}-devel
|
|
|
|
%{_includedir}/ogg
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2007-04-16 22:37:50 +00:00
|
|
|
%changelog
|
2009-01-08 17:42:32 +00:00
|
|
|
* Wed Jan 07 2009 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2008-05-16 20:16:39 +00:00
|
|
|
* Sun May 11 2008 coolo@suse.de
|
|
|
|
- fix rename of xxbit packages
|
2008-04-10 12:31:36 +00:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
2009-01-08 17:42:32 +00:00
|
|
|
* Sat Aug 11 2007 crrodriguez@suse.de
|
2007-12-13 19:15:24 +00:00
|
|
|
- really follow the library packaging policy
|
|
|
|
- run make check
|
|
|
|
- add missing glibc-devel dependency on -devel package
|
2008-04-10 12:31:36 +00:00
|
|
|
* Mon Apr 16 2007 tiwai@suse.de
|
2007-04-16 22:37:50 +00:00
|
|
|
- follow library packaging policy
|
|
|
|
* move docs to devel package
|
|
|
|
* remove static library
|
|
|
|
- remove obsoleted m4 files
|
2008-04-10 12:31:36 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 12:31:36 +00:00
|
|
|
* Wed Jan 11 2006 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- compile with -fstack-protector.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Fri Dec 02 2005 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- updated to version 1.1.3.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Sun Sep 04 2005 aj@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- Revert last patch, wrong package.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Sat Sep 03 2005 aj@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- compile with -fno-strict-aliasing (#115135).
|
2008-04-10 12:31:36 +00:00
|
|
|
* Thu Jul 07 2005 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- remove -fsigned-char option (#93878).
|
|
|
|
- fix misc compile warnings.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Wed Nov 24 2004 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- updated to version 1.1.2.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Sat Aug 21 2004 schwab@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- Fix 64bit bugs.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Wed Jan 21 2004 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- fixed quoting in m4 files.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Fri Jan 09 2004 adrian@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- add %%run_ldconfig to %%postun
|
2008-04-10 12:31:36 +00:00
|
|
|
* Fri Jan 09 2004 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- updated to version 1.1.
|
|
|
|
- added pkgconfig to neededforbuild.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Thu Jan 09 2003 kukuk@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- Add *.la files to -devel filelist
|
2008-04-10 12:31:36 +00:00
|
|
|
* Thu Sep 19 2002 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- fixed the conflict between the last ogg.m4 fix and 64bit
|
|
|
|
fix patches.
|
|
|
|
- moved devel documents under %%{_docdir}/libogg-devel.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Tue Sep 17 2002 pthomas@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- ogg.m4:
|
2007-04-16 22:37:50 +00:00
|
|
|
- If prefix is /usr, don't add -I$prefix/include to OGG_CFLAGS
|
2007-01-15 23:22:37 +00:00
|
|
|
and don't add -L$prefix/lib to OGG_LIBS. While the latter is
|
|
|
|
just unnecessary, the former can be dangerous and will make
|
|
|
|
gcc warn.
|
2007-04-16 22:37:50 +00:00
|
|
|
- Fix test for prefix.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Mon Aug 12 2002 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- added Requires %%{name} = %%{version} to devel package.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Tue Jul 23 2002 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- provides the backward compatible m4 file.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Mon Jul 22 2002 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- updated to version 1.0.
|
|
|
|
- clean up the spec file.
|
|
|
|
- added %%run_ldconfig.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Mon Jun 10 2002 adrian@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- fix ogg.m4 for lib64 systems
|
2008-04-10 12:31:36 +00:00
|
|
|
* Thu Apr 18 2002 kukuk@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- Add --libdir to configure to compile on x86_64
|
2008-04-10 12:31:36 +00:00
|
|
|
* Thu Feb 07 2002 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- fixed compile on s390x.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Fri Jan 04 2002 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- updated to RC3.
|
|
|
|
sync with cvs 2002.01.04.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Tue Dec 04 2001 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- sync with cvs 2001.12.04.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Wed Oct 24 2001 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- sync with cvs 20011024.
|
|
|
|
+ fixed documents
|
|
|
|
- removed Requires to libogg from devel.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Mon Aug 13 2001 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- updated to 1.0rc2 from cvs 20010813.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Thu Jun 07 2001 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- fixed build with the recent libtool.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Mon Mar 12 2001 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- corrected copyright in spec file.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Mon Feb 26 2001 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- Updated to 1.0beta4.
|
2008-04-10 12:31:36 +00:00
|
|
|
* Wed Jan 31 2001 tiwai@suse.de
|
2007-01-15 23:22:37 +00:00
|
|
|
- Initial version: 1.0beta3.
|