]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
pygpgme: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Mar 2012 12:53:22 +0000 (13:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Mar 2012 12:53:22 +0000 (13:53 +0100)
This is a python module which makes libgpgme usable with python.

pygpgme/pygpgme.nm [new file with mode: 0644]

diff --git a/pygpgme/pygpgme.nm b/pygpgme/pygpgme.nm
new file mode 100644 (file)
index 0000000..f3facd7
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = pygpgme
+version    = 0.3
+release    = 1
+
+groups     = Development/Languages
+url        = http://cheeseshop.python.org/pypi/pygpgme
+license    = LGPLv2+
+summary    = Python module for working with OpenPGP messages.
+
+description
+       PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt
+       files using the OpenPGP format.  It is built on top of GNU Privacy Guard and
+       the GPGME library.
+end
+
+source_dl  = http://cheeseshop.python.org/packages/source/p/%{name}/
+
+build
+       requires
+               gpgme-devel
+               python-devel
+       end
+
+       build
+               python setup.py build
+       end
+
+       install
+               python setup.py install --skip-build --root %{BUILDROOT}
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end