This commit is contained in:
commit
31393a9b49
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
14
pygpgme-0.1-py23.patch
Normal file
14
pygpgme-0.1-py23.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- pygpgme-0.1/src/pygpgme.h.py23 2006-10-13 09:21:33.000000000 -0700
|
||||
+++ pygpgme-0.1/src/pygpgme.h 2006-10-13 09:22:41.000000000 -0700
|
||||
@@ -23,6 +23,11 @@
|
||||
#include <Python.h>
|
||||
#include <gpgme.h>
|
||||
|
||||
+/* For python 2.3 compatibility */
|
||||
+#ifndef Py_RETURN_NONE
|
||||
+#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
|
||||
+#endif
|
||||
+
|
||||
#define HIDDEN __attribute__((visibility("hidden")))
|
||||
|
||||
typedef struct {
|
3
pygpgme-0.1.tar.bz2
Normal file
3
pygpgme-0.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a6a0712afaa589faf5c5e19b8d5ee2369298a3a51d3377927edec89b7f0101f
|
||||
size 45681
|
5
python-gpgme.changes
Normal file
5
python-gpgme.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 14:37:24 CET 2008 - cthiel@suse.de
|
||||
|
||||
- initial package (version 0.1)
|
||||
|
60
python-gpgme.spec
Normal file
60
python-gpgme.spec
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package python-gpgme (Version 0.1)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: python-gpgme
|
||||
Version: 0.1
|
||||
Release: 1
|
||||
Summary: A Python module for working with OpenPGP messages
|
||||
Group: Development/Libraries/Python
|
||||
License: LGPL v2.1 or later
|
||||
Url: http://pypi.python.org/pypi/pygpgme
|
||||
Source: pygpgme-%{version}.tar.bz2
|
||||
Patch: pygpgme-0.1-py23.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: gpgme-devel
|
||||
|
||||
%description
|
||||
PyGPGME is a Python module that lets you sign, verify, encrypt and
|
||||
decrypt messages using the OpenPGP format.
|
||||
|
||||
It is built on top of the GNU Privacy Guard and the GPGME library.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
James Henstridge <james@jamesh.id.au>
|
||||
|
||||
%prep
|
||||
%setup -q -n pygpgme-%{version}
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
#CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --root $RPM_BUILD_ROOT --prefix=%{_prefix}
|
||||
# No need to ship the tests
|
||||
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/gpgme/tests/
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README PKG-INFO
|
||||
%{py_sitedir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 01 2008 cthiel@suse.de
|
||||
- initial package (version 0.1)
|
Loading…
x
Reference in New Issue
Block a user