diff options
author | CoprDistGit <infra@openeuler.org> | 2025-01-08 15:04:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-01-08 15:04:12 +0000 |
commit | da7718f886ddced9be2678b3a80bcde44761928a (patch) | |
tree | 6b2ad0b67bfb526ce90f56b7ba6efe44c431f202 | |
parent | 474c75ddd252b43986e36dbb2e8f3df445c3af4f (diff) |
automatic import of file-classifier
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | file-classifier.spec | 37 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 39 insertions, 0 deletions
@@ -0,0 +1 @@ +/file-classifier-1.0.0.tar.gz diff --git a/file-classifier.spec b/file-classifier.spec new file mode 100644 index 0000000..eab1751 --- /dev/null +++ b/file-classifier.spec @@ -0,0 +1,37 @@ +Name: file-classifier +Version: 1.0.0 +Release: 1%{?dist} +Summary: A simple file classifier +License: MULANPSL-2.0 +URL: https://atomgit.com/openeuler123/shewoqishui +Source0: %{name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3dist(setuptools) + +%description +A simple file classifier + +%prep +%autosetup -n %{name}-%{version} + +%build +%py3_build + +%install +%py3_install_wheel python_magic-0.4.27-py2.py3-none-any.whl +%py3_install + +%files +%license license +%doc README.md +%{_bindir}/%{name} +%{python3_sitelib}/file_classifier +%{python3_sitelib}/file_classifier-%{version}-py%{python3_version}.egg-info +# requires +%{python3_sitelib}/magic +%{python3_sitelib}/python_magic-0.4.27.dist-info + +%changelog +* Thu Jan 02 2025 SongYan <843558935@qq.com> - 1.0.0-1 +- Initial version @@ -0,0 +1 @@ +ab78463fa31391acb98aae2c7e553c1e file-classifier-1.0.0.tar.gz |