]> git.pld-linux.org Git - packages/python3-idasen.git/blob - python3-idasen.spec
rebuild with tests and docs
[packages/python3-idasen.git] / python3-idasen.spec
1 # Conditional build:
2 %define         module  idasen
3 Summary:        Python API and CLI for the ikea IDÅSEN standing desk
4 Name:           python3-%{module}
5 Version:        0.7.1
6 Release:        5
7 License:        MIT
8 Group:          Libraries/Python
9 Source0:        https://pypi.debian.net/idasen/%{module}-%{version}.tar.gz
10 # Source0-md5:  74b7e39d6b1e1c2e05223bccf77955dc
11 URL:            https://github.com/newAM/idasen
12 BuildRequires:  python3-modules >= 1:3.2
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.714
15 Requires:       python3-modules >= 1:3.2
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Python API and CLI for the ikea IDÅSEN standing desk.
21
22 %prep
23 %setup -q -n %{module}-%{version}
24
25 %build
26 %py3_build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %py3_install
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc README.rst
39 %attr(755,root,root) %{_bindir}/%{module}
40 %dir %{py3_sitescriptdir}/%{module}
41 %{py3_sitescriptdir}/%{module}/*.py
42 %{py3_sitescriptdir}/%{module}/__pycache__
43 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
This page took 0.122954 seconds and 3 git commands to generate.