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
+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/
%prep
%setup -q
-#%patch0 -p1
+%patch0 -p1
%{?_without_xmms:%patch1 -p1}
%build
%{__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
%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