[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-changelog
Subject:    [Contrib-Rpm] libmcrypt-2.5.7-7mdk
From:       Oden Eriksson <devel () mandrakesoft ! com>
Date:       2005-01-31 17:06:47
Message-ID: 20050131170647.4DF6135EC070 () ken ! mandrakesoft ! com
[Download RAW message or body]

[Contrib-RPM]

-=-=-=-
Name        : libmcrypt                    Relocations: (not relocatable)
Version     : 2.5.7                             Vendor: Mandrakesoft
Release     : 7mdk                          Build Date: Mon Jan 31 17:10:15 2005
Install Date: (not installed)               Build Host: n5.mandrakesoft.com
Group       : System/Libraries              Source RPM: (none)
Size        : 529730                           License: LGPL
Signature   : (none)
Packager    : Oden Eriksson <oeriksson@mandrakesoft.com>
URL         : http://mcrypt.sourceforge.net/
Summary     : Thread-safe data encryption library
Description :
Libmcrypt is a thread-safe library providing a uniform interface
to access several block and stream encryption algorithms.

     Some algorithms which are supported:
SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY,
TWOFISH, BLOWFISH, ARCFOUR, WAKE and more.



-=-=-=-
Oden Eriksson <oeriksson@mandrakesoft.com> 2.5.7-7mdk

- fix deps and conditional %multiarch
- run the tests
- fix requires-on-release

-=-=-=-
No rpmlint error, happy man :-)

-=-=-=-
libmcrypt.spec changed
--- libmcrypt-2.5.7-6mdk.src.rpm/libmcrypt.spec	2005-01-31 18:06:46.160138511 +0100
+++ libmcrypt-2.5.7-7mdk.src.rpm/libmcrypt.spec	2005-01-31 18:06:46.247127260 +0100
@@ -1,6 +1,6 @@
 %define name	libmcrypt
 %define version	2.5.7
-%define release	6mdk
+%define release	7mdk
 
 %define major 4
 %define libname	%mklibname mcrypt %{major}
@@ -9,12 +9,15 @@
 Name:		%{name}
 Version:	%{version}
 Release:	%{release}
-Source0:	%{name}-%{version}.tar.gz
-Source1:	%{name}-%{version}.tar.gz.sig.asc
-URL:		http://mcrypt.sourceforge.net/
 License:	LGPL
 Group:		System/Libraries
+URL:		http://mcrypt.sourceforge.net/
+Source0:	%{name}-%{version}.tar.gz
+Source1:	%{name}-%{version}.tar.gz.sig.asc
 BuildRequires:	libtool-devel
+%if %mdkversion >= 1020
+BuildRequires:	multiarch-utils >= 1.0.3
+%endif
 BuildRoot:	%{_tmppath}/%{name}-buildroot
 Prefix:		%{_prefix}
 
@@ -29,8 +32,7 @@
 %package -n %{libname}
 Summary:	Thread-safe data encryption library
 Group:		System/Libraries
-Requires:	%{name} >= %{version}-%{release}
-#Requires:	libltdl3
+Requires:	%{name} >= %{version}
 
 %description -n %{libname}
 Libmcrypt is a thread-safe library providing a uniform interface
@@ -45,8 +47,7 @@
 Summary:	Header files and libraries for developing apps with libmcrypt
 Group:		Development/C
 Requires:	%{libname} = %{version}
-#Requires:	libltdl3
-Provides:	%{name}-devel = %{version}-%{release}
+Provides:	%{name}-devel = %{version}
 
 %description -n %{libname}-devel
 This package contains the header files and libraries needed to
@@ -57,8 +58,8 @@
 Summary:	Static libraries for developing apps with libmcrypt
 Group:		Development/C
 Requires:	%{libname} = %{version}
-Requires:	%{name}-devel = %{version}-%{release}
-Provides:	%{name}-static-devel = %{version}-%{release}
+Requires:	%{name}-devel = %{version}
+Provides:	%{name}-static-devel = %{version}
 
 %description -n %{libname}-static-devel
 This package contains the static libraries needed to
@@ -99,12 +100,19 @@
 
 %make
 
+make check
+
 %install
 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
 
 %makeinstall
 
+%if %mdkversion >= 1020
+%multiarch_binaries %{buildroot}%{_bindir}/libmcrypt-config
+%endif
+
 %post -n %{libname} -p /sbin/ldconfig
+
 %postun -n %{libname} -p /sbin/ldconfig
 
 %clean
@@ -118,7 +126,10 @@
 %defattr(-, root, root)
 %doc AUTHORS COPYING.LIB ChangeLog INSTALL KNOWN-BUGS NEWS README THANKS TODO doc/README.* doc/*.c
 %{_mandir}/man3/*
-%{_bindir}/*
+%if %mdkversion >= 1020
+%multiarch %{multiarch_bindir}/libmcrypt-config
+%endif
+%{_bindir}/libmcrypt-config
 %{_libdir}/*.la
 %{_libdir}/*.so
 %{_includedir}/mcrypt.h
@@ -135,6 +146,11 @@
 %{_libdir}/%{name}/*.so
 
 %changelog
+* Mon Jan 31 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.5.7-7mdk
+- fix deps and conditional %%multiarch
+- run the tests
+- fix requires-on-release
+
 * Tue Dec 07 2004 Lenny Cartier <lenny@mandrakesoft.com> 2.5.7-6mdk
 - rebuild
 


-- 
http://www.mandrake-linux.com/en/cookerdevel.php3

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic