summaryrefslogtreecommitdiff
path: root/bcwipe.spec
diff options
context:
space:
mode:
authorzbyniu2012-02-11 22:53:27 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit3f9fff3a482ca67c9adc9a8fa6716662901d4207 (patch)
tree5ab6562ec5c5096eaaa3713fcf37c959ea549eec /bcwipe.spec
parent8f614122c443353dc6fd99462e2b5f10c94cc1bf (diff)
downloadbcwipe-master.zip
bcwipe-master.tar.gz
- up to 1.9HEADmaster
Changed files: bcwipe.spec -> 1.10
Diffstat (limited to 'bcwipe.spec')
-rw-r--r--bcwipe.spec22
1 files changed, 12 insertions, 10 deletions
diff --git a/bcwipe.spec b/bcwipe.spec
index e7d7bc7..54cf23f 100644
--- a/bcwipe.spec
+++ b/bcwipe.spec
@@ -1,14 +1,15 @@
Summary: Securely erase data from magnetic and solid-state memory
Summary(pl.UTF-8): Bezpieczne usuwanie danych z pamięci magnetycznych
Name: bcwipe
-Version: 1.7
+Version: 1.9
Release: 1
-License: commercial with 30-day trial period (see LICENSE)
+License: commercial with 30-day trial period (see COPYING)
Group: Applications/System
Source0: http://www.jetico.com/linux/BCWipe-%{version}-3.tar.gz
-# Source0-md5: 97dc5dfb485d56c6861b1f98b357c258
+# Source0-md5: 500dc22f5a2a2e3b52ec597bc7d17452
URL: http://www.jetico.com/
-BuildRequires: sed >= 4.0
+BuildRequires: autoconf
+BuildRequires: automake
Obsoletes: BCWipe
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,24 +22,25 @@ Bezpieczne usuwanie danych z pamięci magnetycznych.
%prep
%setup -q -n %{name}-%{version}-3
-sed -i -e 's/-O /%{rpmcflags} /' Makefile
-
%build
-%{__make} \
- CC="%{__cc}"
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
%{__make} install \
- root=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc LICENSE
+%doc COPYING
%attr(755,root,root) %{_bindir}/bcwipe
%{_mandir}/man1/bcwipe.1*