X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbcwipe.git;a=blobdiff_plain;f=bcwipe.spec;h=ac9f06392fd830c5011b4a0835c89a6e89cb5716;hp=2dceb7fa66c933c130e2eb8f722818901293b796;hb=c1fdfbeab6eaf8db5196b75a9ebf7627592628b5;hpb=10e951afd210074b0bbfb9b7bb71a6796fefd1c2 diff --git a/bcwipe.spec b/bcwipe.spec index 2dceb7f..ac9f063 100644 --- a/bcwipe.spec +++ b/bcwipe.spec @@ -1,13 +1,14 @@ Summary: Securely erase data from magnetic and solid-state memory Summary(pl): Bezpieczne usuwanie danych z pamiêci magnetycznych -Name: BCWipe +Name: bcwipe Version: 1.5 Release: 0.1 License: See LICENSE Group: Applications/System -Source0: http://www.jetico.com/linux/%{name}-%{version}-3.tar.gz +Source0: http://www.jetico.com/linux/BCWipe-%{version}-3.tar.gz # Source0-md5: 1b99a6d12c2b3259fdbd527f484f03c3 URL: http://www.jetico.com/ +Obsoletes: BCWipe BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -17,30 +18,21 @@ Securely erase data from magnetic and solid-state memory. Bezpieczne usuwanie danych z pamiêci magnetycznych. %prep -%setup -q -n bcwipe +%setup -q -n %{name} %build %{__make} %install rm -rf $RPM_BUILD_ROOT - install -d -m 755 $RPM_BUILD_ROOT%{_bindir} -install -d $RPM_BUILD_ROOT%{_prefix}/man/man1 -install -d $RPM_BUILD_ROOT%{_mandir}/man1 - make install root=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} -%__os_install_post -# build directory and file lists -#find $RPM_BUILD_ROOT -type d | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) %dir #g" > rpm-files - -find $RPM_BUILD_ROOT -type f | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" > rpm-files -find $RPM_BUILD_ROOT -type l | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" >> rpm-files -find $RPM_BUILD_ROOT -type b | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" >> rpm-files +%{__make} install \ + root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%files -f rpm-files +%files %defattr(644,root,root,755) - %doc LICENSE