|
|
7ad9b14 |
%global modulename msoffcrypto
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
Summary: Python tool for decrypting MS Office files with passwords or other keys
|
|
|
7ad9b14 |
Name: msoffcrypto-tool
|
|
|
4a7f34e |
Version: 4.11.0
|
|
|
0929508 |
Release: 2%{?dist}
|
|
|
7ad9b14 |
License: MIT
|
|
|
7ad9b14 |
URL: https://github.com/nolze/msoffcrypto-tool
|
|
|
6d875d8 |
Source: https://github.com/nolze/msoffcrypto-tool/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
7ad9b14 |
BuildArch: noarch
|
|
|
7ad9b14 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
7ad9b14 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
7ad9b14 |
BuildRequires: python%{python3_pkgversion}-cryptography >= 2.3
|
|
|
7ad9b14 |
BuildRequires: python%{python3_pkgversion}-olefile >= 0.45
|
|
|
7ad9b14 |
# Tests
|
|
|
7ad9b14 |
%if 0%{?fedora}
|
|
|
7ad9b14 |
BuildRequires: python%{python3_pkgversion}-coverage >= 4.5.1
|
|
|
7ad9b14 |
BuildRequires: python%{python3_pkgversion}-nose >= 1.3.7
|
|
|
7ad9b14 |
%endif
|
|
|
3d3578a |
%if 0%{?rhel} >= 8
|
|
|
3d3578a |
BuildRequires: python3.6dist(coverage) >= 4.5.1
|
|
|
3d3578a |
BuildRequires: python%{python3_pkgversion}-nose >= 1.3.7
|
|
|
3d3578a |
%endif
|
|
|
7ad9b14 |
Requires: python%{python3_pkgversion}-%{modulename}
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%description
|
|
|
7ad9b14 |
The msoffcrypto-tool (formerly ms-offcrypto-tool) is a Python tool and
|
|
|
7ad9b14 |
library for decrypting encrypted Microsoft Office files with password,
|
|
|
7ad9b14 |
intermediate key, or private key which generated its escrow key.
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%package -n python%{python3_pkgversion}-%{modulename}
|
|
|
7ad9b14 |
Summary: Python library for decrypting MS Office files with passwords or other keys
|
|
|
7ad9b14 |
Requires: python%{python3_pkgversion}-cryptography >= 2.3
|
|
|
7ad9b14 |
Requires: python%{python3_pkgversion}-olefile >= 0.45
|
|
|
7ad9b14 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modulename}}
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%description -n python%{python3_pkgversion}-%{modulename}
|
|
|
7ad9b14 |
The msoffcrypto-tool (formerly ms-offcrypto-tool) is a Python tool and
|
|
|
7ad9b14 |
library for decrypting encrypted Microsoft Office files with password,
|
|
|
7ad9b14 |
intermediate key, or private key which generated its escrow key.
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%prep
|
|
|
7ad9b14 |
%setup -q
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%build
|
|
|
7ad9b14 |
%py3_build
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%install
|
|
|
7ad9b14 |
%py3_install
|
|
|
7ad9b14 |
|
|
|
3d3578a |
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
|
7ad9b14 |
%check
|
|
|
7ad9b14 |
%{__python3} setup.py test
|
|
|
7ad9b14 |
%endif
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%files
|
|
|
7ad9b14 |
%doc README.md
|
|
|
7ad9b14 |
%{_bindir}/%{name}
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%files -n python%{python3_pkgversion}-%{modulename}
|
|
|
7ad9b14 |
%license LICENSE.txt
|
|
|
7ad9b14 |
%{python3_sitelib}/%{modulename}/
|
|
|
7ad9b14 |
%{python3_sitelib}/%{modulename}_tool-%{version}-py%{python3_version}.egg-info/
|
|
|
7ad9b14 |
|
|
|
7ad9b14 |
%changelog
|
|
|
0929508 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.11.0-2
|
|
|
0929508 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
0929508 |
|
|
|
4a7f34e |
* Thu Dec 31 2020 Robert Scheck <robert@fedoraproject.org> 4.11.0-1
|
|
|
4a7f34e |
- Upgrade to 4.11.0
|
|
|
4a7f34e |
|
|
|
3ddbac1 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.1-4
|
|
|
3ddbac1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3ddbac1 |
|
|
|
ab2a57a |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 4.10.1-3
|
|
|
ab2a57a |
- Rebuilt for Python 3.9
|
|
|
ab2a57a |
|
|
|
536eb95 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.1-2
|
|
|
536eb95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
536eb95 |
|
|
|
e52523b |
* Sun Nov 10 2019 Robert Scheck <robert@fedoraproject.org> 4.10.1-1
|
|
|
e52523b |
- Upgrade to 4.10.1
|
|
|
e52523b |
|
|
|
27c675d |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.10.0-4
|
|
|
27c675d |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
27c675d |
|
|
|
3369958 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.10.0-3
|
|
|
3369958 |
- Rebuilt for Python 3.8
|
|
|
3369958 |
|
|
|
0dd75af |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.0-2
|
|
|
0dd75af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
0dd75af |
|
|
|
7ad9b14 |
* Sun Jun 02 2019 Robert Scheck <robert@fedoraproject.org> 4.10.0-1
|
|
|
7ad9b14 |
- Upgrade to 4.10.0
|
|
|
7ad9b14 |
- Initial spec file for Fedora and Red Hat Enterprise Linux
|