]> git.pld-linux.org Git - packages/ddrescue.git/blobdiff - ddrescue.spec
- updated to 1.24
[packages/ddrescue.git] / ddrescue.spec
index 0a5ab486a58dcbae74fe6f46f96131c996ce14e9..42e4af8aa29b4f5849c8aaab361591298d1c9b75 100644 (file)
@@ -1,17 +1,20 @@
 Summary:       Data copying in presence of I/O errors
-Summary(pl.UTF-8):   Kopiowanie danych z błędami wejścia/wyjścia
+Summary(pl.UTF-8):     Kopiowanie danych z błędami wejścia/wyjścia
 Name:          ddrescue
-Version:       1.3
-Release:       2
-License:       GPL v2
+Version:       1.24
+Release:       1
+License:       GPL v3+
 Group:         Applications/System
-Source0:       http://savannah.nongnu.org/download/ddrescue/%{name}-%{version}.tar.bz2
-# Source0-md5: 36383fb7fa5c8c026ab9feaa262dfb1f
+Source0:       http://download.savannah.gnu.org/releases/ddrescue/%{name}-%{version}.tar.lz
+# Source0-md5: 8ac89f833c0df221723e33b447e230fe
 Patch0:                %{name}-info.patch
-Patch1:                http://guru.multimedia.cx/wp-content/uploads/2006/08/ddrescue-patch.txt
 URL:           http://www.nongnu.org/ddrescue/ddrescue.html
+BuildRequires: help2man
 BuildRequires: libstdc++-devel
+BuildRequires: lzip
 BuildRequires: rpmbuild(macros) >= 1.167
+BuildRequires: tar >= 1:1.22
+BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -53,7 +56,6 @@ będą odzyskiwane bardzo wydajnie.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 ./configure \
@@ -68,21 +70,25 @@ będą odzyskiwane bardzo wydajnie.
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install install-man \
+%{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir
+
 %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*
This page took 0.213483 seconds and 4 git commands to generate.