summaryrefslogtreecommitdiff
path: root/bcwipe.spec
diff options
context:
space:
mode:
Diffstat (limited to 'bcwipe.spec')
-rw-r--r--bcwipe.spec43
1 files changed, 43 insertions, 0 deletions
diff --git a/bcwipe.spec b/bcwipe.spec
new file mode 100644
index 0000000..38922a0
--- /dev/null
+++ b/bcwipe.spec
@@ -0,0 +1,43 @@
+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
+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)
+
+%description
+Securely erase data from magnetic and solid-state memory.
+
+%description -l pl
+Bezpieczne usuwanie danych z pamiêci magnetycznych.
+
+%prep
+%setup -n bcwipe
+
+%build
+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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f rpm-files
+
+%doc LICENSE