1 |
Summary: libmcrypt is a data encryption library. |
2 |
Name: @PACKAGE@ |
3 |
Version: @VERSION@ |
4 |
Release: 1 |
5 |
Copyright: LGPL |
6 |
Source: ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/%{name}-%{version}.tar.gz |
7 |
Vendor: Nikos Mavroyanopoulos <nmav@gnutls.org> |
8 |
Group: System Environment/Libraries |
9 |
Packager: Germano Rizzo <mano@pluto.linux.it> |
10 |
Buildroot: %{_tmppath}/%{name}-%{version}-root |
11 |
Prefix: /usr |
12 |
|
13 |
%description |
14 |
libmcrypt is a data encryption library. The library is thread safe |
15 |
and provides encryption and decryption functions. This version of the |
16 |
library supports many encryption algorithms and encryption modes. Some |
17 |
algorithms which are supported: |
18 |
SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY, |
19 |
TWOFISH, BLOWFISH, ARCFOUR, WAKE and more. |
20 |
|
21 |
%package devel |
22 |
Summary: Development files of the libmcrypt data encryption library. |
23 |
Group: Development/Libraries |
24 |
Requires: libmcrypt = %{version} |
25 |
|
26 |
%description devel |
27 |
Header file and static libraries of libmcrypt data encryption library. |
28 |
|
29 |
%prep |
30 |
%setup |
31 |
|
32 |
%build |
33 |
./configure --prefix=%{prefix} |
34 |
|
35 |
make |
36 |
|
37 |
%install |
38 |
rm -rf $RPM_BUILD_ROOT |
39 |
|
40 |
make DESTDIR=$RPM_BUILD_ROOT install |
41 |
|
42 |
%clean |
43 |
rm -rf ${RPM_BUILD_ROOT} |
44 |
|
45 |
%post |
46 |
ldconfig |
47 |
|
48 |
%postun |
49 |
ldconfig |
50 |
|
51 |
%files |
52 |
#%defattr(-, root, root, 0755) |
53 |
%{_libdir}/libmcrypt.so |
54 |
%{_libdir}/libmcrypt.so* |
55 |
|
56 |
%files devel |
57 |
#%defattr(-, root, root, 0755) |
58 |
%doc doc/README* doc/example.c AUTHORS ChangeLog KNOWN-BUGS NEWS |
59 |
%doc THANKS README TODO |
60 |
%{_libdir}/libmcrypt.la |
61 |
%{_includedir}/mcrypt.h |
62 |
%{prefix}/man/man3/mcrypt.* |
63 |
%{_bindir}/libmcrypt-config |
64 |
%{_datadir}/aclocal/libmcrypt.m4 |
65 |
|
66 |
%changelog |
67 |
* Tue Dec 17 2002 Germano Rizzo <mano@pluto.linux.it> |
68 |
- modified for new installation structure |
69 |
|
70 |
* Fri Feb 01 2002 Germano Rizzo <mano@pluto.linux.it> |
71 |
- built basing on Peter Soos' SPEC file |
72 |
|
73 |
* Mon Oct 01 2001 Peter Soos <sp@osb.hu> |
74 |
- rebuilt under RedHat Linux 7.2 beta |
75 |
- version 2.4.17 |
76 |
|
77 |
* Fri May 04 2001 Peter Soos <sp@osb.hu> |
78 |
- rebuilt under RedHat Linux 7.1 |
79 |
|
80 |
* Wed Apr 18 2001 Peter Soos <sp@osb.hu> |
81 |
- RedHat Linux 7.0 |
82 |
|
83 |
* Thu Feb 15 2001 Peter Soos <sp@osb.hu> |
84 |
- version 2.4.9 |
85 |
|
86 |
* Thu Nov 02 2000 Peter Soos <sp@osb.hu> |
87 |
- version 2.4.5 |
88 |
|
89 |
* Fri Jun 23 2000 Peter Soos <sp@osb.hu> |
90 |
- version 2.4.4 |
91 |
|
92 |
* Sun Nov 07 1999 Peter Soos <sp@osb.hu> |
93 |
- Separate this package from the mcrypt package |