libmcrypt-vl.spec 2.7 KB

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