diff --git a/README.md b/README.md index b3f4e17..9296120 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libksba +A library to access X.509 and CMS data structures. + diff --git a/libksba.spec b/libksba.spec new file mode 100644 index 0000000..9f7586a --- /dev/null +++ b/libksba.spec @@ -0,0 +1,101 @@ +Name: libksba +Version: 1.3.0 +Release: 1mamba +Summary: A library to access X.509 and CMS data structures +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnupg.org +Source: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2 +License: GPL +Requires(post):%{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library to access X.509 and CMS data structures. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A library to access X.509 and CMS data structures. +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure --disable-static +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +/sbin/ldconfig +%install_info ksba.info + +%postun -p /sbin/ldconfig + +%preun +%uninstall_info ksba.info +exit 0 + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%{_infodir}/ksba.info.* +%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO + +%files devel +%defattr(-,root,root) +%{_bindir}/ksba-config +%{_datadir}/aclocal/ksba.m4 +%{_includedir}/*.h +%{_libdir}/*.la +%{_libdir}/*.so + +%changelog +* Sun Oct 14 2012 Automatic Build System 1.3.0-1mamba +- automatic version update by autodist + +* Mon Mar 14 2011 Automatic Build System 1.2.0-1mamba +- automatic update by autodist + +* Mon Nov 08 2010 Automatic Build System 1.1.0-1mamba +- automatic update by autodist + +* Thu Jul 22 2010 Automatic Build System 1.0.8-1mamba +- automatic update by autodist + +* Sat Jul 11 2009 Automatic Build System 1.0.7-1mamba +- automatic update by autodist + +* Tue Jun 09 2009 Automatic Build System 1.0.6-1mamba +- automatic update by autodist + +* Mon Mar 02 2009 Silvan Calarco 1.0.5-1mamba +- automatic update by autodist + +* Mon Jan 05 2009 Silvan Calarco 1.0.4-1mamba +- automatic update by autodist + +* Mon Jul 09 2007 Aleph0 1.0.2-1mamba +- update to 1.0.2 + +* Wed Dec 21 2005 Davide Madrisan 0.9.13-1qilnx +- update to version 0.9.13 by autospec + +* Wed Sep 14 2005 Davide Madrisan 0.9.12-1qilnx +- update to version 0.9.12 by autospec +- specfile scriplets updated to install/uninstall info stuff + +* Tue Oct 12 2004 Silvan Calarco 0.9.9-1qilnx +- package created by autospec