This commit is contained in:
parent
c102f595cc
commit
972874c20e
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
44
flac.spec
44
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user