libmcrypt-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. 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 %{buildroot}
  30. make install DESTDIR=%{buildroot}
  31. ## remove unused file
  32. rm -f %{buildroot}/%{_libdir}/libmcrypt.la
  33. %clean
  34. rm -rf %{buildroot}
  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. * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.5.8-2
  52. - rebuild
  53. * Tue Apr 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.8-1
  54. - new upstream release
  55. - added URL tag
  56. - built with new toolchain
  57. * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.7-2vl5
  58. - applied new versioning policy
  59. - removed libmcrypt.la
  60. * Sun Oct 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.7-1vl3
  61. - use License tag instead of Copyright
  62. * Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl2
  63. - build for VineSeed.
  64. * Mon Mar 1 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl1
  65. - build for Vine Linux.
  66. * Tue Dec 17 2002 Germano Rizzo <mano@pluto.linux.it>
  67. - modified for new installation structure
  68. * Fri Feb 01 2002 Germano Rizzo <mano@pluto.linux.it>
  69. - built basing on Peter Soos' SPEC file
  70. * Mon Oct 01 2001 Peter Soos <sp@osb.hu>
  71. - rebuilt under RedHat Linux 7.2 beta
  72. - version 2.4.17
  73. * Fri May 04 2001 Peter Soos <sp@osb.hu>
  74. - rebuilt under RedHat Linux 7.1
  75. * Wed Apr 18 2001 Peter Soos <sp@osb.hu>
  76. - RedHat Linux 7.0
  77. * Thu Feb 15 2001 Peter Soos <sp@osb.hu>
  78. - version 2.4.9
  79. * Thu Nov 02 2000 Peter Soos <sp@osb.hu>
  80. - version 2.4.5
  81. * Fri Jun 23 2000 Peter Soos <sp@osb.hu>
  82. - version 2.4.4
  83. * Sun Nov 07 1999 Peter Soos <sp@osb.hu>
  84. - Separate this package from the mcrypt package