This commit is contained in:
parent
ebbbecb1fe
commit
2e6b17e4fa
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 16 15:07:19 CEST 2007 - tiwai@suse.de
|
||||||
|
|
||||||
|
- follow library packaging policy
|
||||||
|
* move docs to devel package
|
||||||
|
* remove static library
|
||||||
|
- remove obsolete m4 files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 25 21:37:47 CET 2006 - mls@suse.de
|
Wed Jan 25 21:37:47 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
@ -1,35 +1,35 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libvorbis (Version 1.1.2)
|
# spec file for package libvorbis (Version 1.1.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: libvorbis
|
Name: libvorbis
|
||||||
BuildRequires: libogg-devel pkgconfig
|
BuildRequires: libogg-devel pkgconfig
|
||||||
Summary: The Vorbis General Audio Compression Codec
|
Summary: The Vorbis General Audio Compression Codec
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 2
|
Release: 43
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
License: BSD
|
License: BSD License and BSD-like
|
||||||
URL: http://www.vorbis.com/
|
URL: http://www.vorbis.com/
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch1: libvorbis-lib64.dif
|
Patch1: libvorbis-lib64.dif
|
||||||
Patch2: libvorbis-m4.dif
|
Patch2: libvorbis-m4.dif
|
||||||
# Patch5: libvorbis-%{version}-aotuv-b4.diff
|
# Patch5: libvorbis-%{version}-aotuv-b4.diff
|
||||||
Patch6: libvorbis-%{version}-warning-fixes.diff
|
Patch6: libvorbis-%{version}-warning-fixes.diff
|
||||||
Patch7: libvorbis-cflags.diff
|
Patch7: libvorbis-cflags.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
|
Ogg Vorbis is a fully open, nonproprietary, patent-and-royalty-free,
|
||||||
and general-purpose compressed audio format for audio and music at
|
and general-purpose compressed audio format for audio and music at
|
||||||
fixed and variable bitrates from 16 to 128 kbps/channel.
|
fixed and variable bit rates from 16 to 128 kbps/channel.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -39,10 +39,10 @@ Authors:
|
|||||||
Xiphophorus Company <team@xiph.org>
|
Xiphophorus Company <team@xiph.org>
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development.
|
Summary: Include Files and Libraries mandatory for Development.
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: glibc-devel, libogg-devel
|
Requires: glibc-devel, libogg-devel
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
@ -69,13 +69,16 @@ fi
|
|||||||
%{?suse_update_config:%{suse_update_config -f}}
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" \
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" \
|
||||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --with-ogg-libraries=%{_libdir}
|
./configure --prefix=%{_prefix} --libdir=%{_libdir} \
|
||||||
|
--with-ogg-libraries=%{_libdir} \
|
||||||
|
--disable-static
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name}-devel install
|
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name}-devel install
|
||||||
# create an old compatible m4 file
|
cp COPYING AUTHORS README $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
|
||||||
sed -e s/XIPH_PATH_VORBIS/AM_PATH_VORBIS/g < $RPM_BUILD_ROOT%{_datadir}/aclocal/vorbis.m4 > $RPM_BUILD_ROOT%{_datadir}/aclocal/vorbis-old.m4
|
# remove unneeded files
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%run_ldconfig
|
%run_ldconfig
|
||||||
@ -88,8 +91,6 @@ sed -e s/XIPH_PATH_VORBIS/AM_PATH_VORBIS/g < $RPM_BUILD_ROOT%{_datadir}/aclocal/
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING AUTHORS README
|
|
||||||
# %doc aoTuV*
|
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -97,12 +98,15 @@ sed -e s/XIPH_PATH_VORBIS/AM_PATH_VORBIS/g < $RPM_BUILD_ROOT%{_datadir}/aclocal/
|
|||||||
%doc %{_docdir}/%{name}-devel
|
%doc %{_docdir}/%{name}-devel
|
||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
%{_includedir}/vorbis
|
%{_includedir}/vorbis
|
||||||
%{_libdir}/lib*.a
|
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/lib*.la
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog -n libvorbis
|
%changelog
|
||||||
|
* Mon Apr 16 2007 - tiwai@suse.de
|
||||||
|
- follow library packaging policy
|
||||||
|
* move docs to devel package
|
||||||
|
* remove static library
|
||||||
|
- remove obsolete m4 files
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Wed Jan 11 2006 - tiwai@suse.de
|
* Wed Jan 11 2006 - tiwai@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user