-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathlibmcrypt.spec
93 lines (71 loc) · 2.18 KB
/
libmcrypt.spec
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Summary: libmcrypt is a data encryption library.
Name: libmcrypt
Version: 2.5.8
Release: 1
Copyright: LGPL
Source: ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/%{name}-%{version}.tar.gz
Vendor: Nikos Mavroyanopoulos <[email protected]>
Group: System Environment/Libraries
Packager: Germano Rizzo <[email protected]>
Buildroot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr
%description
libmcrypt is a data encryption library. The library is thread safe
and provides encryption and decryption functions. This version of the
library supports many encryption algorithms and encryption modes. Some
algorithms which are supported:
SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY,
TWOFISH, BLOWFISH, ARCFOUR, WAKE and more.
%package devel
Summary: Development files of the libmcrypt data encryption library.
Group: Development/Libraries
Requires: libmcrypt = %{version}
%description devel
Header file and static libraries of libmcrypt data encryption library.
%prep
%setup
%build
./configure --prefix=%{prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf ${RPM_BUILD_ROOT}
%post
ldconfig
%postun
ldconfig
%files
#%defattr(-, root, root, 0755)
%{_libdir}/libmcrypt.so
%{_libdir}/libmcrypt.so*
%files devel
#%defattr(-, root, root, 0755)
%doc doc/README* doc/example.c AUTHORS ChangeLog KNOWN-BUGS NEWS
%doc THANKS README TODO
%{_libdir}/libmcrypt.la
%{_includedir}/mcrypt.h
%{prefix}/man/man3/mcrypt.*
%{_bindir}/libmcrypt-config
%{_datadir}/aclocal/libmcrypt.m4
%changelog
* Tue Dec 17 2002 Germano Rizzo <[email protected]>
- modified for new installation structure
* Fri Feb 01 2002 Germano Rizzo <[email protected]>
- built basing on Peter Soos' SPEC file
* Mon Oct 01 2001 Peter Soos <[email protected]>
- rebuilt under RedHat Linux 7.2 beta
- version 2.4.17
* Fri May 04 2001 Peter Soos <[email protected]>
- rebuilt under RedHat Linux 7.1
* Wed Apr 18 2001 Peter Soos <[email protected]>
- RedHat Linux 7.0
* Thu Feb 15 2001 Peter Soos <[email protected]>
- version 2.4.9
* Thu Nov 02 2000 Peter Soos <[email protected]>
- version 2.4.5
* Fri Jun 23 2000 Peter Soos <[email protected]>
- version 2.4.4
* Sun Nov 07 1999 Peter Soos <[email protected]>
- Separate this package from the mcrypt package