X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=dd_rescue.spec;h=ab71e1d39c7d5ed4dae026e4fa2e9996b1df6ebd;hb=HEAD;hp=632afdb4f3fd97e3e27928b4a973364249f51d6e;hpb=85826d6c752932a35cad936009a2b57155887d3d;p=packages%2Fdd_rescue.git diff --git a/dd_rescue.spec b/dd_rescue.spec index 632afdb..ab71e1d 100644 --- a/dd_rescue.spec +++ b/dd_rescue.spec @@ -1,13 +1,17 @@ Summary: Data copying in presence of I/O errors -Summary(pl): Kopiowanie danych z b³êdami we/wy +Summary(pl.UTF-8): Kopiowanie danych z błędami we/wy Name: dd_rescue -Version: 1.12 +Version: 1.99.13 Release: 1 -License: GPL +License: GPL v2 or v3 Group: Applications/System -Source0: http://www.garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.gz -# Source0-md5: 80eefb5685f8cfc84f87348e5102e6fb +Source0: http://www.garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.bz2 +# Source0-md5: 5b2d31e8e13b17ca99f5453de705f9b9 URL: http://www.garloff.de/kurt/linux/ddrescue/ +BuildRequires: autoconf >= 2.50 +BuildRequires: lzo-devel >= 2.07 +BuildRequires: openssl-devel +Requires: lzo >= 2.07 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -15,28 +19,49 @@ dd_rescue helps, when nobody else will: Your disk has crashed and you try to copy it over to another one. Standard Un*x tools like cp, cat, dd will abort on every I/O error. dd_rescue won't. -%description -l pl -dd_rescue pomaga tam, gdzie nic innego nie pomo¿e: kiedy dysk padnie i -próbujemy go skopiowaæ na inny. Standardowe narzêdzia uniksowe takie -jak cp, cat, dd koñcz± dzia³anie na ka¿dym b³êdzie we/wy. dd_rescue +%description -l pl.UTF-8 +dd_rescue pomaga tam, gdzie nic innego nie pomoże: kiedy dysk padnie i +próbujemy go skopiować na inny. Standardowe narzędzia uniksowe takie +jak cp, cat, dd kończą działanie na każdym błędzie we/wy. dd_rescue tego nie robi. %prep -%setup -q -n %{name} +%setup -q %build +%{__autoconf} +%{__autoheader} +%configure %{__make} \ CC="%{__cc}" \ - CFLAGS="%{rpmcflags} %{rpmldflags}" + RPM_OPT_FLAGS="%{rpmcflags}" \ + EXTRA_LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT -install -D dd_rescue $RPM_BUILD_ROOT%{_bindir}/dd_rescue + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} \ + LIB=%{_lib} \ + INSTALLFLAGS= \ + INSTASROOT= %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files %defattr(644,root,root,755) %doc README.dd_rescue -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/dd_rescue +%attr(755,root,root) %{_libdir}/libddr_MD5.so +%attr(755,root,root) %{_libdir}/libddr_crypt.so +%attr(755,root,root) %{_libdir}/libddr_hash.so +%attr(755,root,root) %{_libdir}/libddr_null.so +%attr(755,root,root) %{_libdir}/libddr_lzo.so +%{_mandir}/man1/dd_rescue.1* +%{_mandir}/man1/ddr_crypt.1* +%{_mandir}/man1/ddr_lzo.1*