update to 1.1.0 [release 1.1.0-1mamba;Fri Nov 26 2021]
This commit is contained in:
parent
10d152dba4
commit
5681e8a2a5
100
libesmtp.spec
100
libesmtp.spec
@ -1,34 +1,19 @@
|
|||||||
Name: libesmtp
|
Name: libesmtp
|
||||||
Version: 1.0.6
|
Version: 1.1.0
|
||||||
Release: 4mamba
|
Release: 1mamba
|
||||||
Summary: SMTP client library
|
Summary: SMTP client library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/jbouse-debian/libesmtp
|
URL: https://libesmtp.github.io/
|
||||||
Source: http://www.stafford.uklinux.net/libesmtp/libesmtp-%{version}.tar.gz
|
Source: https://github.com/libesmtp/libESMTP.git/v%{version}/libESMTP-%{version}.tar.bz2
|
||||||
#Source: ftp://mirror.ovh.net/gentoo-distfiles/distfiles/libesmtp-%{version}.tar.bz2
|
|
||||||
License: GPL, LGPL
|
License: GPL, LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
Obsoletes: libesmtp-static < 1.1.0
|
||||||
|
|
||||||
#*************************
|
|
||||||
#*** libESMTP features ***
|
|
||||||
#*************************
|
|
||||||
# --with-auth-plugin-dir: /usr/lib/esmtp-plugins
|
|
||||||
# --with-lwres: no
|
|
||||||
# --with-openssl: yes
|
|
||||||
# --enable-pthreads: yes
|
|
||||||
# --enable-etrn: yes
|
|
||||||
# --enable-ntlm: no
|
|
||||||
# --enable-chunking: yes
|
|
||||||
# --enable-xusr: yes
|
|
||||||
# --enable-nsauth: yes
|
|
||||||
# --enable-debug: yes
|
|
||||||
|
|
||||||
%description
|
%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 the program's primary purpose.
|
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 the program's primary purpose.
|
||||||
@ -42,59 +27,19 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
SMTP client library.
|
SMTP client library.
|
||||||
This package contains libraries and header files needed for development.
|
This package contains libraries and header files needed for development.
|
||||||
|
|
||||||
%package static
|
|
||||||
Group: Development/Libraries
|
|
||||||
Summary: Static libraries for %{name}
|
|
||||||
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
||||||
|
|
||||||
%description static
|
|
||||||
SMTP client library.
|
|
||||||
This package contains static libraries needed for development.
|
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n libESMTP-%{version}
|
||||||
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
||||||
chmod a-x htable.c
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%meson
|
||||||
--with-auth-plugin-dir=%{_libdir}/esmtp-plugins \
|
|
||||||
--enable-pthreads \
|
|
||||||
--enable-require-all-recipients \
|
|
||||||
--enable-debug \
|
|
||||||
--enable-etrn \
|
|
||||||
--disable-isoc \
|
|
||||||
--disable-more-warnings
|
|
||||||
|
|
||||||
%make
|
%meson_build
|
||||||
|
|
||||||
cat > libesmtp.pc << EOF
|
|
||||||
prefix=%{_prefix}
|
|
||||||
exec_prefix=%{_prefix}
|
|
||||||
libdir=%{_libdir}
|
|
||||||
includedir=%{_includedir}
|
|
||||||
|
|
||||||
Name: libESMTP
|
|
||||||
Version: 1.0.6
|
|
||||||
Description: SMTP client library.
|
|
||||||
Requires: openssl
|
|
||||||
Libs: -pthread -L\${libdir} -lesmtp
|
|
||||||
Cflags:
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat > libesmtp-config << EOF
|
|
||||||
#! /bin/sh
|
|
||||||
exec pkg-config "\$@" libesmtp
|
|
||||||
EOF
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%meson_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_exec_prefix}/lib/pkgconfig
|
|
||||||
install -pm 644 libesmtp.pc %{buildroot}%{_exec_prefix}/lib/pkgconfig/libesmtp.pc
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -105,27 +50,24 @@ install -pm 644 libesmtp.pc %{buildroot}%{_exec_prefix}/lib/pkgconfig/libesmtp.p
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libesmtp.so.*
|
%{_libdir}/libesmtp.so.*
|
||||||
%dir %{_libdir}/esmtp-plugins
|
%dir %{_libdir}/esmtp-plugins-*
|
||||||
%{_libdir}/esmtp-plugins/sasl-cram-md5.so
|
%{_libdir}/esmtp-plugins-*/sasl-*.so
|
||||||
%{_libdir}/esmtp-plugins/sasl-login.so
|
%doc COPYING.GPL
|
||||||
%{_libdir}/esmtp-plugins/sasl-plain.so
|
|
||||||
%doc AUTHORS COPYING.LIB
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/libesmtp-config
|
%{_includedir}/auth-client.h
|
||||||
%{_includedir}/*.h
|
%{_includedir}/libesmtp.h
|
||||||
%{_libdir}/libesmtp.so
|
%{_libdir}/libesmtp.so
|
||||||
%{_exec_prefix}/lib/pkgconfig/libesmtp.pc
|
%{_libdir}/pkgconfig/libesmtp-1.0.pc
|
||||||
%doc examples COPYING
|
|
||||||
%doc ChangeLog NEWS README TODO
|
|
||||||
|
|
||||||
%files static
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libesmtp.*a
|
|
||||||
%{_libdir}/esmtp-plugins/sasl-*a
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
||||||
|
- update to 1.1.0
|
||||||
|
|
||||||
|
* Fri Nov 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.6-5mamba
|
||||||
|
- fix pkgconfig file install path
|
||||||
|
|
||||||
* Sat Dec 05 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.6-4mamba
|
* Sat Dec 05 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.6-4mamba
|
||||||
- rebuilt with debug package and aarch64 build fix
|
- rebuilt with debug package and aarch64 build fix
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user