rpms/libesmtp/devel libesmtp.spec,1.8,1.9

Pawel Salek (pawsa) fedora-extras-commits at redhat.com
Thu Nov 15 21:23:01 UTC 2007


Author: pawsa

Update of /cvs/extras/rpms/libesmtp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16811

Modified Files:
	libesmtp.spec 
Log Message:
Drop static libs as suggested in bug 377731.


Index: libesmtp.spec
===================================================================
RCS file: /cvs/extras/rpms/libesmtp/devel/libesmtp.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- libesmtp.spec	11 Sep 2006 11:23:56 -0000	1.8
+++ libesmtp.spec	15 Nov 2007 21:22:15 -0000	1.9
@@ -1,17 +1,17 @@
 %define plugindir %{_libdir}/esmtp-plugins
 
-Summary: SMTP client library
-Name:     	libesmtp
-Version:  	1.0.4
-Release:        2%{?dist}
-License:	LGPL
-Group: System Environment/Libraries
-Source:  	http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2
-Patch1:		libesmtp-build.patch
-Patch2:		libesmtp-1.0.4-ssl.patch
-URL:       	http://www.stafford.uklinux.net/libesmtp/
+Summary:        SMTP client library
+Name:           libesmtp
+Version:        1.0.4
+Release:        3%{?dist}
+License:        LGPLv2+
+Group:          System Environment/Libraries
+Source:         http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2
+Patch1:         libesmtp-build.patch
+Patch2:         libesmtp-1.0.4-ssl.patch
+URL:            http://www.stafford.uklinux.net/libesmtp/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	openssl-devel pkgconfig automake libtool
+BuildRequires:  openssl-devel pkgconfig
 
 %description
 LibESMTP is a library to manage posting (or submission of) electronic
@@ -22,8 +22,9 @@
 
 %package devel
 Summary: Headers and development libraries for libESMTP
+# example file is under the GPLv2+
+License: LGPLv2+ and GPLv2+
 Group: Development/Libraries
-License: LGPL/GPL
 Requires: %{name} = %{version}-%{release}, openssl-devel
 
 %description devel
@@ -39,22 +40,25 @@
 %patch1 -p1 -b .build
 #%patch2 -p1 -b .ssl
 
+# Keep rpmlint happy about libesmtp-debuginfo...
+chmod a-x htable.c
+
 %build
 
 if pkg-config openssl ; then
   export CFLAGS="$CFLAGS $RPM_OPT_FLAGS `pkg-config --cflags openssl`"
-  export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I openssl`"
   export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
 fi
 %configure --with-auth-plugin-dir=%{plugindir} --enable-pthreads \
   --enable-require-all-recipients --enable-debug \
-  --enable-etrn
+  --enable-etrn --disable-isoc --disable-more-warnings
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
+rm $RPM_BUILD_ROOT/%{_libdir}/*.la
+rm $RPM_BUILD_ROOT/%{plugindir}/*.a
 
 
 %clean
@@ -79,6 +83,9 @@
 %{_libdir}/libesmtp.a
 
 %changelog
+* Thu Nov 15 2007 Pawel Salek <pawsa at theochem.kth.se> - 1.0.4-3
+- drop static libs as suggested in bug 377731.
+
 * Mon Sep 11 2006 Pawel Salek <pawsa at theochem.kth.se> - 1.0.4-2
 - rebuild for FC6.
 
@@ -139,31 +146,3 @@
 
 * Tue Jul 23 2002 Bill Nottingham <notting at redhat.com> 0.8.12-2
 - fix broken lib (no pthread dependency)
-
-* Mon Jun 24 2002 Bill Nottingham <notting at redhat.com> 0.8.12-1
-- update to 0.8.12
-
-* Fri Jun 21 2002 Tim Powers <timp at redhat.com>
-- automated rebuild
-
-* Thu May 23 2002 Tim Powers <timp at redhat.com>
-- automated rebuild
-
-* Wed Jan 09 2002 Tim Powers <timp at redhat.com>
-- automated rebuild
-
-* Thu Aug 30 2001 Bill Nottingham <notting at redhat.com>
-- fix assertion failure when sending mail (#52940)
-
-* Mon Aug 20 2001 Bill Nottingham <notting at redhat.com>
-- update to 0.8.4 (fixes CRAM-MD5, #52097)
-
-* Mon Jul 30 2001 Bill Nottingham <notting at redhat.com>
-- don't enable starttls (not fully tested, at request of author)
-
-* Wed Jul 24 2001 Bill Nottingham <notting at redhat.com>
-- rebuild, openssl weirdness
-
-* Mon Jul 23 2001 Bill Nottingham <notting at redhat.com>
-- initial build, clean up included spec file
-- add %post/%postun




More information about the fedora-extras-commits mailing list