SPECS: flac.spec - updated to 1.2.0 - separated c++-* packages (FL...

qboosh qboosh at pld-linux.org
Tue Aug 7 19:03:48 CEST 2007


Author: qboosh                       Date: Tue Aug  7 17:03:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.2.0
- separated c++-* packages (FLAC++ - C++ API for FLAC)

---- Files affected:
SPECS:
   flac.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: SPECS/flac.spec
diff -u SPECS/flac.spec:1.50 SPECS/flac.spec:1.51
--- SPECS/flac.spec:1.50	Mon Feb 19 20:42:08 2007
+++ SPECS/flac.spec	Tue Aug  7 19:03:42 2007
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: separate c++
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static library
@@ -8,12 +7,12 @@
 Summary:	Free Lossless Audio Codec
 Summary(pl.UTF-8):	Free Lossless Audio Codec - Wolnodostępny bezstratny kodek audio
 Name:		flac
-Version:	1.1.4
+Version:	1.2.0
 Release:	1
 License:	BSD (libFLAC/libFLAC++), GPL (programs and plugins)
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/flac/%{name}-%{version}.tar.gz
-# Source0-md5:	3958cbd5b6ed8c14966792538e44223b
+# Source0-md5:	ea176bfb291707b46a537b091c226ae7
 Patch0:		%{name}-without_xmms.patch
 URL:		http://flac.sourceforge.net/
 BuildRequires:	autoconf
@@ -63,6 +62,43 @@
 %description static -l pl.UTF-8
 Ten pakiet zawiera biblioteki statyczne FLAC.
 
+%package c++
+Summary:	FLAC++ - C++ API for FLAC codec
+Summary(pl.UTF-8):	FLAC++ - API C++ do kodeka FLAC
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description c++
+FLAC++ - C++ API for FLAC codec.
+
+%description c++ -l pl.UTF-8
+FLAC++ - API C++ do kodeka FLAC.
+
+%package c++-devel
+Summary:	Header files for FLAC++ library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki FLAC++
+Group:		Development/Libraries
+Requires:	%{name}-c++ = %{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description c++-devel
+Header files for FLAC++ library.
+
+%description c++-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki FLAC++.
+
+%package c++-static
+Summary:	Static FLAC++ library
+Summary(pl.UTF-8):	Statyczna biblioteka FLAC++
+Group:		Development/Libraries
+Requires:	%{name}-c++-devel = %{version}-%{release}
+
+%description c++-static
+Static FLAC++ library.
+
+%description c++-static -l pl.UTF-8
+Statyczna biblioteka FLAC++.
+
 %package -n xmms-input-flac
 Summary:	Free Lossless Audio Codec - XMMS plugin
 Summary(pl.UTF-8):	Wtyczka FLAC dla XMMS
@@ -108,6 +144,9 @@
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+%post   c++ -p /sbin/ldconfig
+%postun c++ -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING.Xiph README doc/html/{*.html,images}
@@ -115,27 +154,38 @@
 %attr(755,root,root) %{_bindir}/flac
 %attr(755,root,root) %{_bindir}/metaflac
 %attr(755,root,root) %{_libdir}/libFLAC.so.*.*.*
-%attr(755,root,root) %{_libdir}/libFLAC++.so.*.*.*
 %{_mandir}/man1/flac.1*
 %{_mandir}/man1/metaflac.1*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libFLAC.so
-%attr(755,root,root) %{_libdir}/libFLAC++.so
 %{_libdir}/libFLAC.la
-%{_libdir}/libFLAC++.la
 %{_includedir}/FLAC
-%{_includedir}/FLAC++
 %{_pkgconfigdir}/flac.pc
-%{_pkgconfigdir}/flac++.pc
 %{_aclocaldir}/libFLAC.m4
-%{_aclocaldir}/libFLAC++.m4
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libFLAC.a
+%endif
+
+%files c++
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libFLAC++.so.*.*.*
+
+%files c++-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libFLAC++.so
+%{_libdir}/libFLAC++.la
+%{_includedir}/FLAC++
+%{_pkgconfigdir}/flac++.pc
+%{_aclocaldir}/libFLAC++.m4
+
+%if %{with static_libs}
+%files c++-static
+%defattr(644,root,root,755)
 %{_libdir}/libFLAC++.a
 %endif
 
@@ -151,6 +201,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2007/08/07 17:03:42  qboosh
+- updated to 1.2.0
+- separated c++-* packages (FLAC++ - C++ API for FLAC)
+
 Revision 1.50  2007/02/19 19:42:08  qboosh
 - updated to 1.1.4
 - removed obsolete link patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/flac.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list