Update to 3.3.0
This commit is contained in:
parent
97b593f7c5
commit
ec6e8ae090
Binary file not shown.
BIN
SecretStorage-3.3.0.tar.gz
Normal file
BIN
SecretStorage-3.3.0.tar.gz
Normal file
Binary file not shown.
@ -1,76 +1,89 @@
|
|||||||
%global package_description \
|
%global package_description \
|
||||||
This package is designed for storing passwords in a more secure way. \
|
This module provides a way for securely storing passwords and other secrets.\
|
||||||
Its implemantaion depends on D-Bus Secret Service API which is supported by GNOME Keyring (>= 2.30) \
|
It uses D-Bus `Secret Service`_ API that is supported by GNOME Keyring\
|
||||||
and KSecretsService. It provides the following two main classes: secretstorage.Item and secretstorage.Collection. \
|
(since version 2.30) and KSecretsService.\
|
||||||
The former represents a secret item that has a label, a secret and some attributes, while the latter represents \
|
The main classes provided are ``secretstorage.Item``, representing a secret\
|
||||||
a place items where secrets are stored. \
|
item (that has a *label*, a *secret* and some *attributes*) and\
|
||||||
With the support by Secret Service, SecretStorage provides many functions such as creating and deleting collections, \
|
``secretstorage.Collection``, a place items are stored in.\
|
||||||
editing items, locking and unlocking collections (also support asynchronous unlocking).
|
SecretStorage supports most of the functions provided by Secret Service,\
|
||||||
|
including creating and deleting items and collections, editing items,\
|
||||||
|
locking and unlocking collections (asynchronous unlocking is also supported).\
|
||||||
|
The documentation can be found on `secretstorage.readthedocs.io`_.
|
||||||
|
|
||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-SecretStorage
|
Name: python-SecretStorage
|
||||||
Version: 2.3.1
|
Version: 3.3.0
|
||||||
Release: 12
|
Release: 1
|
||||||
Summary: Python bindings to FreeDesktop.org Secret Service API
|
Summary: Python bindings to FreeDesktop.org Secret Service API
|
||||||
License: BSD
|
License: BSD 3-Clause License
|
||||||
URL: http://launchpad.net/python-secretstorage
|
URL: https://github.com/mitya57/secretstorage
|
||||||
Source0: https://files.pythonhosted.org/packages/source/S/SecretStorage/SecretStorage-%{version}.tar.gz
|
Source0: https://launchpad.net/python-secretstorage/trunk/3.3.0/+download/SecretStorage-3.3.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: gnome-keyring xorg-x11-server-Xvfb dbus-x11 python3-devel
|
Requires: python3-cryptograph
|
||||||
BuildRequires: python3-nose python3-dbus python3-cryptography python3-sphinx
|
Requires: python3-jeepney
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{package_description}
|
%{package_description}
|
||||||
|
|
||||||
%package -n python3-SecretStorage
|
%package -n python3-SecretStorage
|
||||||
Summary: Python 3.x module for secure storing of passwords and secrets
|
Summary: Python bindings to FreeDesktop.org Secret Service API
|
||||||
|
Provides: python-SecretStorage
|
||||||
Requires: python3-dbus python3-cryptography
|
BuildRequires: python3-devel
|
||||||
Recommends: python3-gobject
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
%{?python_provide:%python_provide python3-SecretStorage}
|
|
||||||
|
|
||||||
%description -n python3-SecretStorage
|
%description -n python3-SecretStorage
|
||||||
%{package_description}
|
%{package_description}
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: SecretStorage documentation
|
Summary: Development documents and examples for SecretStorage
|
||||||
Provides: python-SecretStorage-doc = %{version}-%{release}
|
Provides: python3-SecretStorage-doc
|
||||||
Obsoletes: python-SecretStorage-doc < %{version}-%{release}
|
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
Documentation for SecretStorage
|
%{package_description}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n SecretStorage-%{version} -p1
|
%autosetup -n SecretStorage-%{version}
|
||||||
rm -rf SecretStorage.egg-info
|
|
||||||
rm .gitignore
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
%{__python3} setup.py build_sphinx
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
if [ -d usr/lib ]; then
|
||||||
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/lib64 ]; then
|
||||||
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/bin ]; then
|
||||||
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/sbin ]; then
|
||||||
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/filelist.lst .
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
rm -rf build/sphinx/html/.buildinfo
|
%files -n python3-SecretStorage -f filelist.lst
|
||||||
rm -rf build/sphinx/doctrees
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%check
|
%files help -f doclist.lst
|
||||||
cd tests
|
%{_pkgdocdir}
|
||||||
export $(dbus-launch)
|
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run -a %{__python3} -m unittest discover
|
|
||||||
|
|
||||||
%files -n python3-SecretStorage
|
|
||||||
%doc docs changelog README.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/SecretStorage-%{version}-py?.?.egg-info
|
|
||||||
%{python3_sitelib}/secretstorage
|
|
||||||
|
|
||||||
%files help
|
|
||||||
%doc build/sphinx/html/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 1 2020 baizhonggui <baizhonggui@huawei.com> - 3.3.0-1
|
||||||
|
- Update to 3.3.0
|
||||||
|
|
||||||
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 2.3.1-12
|
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 2.3.1-12
|
||||||
- Remove python2
|
- Remove python2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user