X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbcwipe.git;a=blobdiff_plain;f=bcwipe.spec;h=accc8cb95ac43ea6109ada25ce23928693cf20a5;hp=38922a022e33b9d1f9124a0b8d8b481054a666ce;hb=e7659a8a77ab41a7075a8e5533a7a75ae2a4261f;hpb=39b968376adacbdddc57c6fb384f301948eb1e30;ds=sidebyside diff --git a/bcwipe.spec b/bcwipe.spec index 38922a0..accc8cb 100644 --- a/bcwipe.spec +++ b/bcwipe.spec @@ -1,13 +1,13 @@ -Summary: Securely erase data from magnetic and solid-state memory +Summary: Securely erase data from magnetic and solid-state memory Summary(pl): Bezpieczne usuwanie danych z pamiêci magnetycznych -Name: BCWipe -Version: 1.5 -Release: 0.1 +Name: BCWipe +Version: 1.5 +Release: 0.1 License: See LICENSE -Group: Utilities/System -Source: http://www.jetico.com/linux/BCWipe-%{version}-3.tar.gz -URL: http://www.jetico.com/ -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Group: Applications/System +Source0: http://www.jetico.com/linux/%{name}-%{version}-3.tar.gz +URL: http://www.jetico.com/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Securely erase data from magnetic and solid-state memory. @@ -16,21 +16,22 @@ Securely erase data from magnetic and solid-state memory. Bezpieczne usuwanie danych z pamiêci magnetycznych. %prep -%setup -n bcwipe +%setup -q -n bcwipe %build -make +%{__make} %install - install -d -m 755 $RPM_BUILD_ROOT/usr/bin - install -d -m 755 $RPM_BUILD_ROOT/usr/man/man1 - install -d -m 755 $RPM_BUILD_ROOT/usr/share/man/man1 +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 %__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 @@ -39,5 +40,6 @@ find $RPM_BUILD_ROOT -type b | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) # rm -rf $RPM_BUILD_ROOT %files -f rpm-files +%defattr(644,root,root,755) %doc LICENSE