SPECS: python-pygpgme.spec (NEW) - initial release
patrys
patrys at pld-linux.org
Tue Feb 12 13:05:53 CET 2008
Author: patrys Date: Tue Feb 12 12:05:53 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial release
---- Files affected:
SPECS:
python-pygpgme.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-pygpgme.spec
diff -u /dev/null SPECS/python-pygpgme.spec:1.1
--- /dev/null Tue Feb 12 13:05:53 2008
+++ SPECS/python-pygpgme.spec Tue Feb 12 13:05:48 2008
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary: A Python wrapper for the GPGME library
+Name: python-pygpgme
+Version: 0.1
+Release: 1
+License: MIT
+Group: Libraries/Python
+Source0: http://pypi.python.org/packages/source/p/pygpgme/pygpgme-%{version}.tar.gz
+# Source0-md5: 0878d866b6ee8a98a9003a81934ecee3
+URL: https://launchpad.net/products/pygpgme
+BuildRequires: python-devel >= 1:2.5.0
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyGPGME is a Python module that lets you sign, verify, encrypt and
+decrypt messages using the OpenPGP format.
+
+%prep
+%setup -q -n pygpgme-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" | xargs rm
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/gpgme/tests
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/pygpgme-%{version}-py*.egg-info
+%dir %{py_sitedir}/gpgme
+%attr(755,root,root) %{py_sitedir}/gpgme/_gpgme.so
+%{py_sitedir}/gpgme/*.py[co]
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-02-12 12:05:48 patrys
+- initial release
+
================================================================
More information about the pld-cvs-commit
mailing list