libesmtp/libesmtp.spec

85 lines
2.4 KiB
RPMSpec

Name: libesmtp
Version: 1.1.0
Release: 1mamba
Summary: SMTP client library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libesmtp.github.io/
Source: https://github.com/libesmtp/libESMTP.git/v%{version}/libESMTP-%{version}.tar.bz2
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
Obsoletes: libesmtp-static < 1.1.0
%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.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
SMTP client library.
This package contains libraries and header files needed for development.
%debug_package
%prep
%setup -q -n libESMTP-%{version}
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libesmtp.so.*
%dir %{_libdir}/esmtp-plugins-*
%{_libdir}/esmtp-plugins-*/sasl-*.so
%doc COPYING.GPL
%files devel
%defattr(-,root,root)
%{_includedir}/auth-client.h
%{_includedir}/libesmtp.h
%{_libdir}/libesmtp.so
%{_libdir}/pkgconfig/libesmtp-1.0.pc
%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
- rebuilt with debug package and aarch64 build fix
* Mon Mar 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.6-3mamba
- fix libdir in pkg-config file
* Thu Feb 03 2011 gil <puntogil@libero.it> 1.0.6-2mamba
- rebuilt devel
* Thu Dec 23 2010 gil <puntogil@libero.it> 1.0.6-1mamba
- update to 1.0.6
* Thu Oct 21 2010 gil <puntogil@libero.it> 1.0.4-1mamba
- package created by autospec