X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ddrescue.spec;h=b5bfbb1db4e84b8fc3d8262dff1b74e9ab8390f8;hb=5c9d77ce3e31fa14bbdd9f3aab2da3fd982090c3;hp=36e0dc4e35830a41e0a1024c04ed4561844f683e;hpb=312de3fb19c26cb45965e555ae48baeaf45d4acd;p=packages%2Fddrescue.git diff --git a/ddrescue.spec b/ddrescue.spec index 36e0dc4..b5bfbb1 100644 --- a/ddrescue.spec +++ b/ddrescue.spec @@ -1,18 +1,18 @@ Summary: Data copying in presence of I/O errors Summary(pl.UTF-8): Kopiowanie danych z błędami wejścia/wyjścia Name: ddrescue -Version: 1.5 +Version: 1.17 Release: 1 License: GPL v3+ Group: Applications/System -Source0: http://savannah.nongnu.org/download/ddrescue/%{name}-%{version}.tar.bz2 -# Source0-md5: 91931e2b2163c8d7a5adc1959da3023f +Source0: http://download.savannah.gnu.org/releases/ddrescue/%{name}-%{version}.tar.lz +# Source0-md5: 564469370fe70cd9ac280b15e1addc50 Patch0: %{name}-info.patch -# updated from http://guru.multimedia.cx/wp-content/uploads/2006/08/ddrescue-patch.txt -Patch1: ddrescue-patch.txt URL: http://www.nongnu.org/ddrescue/ddrescue.html BuildRequires: libstdc++-devel +BuildRequires: lzip BuildRequires: rpmbuild(macros) >= 1.167 +BuildRequires: tar >= 1:1.22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -54,7 +54,6 @@ będą odzyskiwane bardzo wydajnie. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build ./configure \ @@ -75,15 +74,17 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%post -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%post -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} -%postun -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%postun -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/ddrescue -%{_infodir}/*.info* -%{_mandir}/man1/* +%attr(755,root,root) %{_bindir}/ddrescuelog +%{_infodir}/ddrescue.info* +%{_mandir}/man1/ddrescue.1* +%{_mandir}/man1/ddrescuelog.1*