]> git.pld-linux.org Git - packages/flac.git/blobdiff - flac.spec
- std sf url
[packages/flac.git] / flac.spec
index 0dbcae1fef768647bbd4b8dd0619a115a2f5a4f3..b45e47fcca3867ca3a6ba1ae7af4e273abfc60a9 100644 (file)
--- a/flac.spec
+++ b/flac.spec
@@ -6,13 +6,13 @@ Summary:      Free Lossless Audio Codec
 Summary(pl):   Free Lossless Audio Codec - Darmowy Bezstratny Kodek Audio
 Name:          flac
 Version:       1.1.0
-Release:       1
+Release:       2
 License:       GPL/LGPL
 Group:         Libraries
-Source0:       http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-#Patch0:               %{name}-acfix.patch
-Patch1:                %{name}-lt.patch
-Patch2:                %{name}-without_xmms.patch
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 19b456a27b5fcf502c76cc33f33e1490
+Patch0:                %{name}-lt.patch
+Patch1:                %{name}-without_xmms.patch
 URL:           http://flac.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -73,9 +73,8 @@ Wtyczka dla XMMS umo
 
 %prep
 %setup -q
-#%%patch0 -p1
-%patch1 -p1
-%{?_without_xmms:%patch2 -p1}
+%patch0 -p1
+%{?_without_xmms:%patch1 -p1}
 
 %build
 rm -f missing
@@ -92,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# no makefiles in doc dirs
+rm -f doc/html/{Makefile*,images/Makefile*,ru/Makefile*}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -100,9 +102,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc/html/{*.html,images/{*.gif,*.jpg}}
+%doc AUTHORS README doc/html/{*.html,images}
+%lang(ru) %doc doc/html/ru
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.* 
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_mandir}/man1/*
 
 %files devel
This page took 0.083181 seconds and 4 git commands to generate.