blob: 0f7251c654052ca955ba076606fd958f0b91b75f (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
%global pypi_name PythonLibs
Name: python-%{pypi_name}
Version: 0.01
Release: 1%{?dist}
Summary: Python learning repository with utility modules for GitHub API and email
License: GPL-3.0
URL: https://github.com/Michel4lves/pythonlibs
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
PythonLibs is a Python learning repository containing utility modules for
GitHub API interaction (avatar lookup), database connections, user modeling,
and email sending. It is a setuptools-based pure Python package.
%package -n python3-%{pypi_name}
Summary: Python learning repository with utility modules for GitHub API and email
Provides: python-%{pypi_name} = %{version}-%{release}
Provides: python3dist(pythonlibs) = %{version}
Requires: python3-requests
%description -n python3-%{pypi_name}
PythonLibs is a Python learning repository containing utility modules for
GitHub API interaction (avatar lookup), database connections, user modeling,
and email sending. It is a setuptools-based pure Python package.
%package help
Summary: Development documents and examples for %{pypi_name}
Requires: python3-%{pypi_name}
%description help
Development documents and examples for %{pypi_name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE
%{python3_sitelib}/pythonlibs/
%{python3_sitelib}/pythonlibs-%{version}*.egg-info/
%files help
%license LICENSE
%doc README.md
%changelog
* Mon Sep 28 2026 Python_Bot <Python_Bot@openeuler.org> - 0.01-1
- Initial package
|