|
Ratnadeep Debnath |
22821d4 |
%global with_python3 1
|
|
|
cf0f0dc |
%global with_tests 0
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
820deed |
Name: python-keyring
|
|
|
ba3dc2b |
Version: 10.4.0
|
|
|
9755eed |
Release: 2%{?dist}
|
|
|
cf0f0dc |
Summary: Store and access your passwords safely
|
|
|
8c2648f |
License: MIT and Python
|
|
|
cf0f0dc |
URL: https://github.com/jaraco/keyring
|
|
|
cf0f0dc |
Source0: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
|
|
Ratnadeep Debnath |
4d6f47a |
BuildArch: noarch
|
|
Orion Poplawski |
aa0e98d |
|
|
Orion Poplawski |
aa0e98d |
%global desc The Python keyring lib provides a easy way to access the system keyring\
|
|
Orion Poplawski |
aa0e98d |
service from python. It can be used in any application that needs safe\
|
|
Orion Poplawski |
aa0e98d |
password storage.\
|
|
Orion Poplawski |
aa0e98d |
\
|
|
Orion Poplawski |
aa0e98d |
The keyring services supported by the Python keyring lib:\
|
|
Orion Poplawski |
aa0e98d |
\
|
|
Orion Poplawski |
aa0e98d |
* **OSXKeychain**: supports the Keychain service in Mac OS X.\
|
|
Orion Poplawski |
aa0e98d |
* **KDEKWallet**: supports the KDE's Kwallet service.\
|
|
Orion Poplawski |
aa0e98d |
* **GnomeKeyring**: for GNOME environment.\
|
|
Orion Poplawski |
aa0e98d |
* **SecretServiceKeyring**: for newer GNOME and KDE environments.\
|
|
Orion Poplawski |
aa0e98d |
* **WinVaultKeyring**: supports the Windows Credential Vault\
|
|
Orion Poplawski |
aa0e98d |
\
|
|
Orion Poplawski |
aa0e98d |
Besides these native password storing services provided by operating systems.\
|
|
Orion Poplawski |
aa0e98d |
Python keyring lib also provides following build-in keyrings.\
|
|
Orion Poplawski |
aa0e98d |
\
|
|
Orion Poplawski |
aa0e98d |
* **Win32CryptoKeyring**: for Windows 2k+.\
|
|
Orion Poplawski |
aa0e98d |
* **CryptedFileKeyring**: a command line interface keyring base on PyCrypto.\
|
|
Orion Poplawski |
aa0e98d |
* **UncryptedFileKeyring**: a keyring which leaves passwords directly in file.
|
|
Orion Poplawski |
aa0e98d |
|
|
Orion Poplawski |
aa0e98d |
%description
|
|
Orion Poplawski |
aa0e98d |
%desc
|
|
Orion Poplawski |
aa0e98d |
|
|
Orion Poplawski |
aa0e98d |
%package -n python2-keyring
|
|
Orion Poplawski |
aa0e98d |
Summary: Python 2 library to access the system keyring service
|
|
Christopher Meng |
5e9c40a |
BuildRequires: python2-devel
|
|
|
9755eed |
BuildRequires: python2-setuptools
|
|
|
cf0f0dc |
BuildRequires: python2-setuptools_scm
|
|
|
cf0f0dc |
BuildRequires: python-keyczar
|
|
|
9755eed |
BuildRequires: python2-mock
|
|
|
cf0f0dc |
BuildRequires: pycryptopp
|
|
|
cf0f0dc |
|
|
|
cf0f0dc |
%if 0%{?with_tests}
|
|
|
9755eed |
BuildRequires: python2-pytest
|
|
|
cf0f0dc |
BuildRequires: python2-pytest-cache
|
|
|
cf0f0dc |
BuildRequires: python2-pytest-cov
|
|
|
cf0f0dc |
BuildRequires: python2-pytest-flakes
|
|
|
cf0f0dc |
%endif
|
|
|
cf0f0dc |
|
|
|
cf070c0 |
Requires: python2-SecretStorage
|
|
|
cf070c0 |
|
|
Orion Poplawski |
aa0e98d |
%{?python_provide:%python_provide python2-keyring}
|
|
Orion Poplawski |
aa0e98d |
|
|
|
7ecd9f7 |
Obsoletes: %{name}-kwallet < %{version}-%{release}
|
|
|
7ecd9f7 |
Obsoletes: %{name}-gnome < %{version}-%{release}
|
|
Ratnadeep Debnath |
820deed |
|
|
Orion Poplawski |
aa0e98d |
%description -n python2-keyring
|
|
Orion Poplawski |
aa0e98d |
%desc
|
|
Ratnadeep Debnath |
820deed |
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Orion Poplawski |
aa0e98d |
%package -n python%{python3_pkgversion}-keyring
|
|
|
7ecd9f7 |
Summary: Python 3 library to access the system keyring service
|
|
Orion Poplawski |
aa0e98d |
BuildRequires: python%{python3_pkgversion}-devel
|
|
Orion Poplawski |
aa0e98d |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
Orion Poplawski |
aa0e98d |
BuildRequires: python%{python3_pkgversion}-setuptools_scm
|
|
|
cf0f0dc |
%if 0%{?with_tests}
|
|
Orion Poplawski |
aa0e98d |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
Orion Poplawski |
aa0e98d |
BuildRequires: python%{python3_pkgversion}-pytest-cache
|
|
Orion Poplawski |
aa0e98d |
BuildRequires: python%{python3_pkgversion}-pytest-cov
|
|
Orion Poplawski |
aa0e98d |
BuildRequires: python%{python3_pkgversion}-pytest-flakes
|
|
|
cf0f0dc |
%endif
|
|
Ratnadeep Debnath |
22821d4 |
|
|
|
cf070c0 |
Requires: python%{python3_pkgversion}-SecretStorage
|
|
|
cf070c0 |
|
|
Orion Poplawski |
aa0e98d |
%{?python_provide:%python_provide python%{python3_pkgversion}-keyring}
|
|
|
cf0f0dc |
|
|
Orion Poplawski |
aa0e98d |
%description -n python%{python3_pkgversion}-keyring
|
|
Orion Poplawski |
aa0e98d |
%desc
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Ratnadeep Debnath |
820deed |
|
|
Ratnadeep Debnath |
820deed |
%prep
|
|
|
c407b87 |
%autosetup -p1 -n keyring-%{version}
|
|
|
352fecf |
rm -frv keyring.egg-info
|
|
|
8c2648f |
# Drop redundant shebangs.
|
|
Christopher Meng |
48c57f1 |
sed -i '1{\@^#!/usr/bin/env python@d}' keyring/cli.py
|
|
|
8c2648f |
# Drop slags from upstream of using his own versioning system.
|
|
|
8c2648f |
sed -i -e "\@use_vcs_version@s/^.*$/\tversion = \"%{version}\",/g" \
|
|
|
ecef059 |
-e {/\'hgtools\'/d} setup.py
|
|
|
8c2648f |
|
|
Ratnadeep Debnath |
820deed |
%build
|
|
Orion Poplawski |
aa0e98d |
%py2_build
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Orion Poplawski |
aa0e98d |
%py3_build
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Ratnadeep Debnath |
22821d4 |
|
|
Ratnadeep Debnath |
820deed |
%install
|
|
Ratnadeep Debnath |
22821d4 |
%if 0%{?with_python3}
|
|
Orion Poplawski |
aa0e98d |
%py3_install
|
|
|
7ecd9f7 |
cp -a %{buildroot}%{_bindir}/keyring %{buildroot}%{_bindir}/keyring-%{python3_version}
|
|
Ratnadeep Debnath |
22821d4 |
%endif
|
|
Orion Poplawski |
aa0e98d |
%py2_install
|
|
Christopher Meng |
5e9c40a |
|
|
Christopher Meng |
5e9c40a |
# Failed on Koji due to X environment not available.
|
|
|
cf0f0dc |
%check
|
|
|
cf0f0dc |
%if 0%{?with_tests}
|
|
|
cf0f0dc |
%if 0%{?with_python3}
|
|
|
cf0f0dc |
%{__python3} setup.py test
|
|
|
cf0f0dc |
nosetests-%{python3_version}
|
|
|
cf0f0dc |
%endif
|
|
|
cf0f0dc |
%{__python2} setup.py test
|
|
Orion Poplawski |
aa0e98d |
nosetests-%{python2_version}
|
|
|
cf0f0dc |
%endif
|
|
Ratnadeep Debnath |
820deed |
|
|
Orion Poplawski |
aa0e98d |
%files -n python2-keyring
|
|
|
cf0f0dc |
%doc CHANGES.rst README.rst
|
|
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}
|
|
Orion Poplawski |
aa0e98d |
%files -n python%{python3_pkgversion}-keyring
|
|
|
cf0f0dc |
%doc CHANGES.rst README.rst
|
|
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
|
|
|
9755eed |
* Mon Aug 28 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 10.4.0-2
|
|
|
9755eed |
- Use python2-* naming conventions for *Requires
|
|
|
9755eed |
|
|
|
ba3dc2b |
* Mon Aug 28 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 10.4.0-1
|
|
|
ba3dc2b |
- Update to python-keyring 10.4.0 (bz#1464676)
|
|
|
ba3dc2b |
|
|
|
ef58140 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.3.2-3
|
|
|
ef58140 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ef58140 |
|
|
|
c407b87 |
* Tue Apr 11 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 10.3.2-2
|
|
|
c407b87 |
- Fix dependency on setuptools_scm for f25
|
|
|
c407b87 |
|
|
|
f72372d |
* Mon Apr 10 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 10.3.2-1
|
|
|
f72372d |
- Update to python-keyring 10.3.2
|
|
|
f72372d |
|
|
|
ae18ec8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0-7
|
|
|
ae18ec8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ae18ec8 |
|
|
|
b7aceb8 |
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 9.0-6
|
|
|
b7aceb8 |
- Rebuild for Python 3.6
|
|
|
b7aceb8 |
|
|
|
cf070c0 |
* Wed Dec 21 2016 Christopher Tubbs <ctubbsii@fedoraproject.org> - 9.0-5
|
|
|
cf070c0 |
- Add dependency on python-SecretStorage (bz#1328218,bz#1398710)
|
|
|
cf070c0 |
|
|
|
7811846 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 9.0-4
|
|
|
7811846 |
- Rebuild for Python 3.6
|
|
|
7811846 |
|
|
Orion Poplawski |
aa0e98d |
* Mon Nov 21 2016 Orion Poplawski <orion@cora.nwra.com> - 9.0-3
|
|
Orion Poplawski |
aa0e98d |
- Enable python 3 build for EPEL
|
|
Orion Poplawski |
aa0e98d |
- Ship python2-keyring
|
|
Orion Poplawski |
aa0e98d |
- Modernize spec
|
|
Orion Poplawski |
aa0e98d |
|
|
|
004dc39 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0-2
|
|
|
004dc39 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
004dc39 |
|
|
|
cf0f0dc |
* Mon May 02 2016 Matthias Runge <mrunge@redhat.com> - 9.0-1
|
|
Orion Poplawski |
aa0e98d |
- update to 9.0, resolves rhbz#1271641, rhbz#1195985
|
|
|
cf0f0dc |
|
|
|
e5eb8b1 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-4
|
|
|
e5eb8b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e5eb8b1 |
|
|
Robert Kuska |
96b17b6 |
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 5.0-3
|
|
Robert Kuska |
96b17b6 |
- Rebuilt for Python3.5 rebuild
|
|
Robert Kuska |
96b17b6 |
|
|
|
7e94a74 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-2
|
|
|
7e94a74 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7e94a74 |
|
|
|
352fecf |
* Wed Feb 04 2015 Christopher Meng <rpm@cicku.me> - 5.0-1
|
|
|
352fecf |
- Update to 5.0
|
|
|
8c2648f |
- Revise license tag to match upstream.
|
|
|
352fecf |
|
|
|
3116048 |
* Sat Aug 02 2014 Christopher Meng <rpm@cicku.me> - 4.0-1
|
|
|
3116048 |
- Update to 4.0
|
|
|
3116048 |
|
|
|
3d24281 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8-3
|
|
|
3d24281 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3d24281 |
|
|
|
e2bc1f7 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.8-2
|
|
|
e2bc1f7 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
e2bc1f7 |
|
|
|
5804f27 |
* Tue May 13 2014 Christopher Meng <rpm@cicku.me> - 3.8-1
|
|
|
5804f27 |
- Update to 3.8
|
|
|
5804f27 |
|
|
|
fdfcbba |
* Sat Mar 08 2014 Christopher Meng <rpm@cicku.me> - 3.6-1
|
|
|
fdfcbba |
- Update to 3.6
|
|
|
fdfcbba |
|
|
|
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
|