Mailinglist Archive: opensuse-commit (1157 mails)

< Previous Next >
commit libesmtp
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 03 Oct 2007 01:03:48 +0200
  • Message-id: <20071002230349.0A0A06781B8@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package libesmtp
checked in at Wed Oct 3 01:03:48 CEST 2007.

--------
--- GNOME/libesmtp/libesmtp.changes     2006-01-25 21:32:18.000000000 +0100
+++ /mounts/work_src_done/STABLE/libesmtp/libesmtp.changes      2007-09-04 16:42:17.976126000 +0200
@@ -1,0 +2,11 @@
+Tue Sep  4 16:41:52 CEST 2007 - mrueckert@xxxxxxx
+
+- remove postfix from the buildrequires
+- do not package generic INSTALL file
+
+-------------------------------------------------------------------
+Tue Sep  4 09:37:02 CEST 2007 - crrodriguez@xxxxxxx
+
+- fix #307257 missing requires of the libesmtp-devel package 
+
+-------------------------------------------------------------------

New:
----
  libesmtp-1.0.4-bloat.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libesmtp.spec ++++++
--- /var/tmp/diff_new_pack.n27333/_old  2007-10-03 01:03:43.000000000 +0200
+++ /var/tmp/diff_new_pack.n27333/_new  2007-10-03 01:03:43.000000000 +0200
@@ -1,27 +1,28 @@
 #
 # spec file for package libesmtp (Version 1.0.4)
 #
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 # norootforbuild
 
 Name:         libesmtp
-BuildRequires: bind-devel openssl-devel postfix
-URL:          http://www.stafford.uklinux.net/libesmtp/
-License:      GPL, LGPL
+BuildRequires:  bind-devel openssl-devel
+Url:            http://www.stafford.uklinux.net/libesmtp/
+License:        GPL v2 or later; LGPL v2 or later
 Group:        Development/Libraries/C and C++
 Summary:      A Library for Posting Electronic Mail
 Version:      1.0.4
-Release:      1
+Release:        97
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
 Source0:      %{name}-%{version}.tar.bz2
 Patch0:       libesmtp-removedecls.diff
 Patch1:       libesmtp-lwres_includedir.patch
+Patch2:         libesmtp-1.0.4-bloat.patch
 
 %description
 libESMTP is a library to manage posting (or submission of) electronic
@@ -36,29 +37,6 @@
 --------
     Brian Stafford <brian@xxxxxxxxxxxxxxxxxxxx>
 
-%prep 
-%setup -q
-%patch0
-%patch1 
-
-%build
-autoreconf
-CFLAGS="$CFLAGS $RPM_OPT_FLAGS"      \
-CXXFLAGS="$CFLAGS $RPM_OPT_FLAGS"    \
-       ./configure                     \
-               --prefix=/usr           \
-               --libdir=%{_libdir}     \
-               --disable-static        \
-       --with-lwres=/usr/include/bind/ \
-               --enable-ntlm           \
-               --enable-etrn           
-make
-
-%install
-make DESTDIR=${RPM_BUILD_ROOT}/ install
-
-%clean
-rm -rf ${RPM_BUILD_ROOT}
 %package devel
 Summary:      A Library for Posting Electronic Mail
 Group:        Development/Libraries/C and C++
@@ -77,23 +55,51 @@
 --------
     Brian Stafford <brian@xxxxxxxxxxxxxxxxxxxx>
 
+%prep 
+%setup -q
+%patch0
+%patch1 
+%patch2
+
+%build
+autoreconf -fi
+%configure --disable-static --with-pic \
+       --with-lwres=/usr/include/bind/ \
+               --enable-ntlm           \
+               --enable-etrn           
+%{__make} %{?jobs:-j%jobs}
+
+%install
+make DESTDIR=%{buildroot} install
+#uses dlsym not ltdl ..useless files
+rm -rf %{buildroot}%{_libdir}/esmtp-plugins/*a 
+rm -rf %{buildroot}%{_libdir}/*a
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%doc README AUTHORS INSTALL ChangeLog COPYING 
-/usr/bin/*
-%dir /usr/%_lib/esmtp-plugins
-/usr/%_lib/esmtp-plugins/*so*
-/usr/%_lib/libesmtp.*so.*
+%doc README AUTHORS ChangeLog COPYING 
+%dir %{_libdir}/esmtp-plugins
+%{_libdir}/esmtp-plugins/*so*
+%{_libdir}/libesmtp.*so.*
 
 %files devel
 %defattr(-,root,root)
-/usr/%_lib/esmtp-plugins/*a
-/usr/include/*
-/usr/%_lib/libesmtp.*so
-/usr/%_lib/*a
-
-%changelog -n libesmtp
+%{_bindir}/libesmtp-config
+%{_includedir}/*.h
+%{_libdir}/libesmtp.*so
+%changelog
+* Tue Sep 04 2007 - mrueckert@xxxxxxx
+- remove postfix from the buildrequires
+- do not package generic INSTALL file
+* Tue Sep 04 2007 - crrodriguez@xxxxxxx
+- fix #307257 missing requires of the libesmtp-devel package
 * Wed Jan 25 2006 - mls@xxxxxxx
 - converted neededforbuild to BuildRequires
 * Tue Jan 17 2006 - lmichnovic@xxxxxxx

++++++ libesmtp-1.0.4-bloat.patch ++++++
Index: libesmtp-config.in
===================================================================
--- libesmtp-config.in.orig     2001-12-12 15:30:37.000000000 +0100
+++ libesmtp-config.in  2007-09-04 08:34:01.000000000 +0200
@@ -69,7 +69,7 @@ while test $# -gt 0; do
                ;;
 
     --libs)
-               echo @PTHREAD_LDFLAGS@ -L@libdir@ -lesmtp @LIBS@ @PTHREAD_LIBS@
+               echo -lesmtp
                ;;
 
     --plugindir)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages