libmcrypt-vl.spec 2.7 KB

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