libmcrypt-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: libmcrypt is a data encryption library.
  2. Name: libmcrypt
  3. Version: 2.5.8
  4. Release: 3%{?_dist_release}
  5. License: LGPL
  6. Group: System Environment/Libraries
  7. URL: http://mcrypt.sourceforge.net/
  8. Source: %{name}-%{version}.tar.bz2
  9. Patch0: libmcrypt-2.5.8-nolibltdl.patch
  10. # Upstream:
  11. # http://sourceforge.net/tracker/index.php?func=detail&aid=1872801&group_id=87941&atid=584895
  12. Patch1: libmcrypt-2.5.8-uninitialized.patch
  13. # Upstream:
  14. # http://sourceforge.net/tracker/index.php?func=detail&aid=1872799&group_id=87941&atid=584895
  15. Patch2: libmcrypt-2.5.8-prototypes.patch
  16. Buildroot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: libtool-ltdl-devel
  18. %description
  19. libmcrypt is a data encryption library. The library is thread safe
  20. and provides encryption and decryption functions. This version of the
  21. library supports many encryption algorithms and encryption modes. Some
  22. algorithms which are supported:
  23. SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY,
  24. TWOFISH, BLOWFISH, ARCFOUR, WAKE and more.
  25. %package devel
  26. Summary: Development files of the libmcrypt data encryption library.
  27. Group: Development/Libraries
  28. Requires: libmcrypt = %{version}-%{release}
  29. %description devel
  30. Header file and static libraries of libmcrypt data encryption library.
  31. %prep
  32. %setup -q
  33. %patch0 -p1
  34. %patch1 -p1 -b .uninitialized
  35. %patch2 -p1 -b .prototypes
  36. %build
  37. ##%configure --disable-posix-threads --disable-static
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf %{buildroot}
  42. make install DESTDIR=%{buildroot}
  43. ## remove unused file
  44. rm -f %{buildroot}/%{_libdir}/libmcrypt.la
  45. %clean
  46. rm -rf %{buildroot}
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-, root, root)
  51. %doc AUTHORS ChangeLog COPYING.LIB KNOWN-BUGS NEWS README THANKS TODO
  52. %{_libdir}/libmcrypt.so.*
  53. %files devel
  54. %defattr(-, root, root)
  55. %doc doc/README* doc/example.c
  56. %{_bindir}/libmcrypt-config
  57. %{_includedir}/mcrypt.h
  58. %{_includedir}/mutils
  59. %{_libdir}/libmcrypt.so
  60. %{_mandir}/man3/mcrypt.*
  61. %{_datadir}/aclocal/libmcrypt.m4
  62. %changelog
  63. * Mon Jun 23 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.8-3
  64. - added patches.
  65. * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.5.8-2
  66. - rebuild
  67. * Tue Apr 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.8-1
  68. - new upstream release
  69. - added URL tag
  70. - built with new toolchain
  71. * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.7-2vl5
  72. - applied new versioning policy
  73. - removed libmcrypt.la
  74. * Sun Oct 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.7-1vl3
  75. - use License tag instead of Copyright
  76. * Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl2
  77. - build for VineSeed.
  78. * Mon Mar 1 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.5.7-1vl1
  79. - build for Vine Linux.
  80. * Tue Dec 17 2002 Germano Rizzo <mano@pluto.linux.it>
  81. - modified for new installation structure
  82. * Fri Feb 01 2002 Germano Rizzo <mano@pluto.linux.it>
  83. - built basing on Peter Soos' SPEC file
  84. * Mon Oct 01 2001 Peter Soos <sp@osb.hu>
  85. - rebuilt under RedHat Linux 7.2 beta
  86. - version 2.4.17
  87. * Fri May 04 2001 Peter Soos <sp@osb.hu>
  88. - rebuilt under RedHat Linux 7.1
  89. * Wed Apr 18 2001 Peter Soos <sp@osb.hu>
  90. - RedHat Linux 7.0
  91. * Thu Feb 15 2001 Peter Soos <sp@osb.hu>
  92. - version 2.4.9
  93. * Thu Nov 02 2000 Peter Soos <sp@osb.hu>
  94. - version 2.4.5
  95. * Fri Jun 23 2000 Peter Soos <sp@osb.hu>
  96. - version 2.4.4
  97. * Sun Nov 07 1999 Peter Soos <sp@osb.hu>
  98. - Separate this package from the mcrypt package