2007-01-16 00:23:30 +01:00
|
|
|
#
|
|
|
|
# spec file for package libvorbis (Version 1.1.2)
|
|
|
|
#
|
2007-04-17 00:38:46 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:23:30 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2007-04-17 00:38:46 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:23:30 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2007-04-17 00:38:46 +02:00
|
|
|
Name: libvorbis
|
|
|
|
BuildRequires: libogg-devel pkgconfig
|
|
|
|
Summary: The Vorbis General Audio Compression Codec
|
|
|
|
Version: 1.1.2
|
|
|
|
Release: 43
|
|
|
|
Group: System/Libraries
|
|
|
|
License: BSD License and BSD-like
|
|
|
|
URL: http://www.vorbis.com/
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch1: libvorbis-lib64.dif
|
|
|
|
Patch2: libvorbis-m4.dif
|
2007-01-16 00:23:30 +01:00
|
|
|
# Patch5: libvorbis-%{version}-aotuv-b4.diff
|
2007-04-17 00:38:46 +02:00
|
|
|
Patch6: libvorbis-%{version}-warning-fixes.diff
|
|
|
|
Patch7: libvorbis-cflags.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:23:30 +01:00
|
|
|
|
|
|
|
%description
|
2007-04-17 00:38:46 +02:00
|
|
|
Ogg Vorbis is a fully open, nonproprietary, patent-and-royalty-free,
|
2007-01-16 00:23:30 +01:00
|
|
|
and general-purpose compressed audio format for audio and music at
|
2007-04-17 00:38:46 +02:00
|
|
|
fixed and variable bit rates from 16 to 128 kbps/channel.
|
2007-01-16 00:23:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Monty <monty@xiph.org>
|
|
|
|
Xiphophorus Company <team@xiph.org>
|
|
|
|
|
|
|
|
%package devel
|
2007-04-17 00:38:46 +02:00
|
|
|
Summary: Include Files and Libraries mandatory for Development.
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: glibc-devel, libogg-devel
|
|
|
|
Requires: %{name} = %{version}
|
2007-01-16 00:23:30 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Monty <monty@xiph.org>
|
|
|
|
Xiphophorus Company <team@xiph.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch2
|
|
|
|
# %patch5 -p1
|
|
|
|
%patch6
|
|
|
|
%patch7
|
|
|
|
if [ "%_lib" == "lib64" ]; then
|
|
|
|
%patch1
|
|
|
|
fi
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
autoreconf --force --install
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" \
|
2007-04-17 00:38:46 +02:00
|
|
|
./configure --prefix=%{_prefix} --libdir=%{_libdir} \
|
|
|
|
--with-ogg-libraries=%{_libdir} \
|
|
|
|
--disable-static
|
2007-01-16 00:23:30 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name}-devel install
|
2007-04-17 00:38:46 +02:00
|
|
|
cp COPYING AUTHORS README $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
|
|
|
|
# remove unneeded files
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2007-01-16 00:23:30 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}-devel
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_includedir}/vorbis
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2007-04-17 00:38:46 +02:00
|
|
|
%changelog
|
|
|
|
* Mon Apr 16 2007 - tiwai@suse.de
|
|
|
|
- follow library packaging policy
|
|
|
|
* move docs to devel package
|
|
|
|
* remove static library
|
|
|
|
- remove obsolete m4 files
|
2007-01-16 00:23:30 +01:00
|
|
|
* 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.2.
|
|
|
|
* Tue Oct 18 2005 - tiwai@suse.de
|
|
|
|
- updated to version 1.1.1.
|
|
|
|
* Sun Sep 04 2005 - aj@suse.de
|
|
|
|
- Build with -fno-strict-aliasing (#115135).
|
|
|
|
* Thu Jul 07 2005 - tiwai@suse.de
|
|
|
|
- remove -fsigned-char (#93878).
|
|
|
|
- fixed Requires of devel subpackage.
|
|
|
|
* Mon Jun 20 2005 - tiwai@suse.de
|
|
|
|
- updated to aoTuV beta4.
|
|
|
|
* Wed Jan 19 2005 - tiwai@suse.de
|
|
|
|
- fixed compile warnings with gcc-4.0.
|
|
|
|
* Wed Nov 24 2004 - tiwai@suse.de
|
|
|
|
- updated to libvorbis version 1.1.0.
|
|
|
|
- updated to aoTuV beta3.
|
|
|
|
* Thu Aug 05 2004 - tiwai@suse.de
|
|
|
|
- applied aoTuV patch to improve the encoding quality.
|
|
|
|
* Fri Apr 16 2004 - tiwai@suse.de
|
|
|
|
- fixed the type-punning.
|
|
|
|
- disabled the removal of $RPM_BUILD_ROOT in %%install.
|
|
|
|
* 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.0.1.
|
|
|
|
removed obsolete patches.
|
|
|
|
- added pkgconfig to neededforbuild.
|
|
|
|
* Sat Mar 01 2003 - adrian@suse.de
|
|
|
|
- let libvorbis-devel require libogg-devel
|
|
|
|
* Fri Jan 17 2003 - tiwai@suse.de
|
|
|
|
- fixed m4 macro (bug #21267).
|
|
|
|
* Thu Jan 09 2003 - kukuk@suse.de
|
|
|
|
- Add *.la files to -devel filelist
|
|
|
|
* Wed Dec 04 2002 - tiwai@suse.de
|
|
|
|
- fixed the undefined weak links.
|
|
|
|
- renamed m4.dif and lib64.dif with libvorbis- prefix to avoid
|
|
|
|
filename conflictions.
|
|
|
|
* Thu Sep 19 2002 - tiwai@suse.de
|
|
|
|
- don't add -I/usr/include to VORBIS_VFLAGS.
|
|
|
|
- fix test for prefix.
|
|
|
|
- move devel documents under %%{_docdir}/libvorbis-devel.
|
|
|
|
* Mon Aug 12 2002 - tiwai@suse.de
|
|
|
|
- added Requires %%{name} = %%{version} to devel package.
|
|
|
|
* Tue Jul 23 2002 - tiwai@suse.de
|
|
|
|
- fixed m4 file for lib64.
|
|
|
|
- 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.
|
|
|
|
* Wed Jun 12 2002 - meissner@suse.de
|
|
|
|
- rm acinclude.m4 so we don't have the problematic ogg.m4 (which contains
|
|
|
|
/lib hardcoded).
|
|
|
|
* Thu Apr 18 2002 - kukuk@suse.de
|
|
|
|
- Remove additional optimization, default is better
|
|
|
|
- Add --libdir to configure to build on x86_64
|
|
|
|
* Thu Feb 07 2002 - tiwai@suse.de
|
|
|
|
- fixed build 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/updated documents
|
|
|
|
+ tuned up parameters
|
|
|
|
+ bugfixes on 64bit arch.
|
|
|
|
- removed Requires to libogg.
|
|
|
|
* Sat Oct 20 2001 - schwab@suse.de
|
|
|
|
- Fix use of qsort.
|
|
|
|
* 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.
|
|
|
|
* Tue Apr 03 2001 - bk@suse.de
|
|
|
|
- make use of RPM_OPT_FLAGS
|
|
|
|
- include the include/vorbis dir into the file list(+rpm-macroized)
|
|
|
|
* 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.
|