Accepting request 80615 from home:adrianSuSE:branches:devel:languages:python

version update

OBS-URL: https://build.opensuse.org/request/show/80615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=3
This commit is contained in:
Sascha Peilicke
2011-09-02 09:21:32 +00:00
committed by Git OBS Bridge
parent b0ba297c74
commit b834b26ac1
4 changed files with 32 additions and 35 deletions

View File

@@ -1,40 +1,22 @@
%define modname keyring
Name: python-%{modname}
Version: 0.2
Version: 0.6.2
Release: 1
Summary: Python Library That Provides Access to KDE/Gnome/MacOS/Windows keyrings
URL: http://pypi.python.org/pypi/keyring
License: LGPL v2 or later
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
Source: http://pypi.python.org/packages/source/k/%{modname}/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel libkde4-devel gnome-keyring-devel
Supplements: python-keyring-kde
Supplements: python-keyring-gnome
Obsoletes: python-keyring-kde
Obsoletes: python-keyring-gnome
%description
Generic keyring library for python applications. It can be used standalone or with
wrapper plugins for KDE or Gnome.
%package kde
Summary: KDE KWallet support for python keyring
Group: Development/Libraries/Python
Requires: python-keyring
%description kde
This plugin enhances python keyring applications to use the KDE 4 Wallet system to
store passwords.
%package gnome
Summary: Gnome keyring support for python keyring
Group: Development/Libraries/Python
Requires: python-keyring
%description gnome
This plugin enhances python keyring applications to use the Gnome keyring system to
store passwords.
%prep
%setup -q -n %{modname}-%{version}
@@ -53,14 +35,6 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README.txt
%py_libdir/site-packages/keyring*
%files kde
%defattr(-,root,root)
%py_libdir/site-packages/kde_kwallet.so
%files gnome
%defattr(-,root,root)
%py_libdir/site-packages/gnome_keyring.so
%doc README CHANGES.txt
%{python_sitelib}/keyring*