72 lines
2.1 KiB
RPMSpec
72 lines
2.1 KiB
RPMSpec
Name: libimap-c-client
|
|
Version: 2007f
|
|
Release: 1mamba
|
|
Summary: University of Washington IMAP client library
|
|
Group: Network/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.washington.edu/imap/
|
|
Source: ftp://ftp.cac.washington.edu/imap/imap-%{version}.tar.gz
|
|
License: Free-Fork License
|
|
Requires: libopenssl-devel >= 0.9.7b
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
University of Washington IMAP client library.
|
|
|
|
%package devel
|
|
Summary: Development package of %{name}
|
|
Group: Development/Libraries
|
|
|
|
%description devel
|
|
University of Washington IMAP client library.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q -n imap-%{version}
|
|
|
|
%build
|
|
make slx SSLDIR=%{_prefix} GCCOPTLEVEL="%{optflags}"
|
|
|
|
%install
|
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
|
|
|
install -d %{buildroot}%{_libdir}/imap-%{version}/{%{_lib},include}
|
|
install -m 644 c-client/*.h \
|
|
%{buildroot}%{_libdir}/imap-%{version}/include
|
|
install -m 644 c-client/*.c \
|
|
%{buildroot}%{_libdir}/imap-%{version}/%{_lib}
|
|
install -m 644 c-client/*.a \
|
|
%{buildroot}%{_libdir}/imap-%{version}/%{_lib}
|
|
|
|
ln -sf imap-%{version} %{buildroot}%{_libdir}/imap
|
|
ln -sf c-client.a %{buildroot}%{_libdir}/imap-%{version}/%{_lib}/libc-client.a
|
|
|
|
%clean
|
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/imap-%{version}/
|
|
%{_libdir}/imap-%{version}/*
|
|
%{_libdir}/imap
|
|
|
|
%changelog
|
|
* Wed Jul 11 2012 Automatic Build System <autodist@mambasoft.it> 2007f-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jul 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2007e-1mamba
|
|
- update to 2007e
|
|
|
|
* Wed May 10 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2004g-1qilnx
|
|
- update to version 2004g by autospec
|
|
- added license
|
|
|
|
* Thu Dec 18 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2002e-1qilnx
|
|
- new version rebuild
|
|
|
|
* Tue Sep 09 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2002d-1qilnx
|
|
- first build
|