2007-01-16 00:21:43 +01:00
|
|
|
#
|
2010-08-13 02:33:25 +02:00
|
|
|
# spec file for package libesmtp (Version 1.0.6)
|
2007-01-16 00:21:43 +01:00
|
|
|
#
|
2010-05-03 21:37:21 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:43 +01:00
|
|
|
#
|
2008-08-07 01:28:26 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-10-03 01:03:49 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:21:43 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-08-07 01:28:26 +02:00
|
|
|
|
2007-10-03 01:03:49 +02:00
|
|
|
Name: libesmtp
|
2010-08-13 02:33:25 +02:00
|
|
|
Version: 1.0.6
|
|
|
|
Release: 1
|
2011-12-06 18:23:20 +01:00
|
|
|
License: GPL-2.0+ ; LGPL-2.1+
|
2007-10-03 01:03:49 +02:00
|
|
|
Summary: A Library for Posting Electronic Mail
|
2010-08-13 02:33:25 +02:00
|
|
|
Url: http://www.stafford.uklinux.net/libesmtp/
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-10-03 01:03:49 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2010-08-13 02:33:25 +02:00
|
|
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
2007-10-03 01:03:49 +02:00
|
|
|
Patch0: libesmtp-removedecls.diff
|
2010-08-13 02:33:25 +02:00
|
|
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
2008-08-07 01:28:26 +02:00
|
|
|
Patch1: libesmtp-1.0.4-bloat.patch
|
2010-08-13 02:33:25 +02:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:21:43 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libESMTP is a library to manage posting (or submission of) electronic
|
|
|
|
mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
|
|
|
|
Exim. It may be used as part of a Mail User Agent (MUA) or another
|
|
|
|
program that must be able to post electronic mail but where mail
|
|
|
|
functionality is not that program's primary purpose.
|
|
|
|
|
|
|
|
%package devel
|
2011-12-06 18:23:20 +01:00
|
|
|
License: GPL-2.0+ ; LGPL-2.1+
|
2007-10-03 01:03:49 +02:00
|
|
|
Summary: A Library for Posting Electronic Mail
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libesmtp = %{version}
|
2007-01-16 00:21:43 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libESMTP is a library to manage posting (or submission of) electronic
|
|
|
|
mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
|
|
|
|
Exim. It may be used as part of a Mail User Agent (MUA) or another
|
|
|
|
program that must be able to post electronic mail but where mail
|
|
|
|
functionality is not that program's primary purpose.
|
|
|
|
|
2008-08-07 01:28:26 +02:00
|
|
|
%prep
|
2007-10-03 01:03:49 +02:00
|
|
|
%setup -q
|
|
|
|
%patch0
|
2008-08-07 01:28:26 +02:00
|
|
|
%patch1
|
2007-10-03 01:03:49 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --with-pic \
|
|
|
|
--enable-ntlm \
|
2008-08-07 01:28:26 +02:00
|
|
|
--enable-etrn
|
2010-08-13 02:33:25 +02:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-10-03 01:03:49 +02:00
|
|
|
|
|
|
|
%install
|
2010-08-13 02:33:25 +02:00
|
|
|
%makeinstall
|
2007-10-03 01:03:49 +02:00
|
|
|
#uses dlsym not ltdl ..useless files
|
2008-08-07 01:28:26 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/esmtp-plugins/*a
|
2007-10-03 01:03:49 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/*a
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:21:43 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-08-07 01:28:26 +02:00
|
|
|
%doc README AUTHORS ChangeLog COPYING
|
2007-10-03 01:03:49 +02:00
|
|
|
%dir %{_libdir}/esmtp-plugins
|
|
|
|
%{_libdir}/esmtp-plugins/*so*
|
|
|
|
%{_libdir}/libesmtp.*so.*
|
2007-01-16 00:21:43 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-10-03 01:03:49 +02:00
|
|
|
%{_bindir}/libesmtp-config
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/libesmtp.*so
|
2008-08-07 01:28:26 +02:00
|
|
|
|
2007-10-03 01:03:49 +02:00
|
|
|
%changelog
|