libetpan/libetpan.spec

83 lines
2.0 KiB
RPMSpec

Name: libetpan
Epoch: 1
Version: 1.9.4
Release: 2mamba
Summary: Mail Framework for C Language
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.etpan.org/
Source: https://github.com/dinhviethoa/libetpan.git/master/libetpan-%{version}.tar.bz2
Patch1: libetpan-1.9.4-Detect-extra-data-after-STARTTLS-response-and-exit-3.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libdb53-devel
BuildRequires: libexpat-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libsasl2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
Mail Framework for C Language.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%patch 1 -p1
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libetpan.so.*
%doc COPYRIGHT
%files devel
%defattr(-,root,root)
%{_includedir}/libetpan.h
%dir %{_includedir}/libetpan
%{_includedir}/libetpan/*.h
%{_libdir}/libetpan.a
%{_libdir}/libetpan.so
%{_libdir}/pkgconfig/libetpan.pc
%doc ChangeLog NEWS
%changelog
* Wed Jan 31 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.4-2mamba
- rebuilt with current openldap and others
* Sun Jul 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.4-1mamba
- update to 1.9.4
* Mon May 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20130506git-1mamba
- package created by silvan using the webbuild interface