source: projects/specs/trunk/lib/libm/libmcrypt/libmcrypt-vl.spec @ 8595

Revision 8595, 3.4 KB checked in by tomop, 10 years ago (diff)

libmcrypt-2.5.8-3

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