libetpan/libetpan.spec

76 lines
1.8 KiB
RPMSpec

Name: libetpan
Version: 20130506git
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/
## GITSOURCE git://github.com/dinhviethoa/libetpan.git
Source: git://github.com/dinhviethoa/libetpan.git/master/libetpan-%{version}.tar.bz2
Patch0: libetpan-20130506git-NULL-missing-include.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdb51-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libsasl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%build
./autogen.sh
%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
%doc ChangeLog NEWS
%changelog
* Mon May 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20130506git-1mamba
- package created by silvan using the webbuild interface