python-olefile/python-olefile.spec

59 lines
1.8 KiB
RPMSpec
Raw Normal View History

2019-12-17 21:00:15 -05:00
Name: python-olefile
2024-02-05 06:20:49 +00:00
Version: 0.47
Release: 1
2019-12-17 21:00:15 -05:00
Summary: This Python package is used to parse, read and write Microsoft OLE2 files
License: BSD
URL: https://pypi.python.org/pypi/olefile/
Source0: https://files.pythonhosted.org/packages/source/o/olefile/olefile-%{version}.zip
BuildArch: noarch
%description
olefile is a Python package to parse, read and write Microsoft OLE2 files, \
such as Microsoft Office 97-2003 documents, vbaProject.bin in MS Office 2007+ files, \
Image Composer and FlashPix files, Outlook messages, StickyNotes, several \
Microscopy file formats, McAfee antivirus quarantine files, etc.
%package -n python%{python3_pkgversion}-olefile
Summary: This Python package is used to parse, read and write Microsoft OLE2 files.
BuildRequires: python%{python3_pkgversion}-devel
%{?python_provide: %python_provide python%{python3_pkgversion}-olefile}
%description -n python%{python3_pkgversion}-olefile
Python3 version.
%prep
%autosetup -p1 -n olefile-%{version}
%build
%py3_build
%install
%py3_install
%check
2020-12-05 15:27:51 +08:00
PYTHONPATH=%{buildroot}%{python3_sitelib} \
%{__python3} tests/test_olefile.py
2019-12-17 21:00:15 -05:00
%files -n python%{python3_pkgversion}-olefile
%doc README.md
%license doc/License.rst
%{python3_sitelib}/olefile-*.egg-info
%{python3_sitelib}/olefile/
%changelog
2024-02-05 06:20:49 +00:00
* Mon Feb 05 2024 zhouwenpei <zhouwenpei1@h-partners.com> - 0.47-1
- update to 0.47
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 0.46-5
- Rebuild for next release
2020-12-05 15:27:51 +08:00
* Sat Dec 5 2020 yanglongkang <yanglongkang@huawei.com> - 0.46-4
- Add make check
2020-10-30 14:14:23 +08:00
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.46-3
- remove python2 dependency
2019-12-17 21:00:15 -05:00
* Thu Dec 12 2019 Senlin Xia <xiasenlin1@huawei.com> - 0.46-2
- Package init