]> git.pld-linux.org Git - packages/flac.git/blobdiff - flac.spec
- rel 5; use system ogg.m4
[packages/flac.git] / flac.spec
index 779086d564eda37a294f72edb8faf9e6830077ac..06815913475eb81aba16bd78dac434e7a490c324 100644 (file)
--- a/flac.spec
+++ b/flac.spec
@@ -6,13 +6,15 @@
 Summary:       Free Lossless Audio Codec
 Summary(pl.UTF-8):     Free Lossless Audio Codec - Wolnodostępny bezstratny kodek audio
 Name:          flac
-Version:       1.2.0
-Release:       1
+Version:       1.2.1
+Release:       5
 License:       BSD (libFLAC/libFLAC++), GPL (programs and plugins)
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/flac/%{name}-%{version}.tar.gz
-# Source0-md5: ea176bfb291707b46a537b091c226ae7
+# Source0-md5: 153c8b15a54da428d1f0fadc756c22c7
 Patch0:                %{name}-without_xmms.patch
+Patch1:                %{name}-lt.patch
+Patch2:                %{name}-gcc44.patch
 URL:           http://flac.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake >= 1:1.7
@@ -115,10 +117,14 @@ Wtyczka dla XMMS umożliwiająca odtwarzanie plików w formacie FLAC.
 %prep
 %setup -q
 %{!?with_xmms:%patch0 -p1}
+%patch1 -p1
+%patch2 -p1
+
+rm m4/ogg.m4
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -134,7 +140,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 # no makefiles in doc dirs
-rm -f doc/html/{Makefile*,images/Makefile*,ru/Makefile*}
+rm -f doc/html/{Makefile*,images/Makefile*,images/hw/Makefile*,ru/Makefile*}
 rm -f $RPM_BUILD_ROOT%{xmms_input_plugindir}/*.la
 
 %clean
@@ -153,6 +159,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/flac
 %attr(755,root,root) %{_bindir}/metaflac
 %attr(755,root,root) %{_libdir}/libFLAC.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libFLAC.so.8
 %{_mandir}/man1/flac.1*
 %{_mandir}/man1/metaflac.1*
 
@@ -173,6 +180,7 @@ rm -rf $RPM_BUILD_ROOT
 %files c++
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libFLAC++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libFLAC++.so.6
 
 %files c++-devel
 %defattr(644,root,root,755)
This page took 0.03437 seconds and 4 git commands to generate.