Summary: libmcrypt is a data encryption library. Name: libmcrypt Version: 2.5.8 Release: 3%{?_dist_release} License: LGPL Group: System Environment/Libraries URL: http://mcrypt.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 Patch0: libmcrypt-2.5.8-nolibltdl.patch # Upstream: # http://sourceforge.net/tracker/index.php?func=detail&aid=1872801&group_id=87941&atid=584895 Patch1: libmcrypt-2.5.8-uninitialized.patch # Upstream: # http://sourceforge.net/tracker/index.php?func=detail&aid=1872799&group_id=87941&atid=584895 Patch2: libmcrypt-2.5.8-prototypes.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libtool-ltdl-devel %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}-%{release} %description devel Header file and static libraries of libmcrypt data encryption library. %prep %setup -q %patch0 -p1 %patch1 -p1 -b .uninitialized %patch2 -p1 -b .prototypes %build ##%configure --disable-posix-threads --disable-static %configure --disable-static make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} ## remove unused file rm -f %{buildroot}/%{_libdir}/libmcrypt.la %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS ChangeLog COPYING.LIB KNOWN-BUGS NEWS README THANKS TODO %{_libdir}/libmcrypt.so.* %files devel %defattr(-, root, root) %doc doc/README* doc/example.c %{_bindir}/libmcrypt-config %{_includedir}/mcrypt.h %{_includedir}/mutils %{_libdir}/libmcrypt.so %{_mandir}/man3/mcrypt.* %{_datadir}/aclocal/libmcrypt.m4 %changelog * Mon Jun 23 2014 Tomohiro "Tomo-p" KATO 2.5.8-3 - added patches. * Thu Mar 22 2012 MATSUBAYASHI Kohji - 2.5.8-2 - rebuild * Tue Apr 27 2010 Ryoichi INAGAKI 2.5.8-1 - new upstream release - added URL tag - built with new toolchain * Sun Sep 07 2008 Shu KONNO 2.5.7-2vl5 - applied new versioning policy - removed libmcrypt.la * Sun Oct 29 2006 NAKAMURA Kenta 2.5.7-1vl3 - use License tag instead of Copyright * Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO 2.5.7-1vl2 - build for VineSeed. * Mon Mar 1 2004 Tomohiro 'Tomo-p' KATO 2.5.7-1vl1 - build for Vine Linux. * Tue Dec 17 2002 Germano Rizzo - modified for new installation structure * Fri Feb 01 2002 Germano Rizzo - built basing on Peter Soos' SPEC file * Mon Oct 01 2001 Peter Soos - rebuilt under RedHat Linux 7.2 beta - version 2.4.17 * Fri May 04 2001 Peter Soos - rebuilt under RedHat Linux 7.1 * Wed Apr 18 2001 Peter Soos - RedHat Linux 7.0 * Thu Feb 15 2001 Peter Soos - version 2.4.9 * Thu Nov 02 2000 Peter Soos - version 2.4.5 * Fri Jun 23 2000 Peter Soos - version 2.4.4 * Sun Nov 07 1999 Peter Soos - Separate this package from the mcrypt package