File python-GnuPG-Interface.spec of Package python-GnuPG-Interface
#
# spec file for package python-GnuPG-Interface (Version 0.3.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-GnuPG-Interface
Summary: GnuPG-Interface module for python
Version: 0.3.2
Release: 126
Source: GnuPGInterface-%{version}.tar.bz2
License: LGPLv2+
Group: Development/Libraries/Python
Url: http://py-gnupg.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gpg
BuildRequires: python-devel
Requires: gpg
%{py_requires}
%if 0%{?suse_version} < 1120
%define python_sitelib %{py_sitedir}
%else
BuildArch: noarch
%endif
%description
GnuPGInterface is a Python module to interface with GnuPG. It
concentrates on interacting with GnuPG via filehandles, providing
access to control GnuPG via versatile and extensible means.
%prep
%setup -q -n GnuPGInterface-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS README THANKS
%{python_sitelib}/GnuPGInterface.py*
%{python_sitelib}/*.egg-info
%changelog