- release 2 (by relup.sh)
[packages/python-keyring.git] / python-keyring.spec
CommitLineData
5f9ca321
ER
1%define module keyring
2Summary: Python library to access the system keyring service
3Name: python-%{module}
cb9eb7fd 4Version: 0.6.2
51d1e184 5Release: 2
5f9ca321 6Source0: http://pypi.python.org/packages/source/k/keyring/%{module}-%{version}.tar.gz
cb9eb7fd 7# Source0-md5: b21b5783c375fc09abdc060b4edc062f
5f9ca321
ER
8License: Python
9Group: Development/Libraries
10URL: http://pypi.python.org/pypi/keyring
11BuildRequires: python-devel
12BuildRequires: rpmbuild(macros) >= 1.219
cb9eb7fd
ER
13# CryptedFileKeyring
14Suggests: python-Crypto
15# KDEKWallet
16Suggests: python-PyKDE4
17# GnomeKeyring
18Suggests: python-gnome-desktop-keyring
5f9ca321
ER
19Obsoletes: python-keyring-gnome < 0.5.1
20Obsoletes: python-keyring-kwallet < 0.5.1
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25The Python keyring lib provides a easy way to access the system
26keyring service from python. It can be used in any application that
27needs safe password storage.
28
29This package only provides file-based pseudo-keyrings. To interface
30with gnome-keyring or KWallet, please install one of
31python-keyring-gnome or python-keyring-kwallet.
32
33%prep
34%setup -q -n %{module}-%{version}
35
36%build
60fd9596 37%py_build
5f9ca321
ER
38
39%install
40rm -rf $RPM_BUILD_ROOT
60fd9596 41%py_install
5f9ca321
ER
42
43%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
44
45install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46cp -a demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47
48%py_postclean
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
cb9eb7fd 55%doc CHANGES.txt CONTRIBUTORS.txt README
5f9ca321
ER
56%{py_sitescriptdir}/%{module}
57%{py_sitescriptdir}/%{module}-*.egg-info
58%{_examplesdir}/%{name}-%{version}
This page took 0.117248 seconds and 4 git commands to generate.