Summary: Secure encryption and decryption of files and streams
Summary(pl): Bezpieczne szyfrowanie i odszyfrowywanie plików i strumieni
Name: ccrypt
-Version: 1.2
+Version: 1.7
Release: 1
License: GPL
Group: Applications/System
-Source0: http://ccrypt.sourceforge.net/download/%{name}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/ccrypt/%{name}-%{version}.tar.gz
+# Source0-md5: 19526e31a7d234e29d54dbcc876605d5
+Patch0: %{name}-kill-O3.patch
+URL: http://ccrypt.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
-URL: http://ccrypt.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
%build
rm -f missing
-aclocal
-autoconf
-automake -a -c -f
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure
%{__make}
echo ".so ccrypt.1." > $RPM_BUILD_ROOT%{_mandir}/man1/ccdecrypt.1
echo ".so ccrypt.1." > $RPM_BUILD_ROOT%{_mandir}/man1/ccencrypt.1
-gzip -9nf AUTHORS ChangeLog NEWS README doc/cypfaq01.txt
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz doc/*gz
+%doc AUTHORS ChangeLog NEWS README doc/cypfaq01.txt
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*