Changes of Revision 2
[-] | Added | libmcrypt.spec |
x 1
2 +Name: libmcrypt 3 +Version: 2.5.8 4 +Release: 1 5 +License: LGPL 6 +Group: System Environment/Libraries 7 +Summary: Encryption algorithms library 8 +URL: http://mcrypt.sourceforge.net/ 9 +Source0: http://download.sourceforge.net/mcrypt/libmcrypt-%{version}.tar.gz 10 +#Patch0: libmcrypt-2.5.7-nolibltdl.patch 11 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 12 +BuildRequires: gcc-c++ 13 +#BuildRequires: libtool-ltdl-devel 14 + 15 +%description 16 +Libmcrypt is a thread-safe library providing a uniform interface 17 +to access several block and stream encryption algorithms. 18 + 19 +%package devel 20 +Group: Development/Libraries 21 +Summary: Development libraries and headers for libmcrypt 22 +Requires: %{name} = %{version}-%{release} 23 + 24 +%description devel 25 +Development libraries and headers for use in building applications that 26 +use libmcrypt. 27 + 28 +%prep 29 +%setup -q 30 +##%patch0 -p1 31 + 32 +%build 33 +%configure --enable-static=yes 34 +make %{?_smp_mflags} 35 + 36 +%install 37 +rm -rf $RPM_BUILD_ROOT 38 +make DESTDIR=$RPM_BUILD_ROOT install 39 +find $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} \; 40 + 41 +%clean 42 +rm -rf $RPM_BUILD_ROOT 43 + 44 +%post -p /sbin/ldconfig 45 +%postun -p /sbin/ldconfig 46 + 47 +%files 48 +%defattr(-,root,root,-) 49 +%doc AUTHORS COPYING.LIB ChangeLog KNOWN-BUGS README NEWS THANKS TODO 50 +%{_libdir}/*.so.* 51 +%{_datadir}/aclocal/libmcrypt.m4 52 +%{_mandir}/man3/* 53 + 54 +%files devel 55 +%defattr(-,root,root,-) 56 +%doc doc/README.key doc/README.xtea doc/example.c 57 +%{_bindir}/libmcrypt-config 58 +%{_includedir}/mcrypt.h 59 +%{_includedir}/mutils/mcrypt.h 60 +%{_libdir}/*.a 61 +%{_libdir}/*.so 62 + 63 +%changelog 64 +* Sun Apr 02 2006 Carsten Schoene <vhcs@j0ke.net> 2.5.7-1 65 +- initial build for CentOS4.x 66 + 67 |
||
[+] | Added | libmcrypt-2.5.7-nolibltdl.patch ^ |
@@ -0,0 +1,33 @@ +--- libmcrypt-2.5.7/configure.BAD 2005-09-22 17:04:51.000000000 -0500 ++++ libmcrypt-2.5.7/configure 2005-09-22 17:05:19.000000000 -0500 +@@ -430,7 +430,7 @@ + PACKAGE_BUGREPORT= + + ac_unique_file="lib/mcrypt.c" +-ac_subdirs_all="$ac_subdirs_all libltdl" ++ac_subdirs_all="$ac_subdirs_all" + # Factoring default headers for most tests. + ac_includes_default="\ + #include <stdio.h> +@@ -3356,7 +3356,7 @@ + + + +-subdirs="$subdirs libltdl" ++subdirs="$subdirs" + + # Check whether --enable-static or --disable-static was given. + if test "${enable_static+set}" = set; then +--- libmcrypt-2.5.7/Makefile.in.BAD 2005-09-22 17:06:35.000000000 -0500 ++++ libmcrypt-2.5.7/Makefile.in 2005-09-22 17:06:47.000000000 -0500 +@@ -148,8 +148,8 @@ + + INCLUDES = $(INCLTDL) + EXTRA_DIST = KNOWN-BUGS THANKS NEWS libmcrypt.spec.in libmcrypt.spec COPYING.LIB +-DIST_SUBDIRS = libltdl modules lib src doc +-SUBDIRS = $(LIBLTDL_DIR) modules lib src doc ++DIST_SUBDIRS = modules lib src doc ++SUBDIRS = modules lib src doc + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | ||
[+] | Deleted | _aggregate ^ |
@@ -1,5 +0,0 @@ -<aggregatelist> - <aggregate project="home:jg:devel"> - <package>libmcrypt</package> - </aggregate> -</aggregatelist> | ||
Added | libmcrypt-2.5.8.tar.gz ^ |