From 972874c20e0e160ddab5f1e7846e1ed2823bc2867ba788771d856706018a5d67 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 7 Jun 2007 11:13:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flac?expand=0&rev=3 --- flac-xmms.spec | 2 +- flac.changes | 6 ++++++ flac.spec | 44 ++++++++++++++++++++++++++++++++++++-------- 3 files changed, 43 insertions(+), 9 deletions(-) diff --git a/flac-xmms.spec b/flac-xmms.spec index 6d0a4ac..0c8ccee 100644 --- a/flac-xmms.spec +++ b/flac-xmms.spec @@ -14,7 +14,7 @@ Name: flac-xmms BuildRequires: flac-devel gcc-c++ glitz-devel gtk2-devel id3lib-devel update-desktop-files xmms-devel Summary: XMMS Input Plug-In for the FLAC Audio Format Version: 1.1.4 -Release: 1 +Release: 23 License: GNU General Public License (GPL) Group: Productivity/Multimedia/Sound/Players Requires: libflac xmms diff --git a/flac.changes b/flac.changes index a011d88..d0538e4 100644 --- a/flac.changes +++ b/flac.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 5 16:40:03 CEST 2007 - tiwai@suse.de + +- split to packages libFLAC8 and libFLAC++6 to follow more the + library packaging policy. + ------------------------------------------------------------------- Tue Apr 10 19:09:37 CEST 2007 - tiwai@suse.de diff --git a/flac.spec b/flac.spec index bb273b7..f176771 100644 --- a/flac.spec +++ b/flac.spec @@ -14,7 +14,7 @@ Name: flac BuildRequires: gcc-c++ libogg-devel pkg-config Summary: Free Lossless Audio Codec Version: 1.1.4 -Release: 1 +Release: 13 License: GNU General Public License (GPL) Group: Productivity/Multimedia/Sound/Utilities Source: %{name}-%{version}.tar.bz2 @@ -32,17 +32,32 @@ Authors: -------- Josh Coalson -%package -n libflac +%package -n libFLAC8 Summary: Free Lossless Audio Codec Library License: BSD License and BSD-like Group: System/Libraries -%description -n libflac +%description -n libFLAC8 This package contains the library for FLAC (Free Lossless Audio Codec) developed by Josh Coalson. +Authors: +-------- + Josh Coalson + +%package -n libFLAC++6 +Summary: Free Lossless Audio Codec Library +License: BSD License and BSD-like +Group: System/Libraries + +%description -n libFLAC++6 +This package contains the C++ library for FLAC (Free Lossless Audio +Codec) developed by Josh Coalson. + + + Authors: -------- Josh Coalson @@ -51,7 +66,7 @@ Authors: Summary: FLAC Library Development Package License: BSD License and BSD-like Group: Development/Libraries/C and C++ -Requires: libflac = %{version}, glibc-devel, libstdc++-devel, libogg-devel +Requires: libFLAC8 = %{version}, libFLAC++6 = %{version}, glibc-devel, libstdc++-devel, libogg-devel %description devel This package contains the files needed to compile programs that use the @@ -90,10 +105,16 @@ mkdir -p $RPM_BUILD_ROOT%{_docdir} mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_docdir}/%{name} cp -a AUTHORS README COPYING.* $RPM_BUILD_ROOT%{_docdir}/%{name} -%post -n libflac +%post -n libFLAC8 %run_ldconfig -%postun -n libflac +%postun -n libFLAC8 +%run_ldconfig + +%post -n libFLAC++6 +%run_ldconfig + +%postun -n libFLAC++6 %run_ldconfig %clean @@ -105,9 +126,13 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %{_mandir}/man*/* -%files -n libflac +%files -n libFLAC8 %defattr(-, root, root) -%{_libdir}/lib*.so.* +%{_libdir}/libFLAC.so.* + +%files -n libFLAC++6 +%defattr(-, root, root) +%{_libdir}/libFLAC++.so.* %files devel %defattr(-, root, root) @@ -118,6 +143,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/aclocal/*.m4 %changelog +* Tue Jun 05 2007 - tiwai@suse.de +- split to packages libFLAC8 and libFLAC++6 to follow more the + library packaging policy. * Tue Apr 10 2007 - tiwai@suse.de - fix post and postun for libflac. - fix compile warnings