summaryrefslogtreecommitdiff
path: root/bcwipe.spec
blob: 38922a022e33b9d1f9124a0b8d8b481054a666ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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