|
Ratnadeep Debnath |
22821d4 |
%global with_python3 1
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
820deed |
Name: python-keyring
|
|
|
7ecd9f7 |
Version: 3.4
|
|
Ratnadeep Debnath |
22821d4 |
Release: 1%{?dist}
|
|
|
7ecd9f7 |
Summary: Python 2 library to store and access passwords safely
|
|
|
7ecd9f7 |
License: Python
|
|
Christopher Meng |
5e9c40a |
URL: http://bitbucket.org/kang/python-keyring-lib/
|
|
Ratnadeep Debnath |
22821d4 |
Source0: http://pypi.python.org/packages/source/k/keyring/keyring-%{version}.zip
|
|
Ratnadeep Debnath |
4d6f47a |
BuildArch: noarch
|
|
Christopher Meng |
5e9c40a |
BuildRequires: python2-devel
|
|
Christopher Meng |
5e9c40a |
BuildRequires: python-setuptools
|
|
|
7ecd9f7 |
Obsoletes: %{name}-kwallet < %{version}-%{release}
|
|
|
7ecd9f7 |
Obsoletes: %{name}-gnome < %{version}-%{release}
|
|
Ratnadeep Debnath |
820deed |
|
|
Ratnadeep Debnath |
820deed |
%description
|
|
rtnpro |
74f7c59 |
The Python keyring lib provides a easy way to access the system keyring
|
|
rtnpro |
74f7c59 |
service from python. It can be used in any application that needs safe
|
|
Ratnadeep Debnath |
820deed |
password storage.
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
The keyring services supported by the Python keyring lib:
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
* **OSXKeychain**: supports the Keychain service in Mac OS X.
|
|
Christopher Meng |
5e9c40a |
* **KDEKWallet**: supports the KDE's Kwallet service.
|
|
Christopher Meng |
5e9c40a |
* **GnomeKeyring**: for Gnome 2 environment.
|
|
Christopher Meng |
5e9c40a |
* **SecretServiceKeyring**: for newer GNOME and KDE environments.
|
|
Christopher Meng |
5e9c40a |
* **WinVaultKeyring**: supports the Windows Credential Vault
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
Besides these native password storing services provided by operating systems.
|
|
Christopher Meng |
5e9c40a |
Python keyring lib also provides following build-in keyrings.
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
* **Win32CryptoKeyring**: for Windows 2k+.
|
|
Christopher Meng |
5e9c40a |
* **CryptedFileKeyring**: a command line interface keyring base on PyCrypto.
|
|
Christopher Meng |
5e9c40a |
* **UncryptedFileKeyring**: a keyring which leaves passwords directly in file.
|
|
Ratnadeep Debnath |
820deed |
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Christopher Meng |
5e9c40a |
%package -n python3-keyring
|
|
|
7ecd9f7 |
Summary: Python 3 library to access the system keyring service
|
|
Christopher Meng |
5e9c40a |
BuildRequires: python3-devel
|
|
Christopher Meng |
5e9c40a |
BuildRequires: python3-setuptools
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
22821d4 |
%description -n python3-keyring
|
|
Ratnadeep Debnath |
22821d4 |
The Python keyring lib provides a easy way to access the system keyring
|
|
Ratnadeep Debnath |
22821d4 |
service from python. It can be used in any application that needs safe
|
|
Ratnadeep Debnath |
22821d4 |
password storage.
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
The keyring services supported by the Python keyring lib:
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
* **OSXKeychain**: supports the Keychain service in Mac OS X.
|
|
Christopher Meng |
5e9c40a |
* **KDEKWallet**: supports the KDE's Kwallet service.
|
|
Christopher Meng |
5e9c40a |
* **GnomeKeyring**: for Gnome 2 environment.
|
|
Christopher Meng |
5e9c40a |
* **SecretServiceKeyring**: for newer GNOME and KDE environments.
|
|
Christopher Meng |
5e9c40a |
* **WinVaultKeyring**: supports the Windows Credential Vault
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
Besides these native password storing services provided by operating systems.
|
|
Christopher Meng |
5e9c40a |
Python keyring lib also provides following build-in keyrings.
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
* **Win32CryptoKeyring**: for Windows 2k+.
|
|
Christopher Meng |
5e9c40a |
* **CryptedFileKeyring**: a command line interface keyring base on PyCrypto.
|
|
Christopher Meng |
5e9c40a |
* **UncryptedFileKeyring**: a keyring which leaves passwords directly in file.
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Ratnadeep Debnath |
820deed |
|
|
Ratnadeep Debnath |
820deed |
%prep
|
|
Christopher Meng |
5e9c40a |
%setup -qn keyring-%{version}
|
|
Christopher Meng |
5e9c40a |
rm -rf keyring.egg-info
|
|
Christopher Meng |
48c57f1 |
sed -i '1{\@^#!/usr/bin/env python@d}' keyring/cli.py
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Ratnadeep Debnath |
22821d4 |
rm -rf %{py3dir}
|
|
Ratnadeep Debnath |
22821d4 |
cp -a . %{py3dir}
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
820deed |
%build
|
|
Christopher Meng |
5e9c40a |
%{__python2} setup.py build
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Ratnadeep Debnath |
22821d4 |
pushd %{py3dir}
|
|
Christopher Meng |
5e9c40a |
%{__python3} setup.py build
|
|
Ratnadeep Debnath |
22821d4 |
popd
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
820deed |
%install
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Ratnadeep Debnath |
22821d4 |
pushd %{py3dir}
|
|
Christopher Meng |
5e9c40a |
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
7ecd9f7 |
cp -a %{buildroot}%{_bindir}/keyring %{buildroot}%{_bindir}/keyring-%{python3_version}
|
|
Ratnadeep Debnath |
22821d4 |
popd
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Christopher Meng |
5e9c40a |
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
# Failed on Koji due to X environment not available.
|
|
Christopher Meng |
5e9c40a |
#%check
|
|
Christopher Meng |
5e9c40a |
#%if 0%{?with_python3}
|
|
Christopher Meng |
5e9c40a |
#pushd %{py3dir}
|
|
Christopher Meng |
5e9c40a |
#%{__python3} setup.py ptr
|
|
Christopher Meng |
5e9c40a |
#nosetests-%{python3_version}
|
|
Christopher Meng |
5e9c40a |
#popd
|
|
Christopher Meng |
5e9c40a |
#%endif
|
|
Christopher Meng |
5e9c40a |
#%{__python2} setup.py ptr
|
|
Christopher Meng |
5e9c40a |
#nosetests
|
|
Ratnadeep Debnath |
820deed |
|
|
rtnpro |
74f7c59 |
%files
|
|
|
7ecd9f7 |
%doc CHANGES.rst README.rst CONTRIBUTORS.txt demo/
|
|
Ratnadeep Debnath |
22821d4 |
%{_bindir}/keyring
|
|
Christopher Meng |
5e9c40a |
%{python2_sitelib}/keyring
|
|
Christopher Meng |
5e9c40a |
%{python2_sitelib}/keyring-%{version}-py%{python2_version}.egg-info
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Ratnadeep Debnath |
22821d4 |
%files -n python3-keyring
|
|
|
7ecd9f7 |
%doc CHANGES.rst README.rst CONTRIBUTORS.txt demo/
|
|
Christopher Meng |
5e9c40a |
%{_bindir}/keyring-%{python3_version}
|
|
Christopher Meng |
5e9c40a |
%{python3_sitelib}/keyring-%{version}-py%{python3_version}.egg-info
|
|
Christopher Meng |
5e9c40a |
%{python3_sitelib}/keyring
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
4d6f47a |
%changelog
|
|
|
7ecd9f7 |
* Thu Feb 13 2014 Christopher Meng <rpm@cicku.me> - 3.4-1
|
|
|
7ecd9f7 |
- Update to 3.4(BZ#1064256)
|
|
|
7ecd9f7 |
- Ensure the obsolete line works for the old packages really.
|
|
|
7ecd9f7 |
|
|
Christopher Meng |
5e9c40a |
* Mon Dec 02 2013 Christopher Meng <rpm@cicku.me> - 3.3-1
|
|
Christopher Meng |
5e9c40a |
- Update to 3.3(BZ#1007354,BZ#872262)
|
|
Christopher Meng |
5e9c40a |
- Cleanup dependencies mess(BZ#1030944).
|
|
Christopher Meng |
5e9c40a |
- Optimize the %%changelog section of the spec.
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
* Tue Oct 22 2013 Ratnadeep Debnath <rtnpro@gmail.com> - 3.1-1
|
|
Ratnadeep Debnath |
22821d4 |
- Bump to version 3.1
|
|
|
fc952d1 |
|
|
|
16af5db |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
|
|
|
16af5db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
16af5db |
|
|
|
121bfb0 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
|
121bfb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
121bfb0 |
|
|
Christopher Meng |
5e9c40a |
* Sat Jan 14 2012 Ratnadeep Debnath <rtnpro@gmail.com> 0.7-1
|
|
rtnpro |
74f7c59 |
- Python 3 is now supported. All tests now pass under Python 3.2 on Windows and
|
|
rtnpro |
74f7c59 |
Linux (although Linux backend support is limited). Fixes #28.
|
|
rtnpro |
74f7c59 |
- Extension modules on Mac and Windows replaced by pure-Python ctypes
|
|
rtnpro |
74f7c59 |
implementations. Thanks to Jérôme Laheurte.
|
|
rtnpro |
74f7c59 |
- WinVaultKeyring now supports multiple passwords for the same service.
|
|
rtnpro |
74f7c59 |
Fixes #47.
|
|
rtnpro |
74f7c59 |
- Most of the tests don't require user interaction anymore.
|
|
rtnpro |
74f7c59 |
- Entries stored in Gnome Keyring appears now with a meaningful name if you try
|
|
rtnpro |
74f7c59 |
to browser your keyring (for ex. with Seahorse)
|
|
rtnpro |
74f7c59 |
- Tests from Gnome Keyring no longer pollute the user own keyring.
|
|
rtnpro |
74f7c59 |
- keyring.util.escape now accepts only unicode strings. Don't try to encode
|
|
rtnpro |
74f7c59 |
strings passed to it.
|
|
|
3eb94f2 |
|
|
Christopher Meng |
5e9c40a |
* Tue Nov 08 2011 Ratnadeep Debnath <rtnpro@gmail.com> 0.6.2-1
|
|
rtnpro |
74f7c59 |
- fix compiling on OSX with XCode 4.0
|
|
rtnpro |
74f7c59 |
- Gnome keyring should not be used if there is no DISPLAY or if the dbus is not around
|
|
rtnpro |
74f7c59 |
(https://bugs.launchpad.net/launchpadlib/+bug/752282).
|
|
rtnpro |
74f7c59 |
- Added keyring.http for facilitating HTTP Auth using keyring.
|
|
rtnpro |
74f7c59 |
- Add a utility to access the keyring from the command line.
|
|
|
8fe6068 |
|
|
Christopher Meng |
5e9c40a |
* Mon Jan 10 2011 Ratnadeep Debnath <rtnpro@gmail.com> 0.5.1-1
|
|
Ratnadeep Debnath |
4d6f47a |
- Remove a spurious KDE debug message when using KWallet
|
|
Ratnadeep Debnath |
4d6f47a |
- Fix a bug that caused an exception if the user canceled the KWallet dialog
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Sun Nov 28 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.5-2
|
|
rtnpro |
74f7c59 |
- Removed sub-packages: gnome and kwallet; removed "Requires: PyKDE4 PyQt4"
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Mon Nov 22 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.5-1
|
|
Ratnadeep Debnath |
4d6f47a |
- RPM for keyring-0.5
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Mon Nov 01 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.4-1
|
|
Ratnadeep Debnath |
820deed |
- Updated rpm to python-keyring version 0.4
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Sat Oct 30 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.2-4
|
|
Ratnadeep Debnath |
820deed |
- Filtered gnome_keyring.so from the provides list, removed kdelibs-devel
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Sat Oct 02 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.2-3
|
|
Ratnadeep Debnath |
820deed |
- Updated dependencies to kdelibs4-devel, some cleanup
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Tue Aug 24 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.2-2
|
|
Ratnadeep Debnath |
820deed |
- Some updates according to bugzilla reviews
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Sat Jun 26 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.2-1.3
|
|
Ratnadeep Debnath |
820deed |
- Some cleanup
|
|
Ratnadeep Debnath |
820deed |
|
|
Ratnadeep Debnath |
820deed |
* Sat Jun 26 2010 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 0.2-1.2
|
|
Ratnadeep Debnath |
820deed |
- add KWallet subpackage
|
|
Ratnadeep Debnath |
820deed |
|
|
Ratnadeep Debnath |
820deed |
* Mon Jun 21 2010 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 0.2-1.1
|
|
Ratnadeep Debnath |
820deed |
- add build dependencies
|
|
Ratnadeep Debnath |
820deed |
- create subpackage for gnome, disable KWallet for now
|
|
Ratnadeep Debnath |
820deed |
- look for files in arch-dependend site-packages
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Tue May 25 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.2-1
|
|
Ratnadeep Debnath |
820deed |
- Incorporated some changes with reference to http://vcrhonek.fedorapeople.org/python-keyring/python-keyring.spec
|
|
Ratnadeep Debnath |
820deed |
- Fixed some rpmlint errors
|
|
Ratnadeep Debnath |
820deed |
|
|
Christopher Meng |
5e9c40a |
* Wed May 19 2010 Ratnadeep Debnath <rtnpro@gmail.com> 0.2
|
|
Ratnadeep Debnath |
820deed |
- Initial RPM package
|