libetpan/libetpan.spec

100 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: libetpan
Epoch: 1
Version: 1.9.4
Release: 1mamba
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
Patch0: libetpan-20130506git-NULL-missing-include.patch
Patch1: libetpan-1.9.4-Detect-extra-data-after-STARTTLS-response-and-exit-3.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbrotli-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libdb53-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libgcc
BuildRequires: libgsasl-devel
BuildRequires: libgss-devel
BuildRequires: libidn-devel
BuildRequires: libidn2-devel
BuildRequires: libkrb5-devel
BuildRequires: libnghttp2-devel
BuildRequires: libntlm-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpsl-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl2-devel
BuildRequires: libssh2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunistring-devel
BuildRequires: libz-devel
BuildRequires: libzstd-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
#%patch0 -p1
%patch1 -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)
#%{_bindir}/libetpan-config
%{_includedir}/libetpan.h
%dir %{_includedir}/libetpan
%{_includedir}/libetpan/*.h
%{_libdir}/libetpan.a
%{_libdir}/libetpan.la
%{_libdir}/libetpan.so
%{_libdir}/pkgconfig/libetpan.pc
%doc ChangeLog NEWS
%changelog
* 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