blob: 96aba9f7b090a585caac4eb7d9b6e5a2910e9529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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)
BuildRequires: python3-pip
%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
|