]> git.pld-linux.org Git - packages/bcwipe.git/blobdiff - bcwipe.spec
- fixed Name, removed wrong paths and file lists generation
[packages/bcwipe.git] / bcwipe.spec
index 38922a022e33b9d1f9124a0b8d8b481054a666ce..ac9f06392fd830c5011b4a0835c89a6e89cb5716 100644 (file)
@@ -1,13 +1,15 @@
-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/BCWipe-%{version}-3.tar.gz
+# Source0-md5: 1b99a6d12c2b3259fdbd527f484f03c3
+URL:           http://www.jetico.com/
+Obsoletes:     BCWipe
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Securely erase data from magnetic and solid-state memory.
@@ -16,28 +18,21 @@ Securely erase data from magnetic and solid-state memory.
 Bezpieczne usuwanie danych z pamiêci magnetycznych.
 
 %prep
-%setup -n bcwipe
+%setup -q -n %{name}
 
 %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
-       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
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+%{__make} install \
+       root=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f rpm-files
-
+%files
+%defattr(644,root,root,755)
 %doc LICENSE
This page took 0.892568 seconds and 4 git commands to generate.