# # spec file for package libogg (Version 1.1.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # 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: libogg BuildRequires: pkgconfig Summary: Ogg Bitstream Library Version: 1.1.3 Release: 85 Group: System/Libraries License: BSD 3-Clause Url: http://www.vorbis.com/ 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 %description 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) Authors: -------- Monty Xiphophorus Company %package -n libogg0 License: BSD 3-Clause Summary: Ogg Bitstream Library Group: System/Libraries 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) Authors: -------- Monty Xiphophorus Company %package devel License: BSD 3-Clause Summary: Include Files and Libraries mandatory for Ogg Development. Group: Development/Libraries/C and C++ Requires: libogg0 = %{version} glibc-devel %description devel This package contains all necessary include files and libraries needed to compile and develop applications that use libogg. Authors: -------- Monty Xiphophorus Company %prep %setup -q %patch %patch2 %patch3 if [ "%_lib" == "lib64" ]; then %patch1 fi %build autoreconf --force --install export CFLAGS="$RPM_OPT_FLAGS -g" %configure --disable-static --with-pic %{__make} %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name}-devel install cp AUTHORS CHANGES COPYING README $RPM_BUILD_ROOT%{_docdir}/%{name}-devel # remove uneeded files %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la %check %{__make} check %post -n libogg0 -p /sbin/ldconfig %postun -n libogg0 -p /sbin/ldconfig %clean %{__rm} -rf $RPM_BUILD_ROOT %files -n libogg0 %defattr(-,root,root) %{_libdir}/lib*.so.0* %files devel %defattr(-,root,root) %doc %{_docdir}/%{name}-devel %{_includedir}/ogg %{_libdir}/lib*.so %{_datadir}/aclocal/*.m4 %{_libdir}/pkgconfig/*.pc %changelog * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Sun Aug 12 2007 crrodriguez@suse.de - really follow the library packaging policy - run make check - add missing glibc-devel dependency on -devel package * Mon Apr 16 2007 tiwai@suse.de - follow library packaging policy * move docs to devel package * remove static library - remove obsoleted m4 files * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Jan 11 2006 tiwai@suse.de - compile with -fstack-protector. * Fri Dec 02 2005 tiwai@suse.de - updated to version 1.1.3. * Sun Sep 04 2005 aj@suse.de - Revert last patch, wrong package. * Sat Sep 03 2005 aj@suse.de - compile with -fno-strict-aliasing (#115135). * Thu Jul 07 2005 tiwai@suse.de - remove -fsigned-char option (#93878). - fix misc compile warnings. * Wed Nov 24 2004 tiwai@suse.de - updated to version 1.1.2. * Sat Aug 21 2004 schwab@suse.de - Fix 64bit bugs. * Wed Jan 21 2004 tiwai@suse.de - fixed quoting in m4 files. * Fri Jan 09 2004 adrian@suse.de - add %%run_ldconfig to %%postun * Fri Jan 09 2004 tiwai@suse.de - updated to version 1.1. - added pkgconfig to neededforbuild. * Thu Jan 09 2003 kukuk@suse.de - Add *.la files to -devel filelist * Thu Sep 19 2002 tiwai@suse.de - fixed the conflict between the last ogg.m4 fix and 64bit fix patches. - moved devel documents under %%{_docdir}/libogg-devel. * Tue Sep 17 2002 pthomas@suse.de - ogg.m4: - If prefix is /usr, don't add -I$prefix/include to OGG_CFLAGS 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. - Fix test for prefix. * Mon Aug 12 2002 tiwai@suse.de - added Requires %%{name} = %%{version} to devel package. * Tue Jul 23 2002 tiwai@suse.de - provides the backward compatible m4 file. * Mon Jul 22 2002 tiwai@suse.de - updated to version 1.0. - clean up the spec file. - added %%run_ldconfig. * Mon Jun 10 2002 adrian@suse.de - fix ogg.m4 for lib64 systems * Thu Apr 18 2002 kukuk@suse.de - Add --libdir to configure to compile on x86_64 * Thu Feb 07 2002 tiwai@suse.de - fixed compile on s390x. * Fri Jan 04 2002 tiwai@suse.de - updated to RC3. sync with cvs 2002.01.04. * Tue Dec 04 2001 tiwai@suse.de - sync with cvs 2001.12.04. * Wed Oct 24 2001 tiwai@suse.de - sync with cvs 20011024. + fixed documents - removed Requires to libogg from devel. * Mon Aug 13 2001 tiwai@suse.de - updated to 1.0rc2 from cvs 20010813. * Thu Jun 07 2001 tiwai@suse.de - fixed build with the recent libtool. * Mon Mar 12 2001 tiwai@suse.de - corrected copyright in spec file. * Mon Feb 26 2001 tiwai@suse.de - Updated to 1.0beta4. * Wed Jan 31 2001 tiwai@suse.de - Initial version: 1.0beta3.