|
Christopher Meng |
3efbece |
#global bzr 83
|
|
Christopher Meng |
3efbece |
%global pkgname SecretStorage
|
|
Christopher Meng |
3efbece |
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 7
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%global with_python3 1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%else
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%global with_python3 0
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
|
|
Christopher Meng |
3efbece |
Name: python-%{pkgname}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
1e0c092 |
Version: 2.1.1
|
|
Christopher Meng |
3efbece |
%if 0%{?bzr}
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
fcda7ea |
Release: 0.3.bzr%{?bzr}%{?dist}
|
|
Christopher Meng |
3efbece |
%else
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
Release: 2%{?dist}
|
|
Christopher Meng |
3efbece |
%endif
|
|
Christopher Meng |
3efbece |
Summary: Python 2.x module for secure storing of passwords and secrets
|
|
Christopher Meng |
3efbece |
URL: http://launchpad.net/python-secretstorage
|
|
Christopher Meng |
3efbece |
%if 0%{?bzr}
|
|
Christopher Meng |
3efbece |
# Bazaar revision 83 snapshot downloaded at 2013-11-15 from launchpad via:
|
|
Christopher Meng |
3efbece |
# bzr branch -r 83 lp:python-secretstorage python-secretstorage-bzr
|
|
Christopher Meng |
3efbece |
# pushd python-secretstorage-bzr
|
|
Christopher Meng |
3efbece |
# bzr export ../python-secretstorage-bzr83.tgz
|
|
Christopher Meng |
3efbece |
# popd
|
|
Christopher Meng |
3efbece |
Source0: python-secretstorage-bzr%{bzr}.tgz
|
|
Christopher Meng |
3efbece |
%else
|
|
Christopher Meng |
3efbece |
Source0: https://pypi.python.org/packages/source/S/%{pkgname}/%{pkgname}-%{version}.tar.gz
|
|
Christopher Meng |
3efbece |
%endif
|
|
Christopher Meng |
3efbece |
License: BSD
|
|
Christopher Meng |
3efbece |
BuildArch: noarch
|
|
Christopher Meng |
3efbece |
BuildRequires: python-nose
|
|
Christopher Meng |
3efbece |
BuildRequires: python2-devel
|
|
Christopher Meng |
3efbece |
# Building docs needed.
|
|
Christopher Meng |
3efbece |
BuildRequires: dbus-python
|
|
Christopher Meng |
3efbece |
BuildRequires: python-sphinx
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
92a6e83 |
# Tests only.
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
ec503ff |
# Emulate the X environment.
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
ec503ff |
# BuildRequires: xorg-x11-server-Xvfb
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
# BuildRequires: gnome-keyring
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
# BuildRequires: python-crypto
|
|
Christopher Meng |
3efbece |
Requires: dbus-python
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%description
|
|
Christopher Meng |
3efbece |
This module provides a way for securely storing passwords and other secrets.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
It uses D-Bus Secret Service API that is supported by GNOME Keyring (>= 2.30)
|
|
Christopher Meng |
3efbece |
and KSecretsService.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
The main classes provided are secretstorage.Item, representing a secret item
|
|
Christopher Meng |
3efbece |
(that has a label, a secret and some attributes) and secretstorage.Collection,
|
|
Christopher Meng |
3efbece |
a place items are stored in.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
SecretStorage supports most of the functions provided by Secret Service,
|
|
Christopher Meng |
3efbece |
including creating and deleting items and collections, editing items, locking
|
|
Christopher Meng |
3efbece |
and unlocking collections (asynchronous unlocking is also supported).
|
|
Christopher Meng |
3efbece |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%if 0%{?with_python3}
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
%package -n python%{python3_pkgversion}-%{pkgname}
|
|
Christopher Meng |
3efbece |
Summary: Python 3.x module for secure storing of passwords and secrets
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
BuildRequires: python%{python3_pkgversion}-devel
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
BuildRequires: python%{python3_pkgversion}-nose
|
|
Christopher Meng |
3efbece |
# Tests only.
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
BuildRequires: python%{python3_pkgversion}-dbus
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
Requires: python%{python3_pkgversion}-dbus
|
|
Christopher Meng |
3efbece |
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
%description -n python%{python3_pkgversion}-%{pkgname}
|
|
Christopher Meng |
3efbece |
This module provides a way for securely storing passwords and other secrets.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
It uses D-Bus Secret Service API that is supported by GNOME Keyring (>= 2.30)
|
|
Christopher Meng |
3efbece |
and KSecretsService.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
The main classes provided are secretstorage.Item, representing a secret item
|
|
Christopher Meng |
3efbece |
(that has a label, a secret and some attributes) and secretstorage.Collection,
|
|
Christopher Meng |
3efbece |
a place items are stored in.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
SecretStorage supports most of the functions provided by Secret Service,
|
|
Christopher Meng |
3efbece |
including creating and deleting items and collections, editing items, locking
|
|
Christopher Meng |
3efbece |
and unlocking collections (asynchronous unlocking is also supported).
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%endif
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%package doc
|
|
Christopher Meng |
3efbece |
Summary: Documentation for %{name}
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%description doc
|
|
Christopher Meng |
3efbece |
Documentation for %{name}.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%prep
|
|
Christopher Meng |
3efbece |
%if 0%{?bzr}
|
|
Christopher Meng |
3efbece |
%setup -qn python-secretstorage-bzr%{bzr}
|
|
Christopher Meng |
3efbece |
%else
|
|
Christopher Meng |
3efbece |
%setup -qn %{pkgname}-%{version}
|
|
Christopher Meng |
3efbece |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%if 0%{?with_python3}
|
|
Christopher Meng |
3efbece |
rm -rf %{py3dir}
|
|
Christopher Meng |
3efbece |
cp -a . %{py3dir}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%endif
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%build
|
|
Christopher Meng |
3efbece |
%{__python2} setup.py build
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%if 0%{?with_python3}
|
|
Christopher Meng |
3efbece |
pushd %{py3dir}
|
|
Christopher Meng |
3efbece |
%{__python3} setup.py build
|
|
Christopher Meng |
3efbece |
popd
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%endif
|
|
Christopher Meng |
3efbece |
%{__python2} setup.py build_sphinx
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%install
|
|
Christopher Meng |
3efbece |
%{__python2} setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%if 0%{?with_python3}
|
|
Christopher Meng |
3efbece |
pushd %{py3dir}
|
|
Christopher Meng |
3efbece |
%{__python3} setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot}
|
|
Christopher Meng |
3efbece |
popd
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
ec503ff |
find %{_builddir} -name '.buildinfo' -delete -print
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%check
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
#pushd tests
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
#PYTHONPATH=%{buildroot}%{python2_sitelib} xvfb-run -a %{__python2} -m unittest discover
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
#popd
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
#%if 0%{?with_python3}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
#pushd %{py3dir}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
#PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run -a %{__python3} -m unittest discover
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
6c82468 |
#popd
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
#%endif
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%files
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
91b5dc0 |
%doc changelog LICENSE README*
|
|
Christopher Meng |
3efbece |
%{python2_sitelib}/%{pkgname}-%{version}-py%{python2_version}.egg-info
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
ec503ff |
%{python2_sitelib}/secretstorage/
|
|
Christopher Meng |
3efbece |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%if 0%{?with_python3}
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
%files -n python%{python3_pkgversion}-%{pkgname}
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
91b5dc0 |
%doc changelog LICENSE README*
|
|
Christopher Meng |
3efbece |
%{python3_sitelib}/%{pkgname}-%{version}-py%{python3_version}.egg-info
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
ec503ff |
%{python3_sitelib}/secretstorage/
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
96c7c07 |
%endif
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%files doc
|
|
Christopher Meng |
3efbece |
%doc build/sphinx/html/*
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
* Wed May 08 2019 Robert Scheck <robert@fedoraproject.org> - 2.1.1-2
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
- Build python3 support for RHEL/CentOS 7
|
|
![](https://seccdn.libravatar.org/avatar/ea064b89e87b1895a84759a4950a139e0016ae503bf0eb4304a2a809343a9d75?s=16&d=retro) |
a94a80e |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
1e0c092 |
* Thu Jul 17 2014 Christopher Meng <rpm@cicku.me> - 2.1.1-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
1e0c092 |
- Update to 2.1.1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
1e0c092 |
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
fcda7ea |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
fcda7ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
fcda7ea |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
4f89ced |
* Thu May 29 2014 Christopher Meng <rpm@cicku.me> - 2.1.0-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
4f89ced |
- Update to 2.1.0
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
4f89ced |
|
|
![](https://seccdn.libravatar.org/avatar/a272fb3dbdb641ef55a8e3e7e88941f01310a691b3208d70ae79484b5c7955be?s=16&d=retro) |
b9000f3 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.0.0-2
|
|
![](https://seccdn.libravatar.org/avatar/a272fb3dbdb641ef55a8e3e7e88941f01310a691b3208d70ae79484b5c7955be?s=16&d=retro) |
b9000f3 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
![](https://seccdn.libravatar.org/avatar/a272fb3dbdb641ef55a8e3e7e88941f01310a691b3208d70ae79484b5c7955be?s=16&d=retro) |
b9000f3 |
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
92a6e83 |
* Sun Mar 30 2014 Christopher Meng <rpm@cicku.me> - 2.0.0-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
92a6e83 |
- Update to 2.0.0
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
92a6e83 |
|
|
Christopher Meng |
3efbece |
* Wed Nov 20 2013 Christopher Meng <rpm@cicku.me> - 1.1.0-1
|
|
![](https://seccdn.libravatar.org/avatar/8cfc016e499108f07ba78682dc7aa367c331121ad3af88a4ff37356c547cb828?s=16&d=retro) |
92a6e83 |
- Update to 1.1.0
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
* Fri Nov 15 2013 Christopher Meng <rpm@cicku.me> - 1.0.0-0.3.bzr83
|
|
Christopher Meng |
3efbece |
- Add license for doc package.
|
|
Christopher Meng |
3efbece |
- Disable tests not runnable in Koji.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
* Fri Nov 15 2013 Christopher Meng <rpm@cicku.me> - 1.0.0-0.2.bzr83
|
|
Christopher Meng |
3efbece |
- Snapshot 83 rev to allow tests in mock.
|
|
Christopher Meng |
3efbece |
|
|
Christopher Meng |
3efbece |
* Tue Oct 22 2013 Christopher Meng <rpm@cicku.me> - 1.0.0-1
|
|
Christopher Meng |
3efbece |
- Initial Package.
|