1 | Summary: libmcrypt is a data encryption library. |
---|
2 | Name: libmcrypt |
---|
3 | Version: 2.5.7 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | License: LGPL |
---|
6 | Source: ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/%{name}-%{version}.tar.gz |
---|
7 | Group: System Environment/Libraries |
---|
8 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
9 | |
---|
10 | %description |
---|
11 | libmcrypt is a data encryption library. The library is thread safe |
---|
12 | and provides encryption and decryption functions. This version of the |
---|
13 | library supports many encryption algorithms and encryption modes. Some |
---|
14 | algorithms which are supported: |
---|
15 | SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY, |
---|
16 | TWOFISH, BLOWFISH, ARCFOUR, WAKE and more. |
---|
17 | |
---|
18 | %package devel |
---|
19 | Summary: Development files of the libmcrypt data encryption library. |
---|
20 | Group: Development/Libraries |
---|
21 | Requires: libmcrypt = %{version} |
---|
22 | |
---|
23 | %description devel |
---|
24 | Header file and static libraries of libmcrypt data encryption library. |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup |
---|
28 | |
---|
29 | %build |
---|
30 | %configure --disable-posix-threads |
---|
31 | |
---|
32 | make |
---|
33 | |
---|
34 | %install |
---|
35 | rm -rf %{buildroot} |
---|
36 | |
---|
37 | %makeinstall |
---|
38 | |
---|
39 | # for Vine Linux 2.6 |
---|
40 | #mv %{buildroot}%{_bindir}/i386-vine-linux-libmcrypt-config %{buildroot}%{_bindir}/libmcrypt-config |
---|
41 | #mv %{buildroot}%{_mandir}/man3/i386-vine-linux-mcrypt.3 %{buildroot}%{_mandir}/man3/mcrypt.3 |
---|
42 | |
---|
43 | ## remove unused file |
---|
44 | rm -f %{buildroot}/%{_libdir}/libmcrypt.la |
---|
45 | |
---|
46 | %clean |
---|
47 | rm -rf %{buildroot} |
---|
48 | |
---|
49 | %post |
---|
50 | ldconfig |
---|
51 | |
---|
52 | %postun |
---|
53 | ldconfig |
---|
54 | |
---|
55 | %files |
---|
56 | %defattr(-, root, root) |
---|
57 | %{_libdir}/libmcrypt.so* |
---|
58 | |
---|
59 | %files devel |
---|
60 | #%defattr(-, root, root) |
---|
61 | %doc doc/README* doc/example.c AUTHORS ChangeLog KNOWN-BUGS NEWS |
---|
62 | %doc THANKS README TODO |
---|
63 | #%{_libdir}/libmcrypt.la |
---|
64 | %{_includedir}/mcrypt.h |
---|
65 | %{_mandir}/man3/mcrypt.* |
---|
66 | %{_bindir}/libmcrypt-config |
---|
67 | %{_datadir}/aclocal/libmcrypt.m4 |
---|
68 | |
---|
69 | %changelog |
---|
70 | * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.7-2vl5 |
---|
71 | - applied new versioning policy |
---|
72 | - removed libmcrypt.la |
---|
73 | |
---|
74 | * Sun Oct 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.7-1vl3 |
---|
75 | - use License tag instead of Copyright |
---|
76 | |
---|
77 | * Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl2 |
---|
78 | - build for VineSeed. |
---|
79 | |
---|
80 | * Mon Mar 1 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl1 |
---|
81 | - build for Vine Linux. |
---|
82 | |
---|
83 | * Tue Dec 17 2002 Germano Rizzo <mano@pluto.linux.it> |
---|
84 | - modified for new installation structure |
---|
85 | |
---|
86 | * Fri Feb 01 2002 Germano Rizzo <mano@pluto.linux.it> |
---|
87 | - built basing on Peter Soos' SPEC file |
---|
88 | |
---|
89 | * Mon Oct 01 2001 Peter Soos <sp@osb.hu> |
---|
90 | - rebuilt under RedHat Linux 7.2 beta |
---|
91 | - version 2.4.17 |
---|
92 | |
---|
93 | * Fri May 04 2001 Peter Soos <sp@osb.hu> |
---|
94 | - rebuilt under RedHat Linux 7.1 |
---|
95 | |
---|
96 | * Wed Apr 18 2001 Peter Soos <sp@osb.hu> |
---|
97 | - RedHat Linux 7.0 |
---|
98 | |
---|
99 | * Thu Feb 15 2001 Peter Soos <sp@osb.hu> |
---|
100 | - version 2.4.9 |
---|
101 | |
---|
102 | * Thu Nov 02 2000 Peter Soos <sp@osb.hu> |
---|
103 | - version 2.4.5 |
---|
104 | |
---|
105 | * Fri Jun 23 2000 Peter Soos <sp@osb.hu> |
---|
106 | - version 2.4.4 |
---|
107 | |
---|
108 | * Sun Nov 07 1999 Peter Soos <sp@osb.hu> |
---|
109 | - Separate this package from the mcrypt package |
---|