[521] | 1 | Summary: libmcrypt is a data encryption library. |
---|
| 2 | Name: libmcrypt |
---|
[900] | 3 | Version: 2.5.8 |
---|
[8595] | 4 | Release: 3%{?_dist_release} |
---|
[521] | 5 | License: LGPL |
---|
| 6 | Group: System Environment/Libraries |
---|
[900] | 7 | URL: http://mcrypt.sourceforge.net/ |
---|
| 8 | |
---|
| 9 | Source: %{name}-%{version}.tar.bz2 |
---|
[8595] | 10 | Patch0: libmcrypt-2.5.8-nolibltdl.patch |
---|
| 11 | # Upstream: |
---|
| 12 | # http://sourceforge.net/tracker/index.php?func=detail&aid=1872801&group_id=87941&atid=584895 |
---|
| 13 | Patch1: libmcrypt-2.5.8-uninitialized.patch |
---|
| 14 | # Upstream: |
---|
| 15 | # http://sourceforge.net/tracker/index.php?func=detail&aid=1872799&group_id=87941&atid=584895 |
---|
| 16 | Patch2: libmcrypt-2.5.8-prototypes.patch |
---|
[900] | 17 | |
---|
[521] | 18 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
[8595] | 19 | BuildRequires: libtool-ltdl-devel |
---|
[521] | 20 | |
---|
| 21 | %description |
---|
| 22 | libmcrypt is a data encryption library. The library is thread safe |
---|
| 23 | and provides encryption and decryption functions. This version of the |
---|
| 24 | library supports many encryption algorithms and encryption modes. Some |
---|
| 25 | algorithms which are supported: |
---|
| 26 | SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY, |
---|
| 27 | TWOFISH, BLOWFISH, ARCFOUR, WAKE and more. |
---|
| 28 | |
---|
| 29 | %package devel |
---|
| 30 | Summary: Development files of the libmcrypt data encryption library. |
---|
| 31 | Group: Development/Libraries |
---|
[900] | 32 | Requires: libmcrypt = %{version}-%{release} |
---|
[521] | 33 | |
---|
| 34 | %description devel |
---|
| 35 | Header file and static libraries of libmcrypt data encryption library. |
---|
| 36 | |
---|
| 37 | %prep |
---|
[900] | 38 | %setup -q |
---|
[8595] | 39 | %patch0 -p1 |
---|
| 40 | %patch1 -p1 -b .uninitialized |
---|
| 41 | %patch2 -p1 -b .prototypes |
---|
[521] | 42 | |
---|
| 43 | %build |
---|
[8595] | 44 | ##%configure --disable-posix-threads --disable-static |
---|
| 45 | %configure --disable-static |
---|
[521] | 46 | |
---|
[900] | 47 | make %{?_smp_mflags} |
---|
[521] | 48 | |
---|
| 49 | %install |
---|
[5947] | 50 | rm -rf %{buildroot} |
---|
[521] | 51 | |
---|
[5947] | 52 | make install DESTDIR=%{buildroot} |
---|
[521] | 53 | |
---|
| 54 | ## remove unused file |
---|
| 55 | rm -f %{buildroot}/%{_libdir}/libmcrypt.la |
---|
| 56 | |
---|
| 57 | %clean |
---|
[5947] | 58 | rm -rf %{buildroot} |
---|
[521] | 59 | |
---|
[900] | 60 | %post -p /sbin/ldconfig |
---|
[521] | 61 | |
---|
[900] | 62 | %postun -p /sbin/ldconfig |
---|
[521] | 63 | |
---|
| 64 | %files |
---|
| 65 | %defattr(-, root, root) |
---|
[900] | 66 | %doc AUTHORS ChangeLog COPYING.LIB KNOWN-BUGS NEWS README THANKS TODO |
---|
| 67 | %{_libdir}/libmcrypt.so.* |
---|
[521] | 68 | |
---|
| 69 | %files devel |
---|
[900] | 70 | %defattr(-, root, root) |
---|
| 71 | %doc doc/README* doc/example.c |
---|
| 72 | %{_bindir}/libmcrypt-config |
---|
[521] | 73 | %{_includedir}/mcrypt.h |
---|
[900] | 74 | %{_includedir}/mutils |
---|
| 75 | %{_libdir}/libmcrypt.so |
---|
[521] | 76 | %{_mandir}/man3/mcrypt.* |
---|
| 77 | %{_datadir}/aclocal/libmcrypt.m4 |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[8595] | 80 | * Mon Jun 23 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.8-3 |
---|
| 81 | - added patches. |
---|
| 82 | |
---|
[5947] | 83 | * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.5.8-2 |
---|
| 84 | - rebuild |
---|
| 85 | |
---|
[900] | 86 | * Tue Apr 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.8-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - added URL tag |
---|
| 89 | - built with new toolchain |
---|
| 90 | |
---|
[521] | 91 | * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.7-2vl5 |
---|
| 92 | - applied new versioning policy |
---|
| 93 | - removed libmcrypt.la |
---|
| 94 | |
---|
| 95 | * Sun Oct 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.7-1vl3 |
---|
| 96 | - use License tag instead of Copyright |
---|
| 97 | |
---|
| 98 | * Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl2 |
---|
| 99 | - build for VineSeed. |
---|
| 100 | |
---|
| 101 | * Mon Mar 1 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl1 |
---|
| 102 | - build for Vine Linux. |
---|
| 103 | |
---|
| 104 | * Tue Dec 17 2002 Germano Rizzo <mano@pluto.linux.it> |
---|
| 105 | - modified for new installation structure |
---|
| 106 | |
---|
| 107 | * Fri Feb 01 2002 Germano Rizzo <mano@pluto.linux.it> |
---|
| 108 | - built basing on Peter Soos' SPEC file |
---|
| 109 | |
---|
| 110 | * Mon Oct 01 2001 Peter Soos <sp@osb.hu> |
---|
| 111 | - rebuilt under RedHat Linux 7.2 beta |
---|
| 112 | - version 2.4.17 |
---|
| 113 | |
---|
| 114 | * Fri May 04 2001 Peter Soos <sp@osb.hu> |
---|
| 115 | - rebuilt under RedHat Linux 7.1 |
---|
| 116 | |
---|
| 117 | * Wed Apr 18 2001 Peter Soos <sp@osb.hu> |
---|
| 118 | - RedHat Linux 7.0 |
---|
| 119 | |
---|
| 120 | * Thu Feb 15 2001 Peter Soos <sp@osb.hu> |
---|
| 121 | - version 2.4.9 |
---|
| 122 | |
---|
| 123 | * Thu Nov 02 2000 Peter Soos <sp@osb.hu> |
---|
| 124 | - version 2.4.5 |
---|
| 125 | |
---|
| 126 | * Fri Jun 23 2000 Peter Soos <sp@osb.hu> |
---|
| 127 | - version 2.4.4 |
---|
| 128 | |
---|
| 129 | * Sun Nov 07 1999 Peter Soos <sp@osb.hu> |
---|
| 130 | - Separate this package from the mcrypt package |
---|