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