| 1 | Summary: libmcrypt is a data encryption library. |
|---|
| 2 | Name: libmcrypt |
|---|
| 3 | Version: 2.5.8 |
|---|
| 4 | Release: 2%{?_dist_release} |
|---|
| 5 | License: LGPL |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | URL: http://mcrypt.sourceforge.net/ |
|---|
| 8 | |
|---|
| 9 | Source: %{name}-%{version}.tar.bz2 |
|---|
| 10 | |
|---|
| 11 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 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}-%{release} |
|---|
| 25 | |
|---|
| 26 | %description devel |
|---|
| 27 | Header file and static libraries of libmcrypt data encryption library. |
|---|
| 28 | |
|---|
| 29 | %prep |
|---|
| 30 | %setup -q |
|---|
| 31 | |
|---|
| 32 | %build |
|---|
| 33 | %configure --disable-posix-threads --disable-static |
|---|
| 34 | |
|---|
| 35 | make %{?_smp_mflags} |
|---|
| 36 | |
|---|
| 37 | %install |
|---|
| 38 | rm -rf %{buildroot} |
|---|
| 39 | |
|---|
| 40 | make install DESTDIR=%{buildroot} |
|---|
| 41 | |
|---|
| 42 | ## remove unused file |
|---|
| 43 | rm -f %{buildroot}/%{_libdir}/libmcrypt.la |
|---|
| 44 | |
|---|
| 45 | %clean |
|---|
| 46 | rm -rf %{buildroot} |
|---|
| 47 | |
|---|
| 48 | %post -p /sbin/ldconfig |
|---|
| 49 | |
|---|
| 50 | %postun -p /sbin/ldconfig |
|---|
| 51 | |
|---|
| 52 | %files |
|---|
| 53 | %defattr(-, root, root) |
|---|
| 54 | %doc AUTHORS ChangeLog COPYING.LIB KNOWN-BUGS NEWS README THANKS TODO |
|---|
| 55 | %{_libdir}/libmcrypt.so.* |
|---|
| 56 | |
|---|
| 57 | %files devel |
|---|
| 58 | %defattr(-, root, root) |
|---|
| 59 | %doc doc/README* doc/example.c |
|---|
| 60 | %{_bindir}/libmcrypt-config |
|---|
| 61 | %{_includedir}/mcrypt.h |
|---|
| 62 | %{_includedir}/mutils |
|---|
| 63 | %{_libdir}/libmcrypt.so |
|---|
| 64 | %{_mandir}/man3/mcrypt.* |
|---|
| 65 | %{_datadir}/aclocal/libmcrypt.m4 |
|---|
| 66 | |
|---|
| 67 | %changelog |
|---|
| 68 | * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.5.8-2 |
|---|
| 69 | - rebuild |
|---|
| 70 | |
|---|
| 71 | * Tue Apr 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.8-1 |
|---|
| 72 | - new upstream release |
|---|
| 73 | - added URL tag |
|---|
| 74 | - built with new toolchain |
|---|
| 75 | |
|---|
| 76 | * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.7-2vl5 |
|---|
| 77 | - applied new versioning policy |
|---|
| 78 | - removed libmcrypt.la |
|---|
| 79 | |
|---|
| 80 | * Sun Oct 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.7-1vl3 |
|---|
| 81 | - use License tag instead of Copyright |
|---|
| 82 | |
|---|
| 83 | * Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl2 |
|---|
| 84 | - build for VineSeed. |
|---|
| 85 | |
|---|
| 86 | * Mon Mar 1 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl1 |
|---|
| 87 | - build for Vine Linux. |
|---|
| 88 | |
|---|
| 89 | * Tue Dec 17 2002 Germano Rizzo <mano@pluto.linux.it> |
|---|
| 90 | - modified for new installation structure |
|---|
| 91 | |
|---|
| 92 | * Fri Feb 01 2002 Germano Rizzo <mano@pluto.linux.it> |
|---|
| 93 | - built basing on Peter Soos' SPEC file |
|---|
| 94 | |
|---|
| 95 | * Mon Oct 01 2001 Peter Soos <sp@osb.hu> |
|---|
| 96 | - rebuilt under RedHat Linux 7.2 beta |
|---|
| 97 | - version 2.4.17 |
|---|
| 98 | |
|---|
| 99 | * Fri May 04 2001 Peter Soos <sp@osb.hu> |
|---|
| 100 | - rebuilt under RedHat Linux 7.1 |
|---|
| 101 | |
|---|
| 102 | * Wed Apr 18 2001 Peter Soos <sp@osb.hu> |
|---|
| 103 | - RedHat Linux 7.0 |
|---|
| 104 | |
|---|
| 105 | * Thu Feb 15 2001 Peter Soos <sp@osb.hu> |
|---|
| 106 | - version 2.4.9 |
|---|
| 107 | |
|---|
| 108 | * Thu Nov 02 2000 Peter Soos <sp@osb.hu> |
|---|
| 109 | - version 2.4.5 |
|---|
| 110 | |
|---|
| 111 | * Fri Jun 23 2000 Peter Soos <sp@osb.hu> |
|---|
| 112 | - version 2.4.4 |
|---|
| 113 | |
|---|
| 114 | * Sun Nov 07 1999 Peter Soos <sp@osb.hu> |
|---|
| 115 | - Separate this package from the mcrypt package |
|---|