diff --git a/1.12.tar.gz b/1.12.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bd37231c3eb64abdee73cd03a715057f6bcdcad8 Binary files /dev/null and b/1.12.tar.gz differ diff --git a/python-patool.spec b/python-patool.spec new file mode 100644 index 0000000000000000000000000000000000000000..e63e62d28d6f30f025ef609899135ad2898dfcaf --- /dev/null +++ b/python-patool.spec @@ -0,0 +1,56 @@ +%global pypi_name patool + +Name: python-%{pypi_name} +Version: 1.12 +Release: 1 +Summary: portable archive file manager +License: GPL-3.0 +URL: http://wummel.github.io/%{pypi_name}/ +Source0: https://github.com/wummel/%{pypi_name}/archive/refs/tags/upstream/%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel python3-setuptools + +%description +Various archive formats can be created, extracted, tested, listed, searched, +compared and repacked by patool. The advantage of patool is its simplicity in +handling archive files without having to remember a myriad of programs and +options.The archive format is determined by the file(1) program and as a +fallback by the archive file extension.patool supports 7z (.7z), ACE (.ace), +ADF (.adf),... + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Various archive formats can be created, extracted, tested, listed, searched, +compared and repacked by patool. The advantage of patool is its simplicity in +handling archive files without having to remember a myriad of programs and +options.The archive format is determined by the file(1) program and as a +fallback by the archive file extension.patool supports 7z (.7z), ACE (.ace), +ADF (.adf),... + + +%prep +%autosetup -n %{pypi_name}-upstream-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc doc/README.txt +%license COPYING +%{_bindir}/%{pypi_name} +%{python3_sitelib}/patoolib +%{python3_sitelib}/__pycache__ +%{python3_sitelib}/_patool_configdata.py +%{_mandir}/man1/%{pypi_name}.* +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Tue Sep 28 2021 zhangkea - 1.12-1 +- Initial package.