]> git.pld-linux.org Git - packages/ccrypt.git/blobdiff - ccrypt.spec
- add kill -O3 patch
[packages/ccrypt.git] / ccrypt.spec
index 7f5a78135c7d1190c3770a2bea11ad0f2b68052c..36bf4e557ac101e51dce61d039909b1138eb3f04 100644 (file)
@@ -1,15 +1,17 @@
 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
+Group:         Applications/System
+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)
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 ccrypt is a utility for encrypting and decrypting files and streams.
@@ -27,12 +29,13 @@ szyfr jest uwa
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 rm -f missing
-aclocal
-autoconf
-automake -a -c
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
@@ -46,13 +49,11 @@ echo ".so ccrypt.1." > $RPM_BUILD_ROOT%{_mandir}/man1/ccat.1
 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/*
This page took 0.048951 seconds and 4 git commands to generate.