diff --git a/README.md b/README.md index e3230ab..006e7b8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libimap-c-client +University of Washington IMAP client library. + diff --git a/libimap-c-client.spec b/libimap-c-client.spec new file mode 100644 index 0000000..b5bf752 --- /dev/null +++ b/libimap-c-client.spec @@ -0,0 +1,71 @@ +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 +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 2007f-1mamba +- automatic version update by autodist + +* Mon Jul 27 2009 Silvan Calarco 2007e-1mamba +- update to 2007e + +* Wed May 10 2006 Stefano Cotta Ramusino 2004g-1qilnx +- update to version 2004g by autospec +- added license + +* Thu Dec 18 2003 Silvan Calarco 2002e-1qilnx +- new version rebuild + +* Tue Sep 09 2003 Silvan Calarco 2002d-1qilnx +- first build