diff --git a/README.md b/README.md index ed59b15..9be9546 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libgpgme +GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. +Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). + diff --git a/libgpgme.spec b/libgpgme.spec new file mode 100644 index 0000000..423cf3f --- /dev/null +++ b/libgpgme.spec @@ -0,0 +1,120 @@ +Name: libgpgme +Version: 1.4.3 +Release: 1mamba +Summary: A library designed to make access to GnuPG easier for applications +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnupg.org/(en)/related_software/gpgme/index.html +Source: ftp://ftp.gnupg.org/GnuPG/gpgme/gpgme-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgpg-error-devel +BuildRequires: libpth-devel +## AUTOBUILDREQ-END +BuildRequires: pkgconfig +BuildRequires: gnupg2 >= 1.9.6 +BuildRequires: libassuan-devel >= 0.6.7 +Requires(post):%{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. +Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). + +%package devel +Summary: Devel files for libgpgme +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. +Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n gpgme-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel +%install_info gpgme.info + +%preun devel +%uninstall_info gpgme.info +exit 0 + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO + +%files devel +%defattr(-,root,root) +%{_bindir}/gpgme-config +%{_datadir}/aclocal/gpgme.m4 +%{_includedir}/gpgme.h +%{_libdir}/*.la +%{_libdir}/*.so +%{_infodir}/gpgme.info* +%{_datadir}/common-lisp/source/gpgme/* + +%changelog +* Thu Aug 15 2013 Automatic Build System 1.4.3-1mamba +- automatic update by autodist + +* Fri Jun 07 2013 Automatic Build System 1.4.2-1mamba +- automatic version update by autodist + +* Wed May 08 2013 Automatic Build System 1.4.1-1mamba +- automatic version update by autodist + +* Thu Feb 28 2013 Automatic Build System 1.4.0-1mamba +- automatic version update by autodist + +* Tue Jun 12 2012 Automatic Build System 1.3.2-1mamba +- automatic version update by autodist + +* Fri Jun 24 2011 Automatic Build System 1.3.1-1mamba +- automatic update by autodist + +* Tue Jan 19 2010 Automatic Build System 1.3.0-1mamba +- automatic update by autodist + +* Mon Jun 29 2009 Automatic Build System 1.2.0-1mamba +- automatic update by autodist + +* Tue Jan 06 2009 Silvan Calarco 1.1.8-1mamba +- automatic update by autodist + +* Sat Apr 05 2008 Silvan Calarco 1.1.6-1mamba +- update to 1.1.6 + +* Wed Mar 21 2007 Davide Madrisan 1.1.4-1qilnx +- update to version 1.1.4 by autospec +- also fixes the security issue CVE-2007-1263 + +* Sun Mar 04 2007 Silvan Calarco 1.1.3-1qilnx +- update to version 1.1.3 by autospec + +* Mon Oct 10 2005 Davide Madrisan 1.1.0-1qilnx +- update to version 1.1.0 by autospec +- specfile fixes: run ldconfig, install/uninstall info files, use rpm macros + +* Tue Oct 12 2004 Silvan Calarco 1.0.0-1qilnx +- first build