2009-09-07 09:09:43 +00:00
|
|
|
%define modname keyring
|
|
|
|
Name: python-%{modname}
|
2011-09-02 09:21:32 +00:00
|
|
|
Version: 0.6.2
|
2009-09-07 09:09:43 +00:00
|
|
|
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
|
2011-09-02 09:21:32 +00:00
|
|
|
Source: http://pypi.python.org/packages/source/k/%{modname}/%{modname}-%{version}.tar.gz
|
2009-09-07 09:09:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
|
|
%{py_requires}
|
|
|
|
BuildRequires: python-devel libkde4-devel gnome-keyring-devel
|
2011-09-02 09:21:32 +00:00
|
|
|
Obsoletes: python-keyring-kde
|
|
|
|
Obsoletes: python-keyring-gnome
|
2009-09-07 09:09:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Generic keyring library for python applications. It can be used standalone or with
|
|
|
|
wrapper plugins for KDE or Gnome.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" \
|
|
|
|
%__python ./setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%__python ./setup.py install \
|
|
|
|
--prefix="%{_prefix}" \
|
|
|
|
--root="%{buildroot}"
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-09-02 09:21:32 +00:00
|
|
|
%doc README CHANGES.txt
|
|
|
|
%{python_sitelib}/keyring*
|
2009-09-07 09:09:43 +00:00
|
|
|
|