]> git.pld-linux.org Git - packages/disc-recovery-utils.git/blobdiff - disc-recovery-utils.spec
- massive attack: adding Source-md5
[packages/disc-recovery-utils.git] / disc-recovery-utils.spec
index dd201e573d579fc608c1e378d82c52c9961002d5..1c2a5adbc58d282f9a280563be4a2d12ae558173 100644 (file)
@@ -1,42 +1,44 @@
 Summary:       Disc recovery tools for EXT2FS
+Summary(pl):   Narzêdzia ratunkowe do ext2fs
 Name:          disc-recovery-utils
 Version:       1.1
 Release:       1
-Source0:       ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/%{name}-%{version}.tgz
 License:       GPL
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
+Source0:       ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/%{name}-%{version}.tgz
+# Source0-md5: be974ef7989776755764da70e63354fe
 BuildRequires: e2fsprogs-devel >= 1.07
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix /
-%define                _sbindir %{_prefix}/sbin
+%define                _sbindir        /sbin
 
 %description
 A few disc recovery tools (copy_blocks and copy_listed_blocks) and an
 inode recovery tool for the EXT2 filesystem (e2fsfind).
 
+%description -l pl
+Kilka narzêdzi ratunkowych (copy_blocks i copy_listed_blocks) oraz
+narzêdzie do odzyskiwania inodów z systemu plików ext2 (e2fsfind).
+
 %prep
 %setup -q -n %{name}
 
 %build
-sed 's/cc/$(CC) $(CFLAGS) $(LDFLAGS)/'<Makefile>GNUmakefile
-%{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g}" \
-       E2FSROOT=$RPM_BUILD_ROOT LDFLAGS="%{?debug:-s}"
+sed 's/cc/$(CC) $(CFLAGS) $(LDFLAGS)/'< Makefile >GNUmakefile
+%{__make} CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" E2FSROOT=$RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
-cp copy_blocks copy_listed_blocks e2fsfind $RPM_BUILD_ROOT%{_sbindir}
-cp *.8 $RPM_BUILD_ROOT%{_mandir}/man8
-gzip -9nf README
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
 
-%files
-%defattr(644,root,root,755)
-%attr(755,root,root) /sbin/*
-%{_mandir}/*/*
-%doc README*
+install copy_blocks copy_listed_blocks e2fsfind $RPM_BUILD_ROOT%{_sbindir}
+install *.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
 %clean
 rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/*/*
This page took 0.073644 seconds and 4 git commands to generate.