-
Notifications
You must be signed in to change notification settings - Fork 1
/
python-openrazer.spec
46 lines (33 loc) · 951 Bytes
/
python-openrazer.spec
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
%global debug_package %{nil}
Name: python-openrazer
Version: OPENRAZER_VERSION
Release: RELEASE_VERSION%{?dist}
Summary: Openrazer Python library
License: GPL-2.0
URL: https://github.com/openrazer/openrazer
Source0: python-openrazer.tar.gz
Requires: openrazer-daemon >= %{version}
Provides: python-openrazer = %{version}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%global _description %{expand:
Python library for accessing the daemon from Python.}
%description %_description
%package -n python3-openrazer
Summary: %{summary}
%description -n python3-openrazer %_description
%prep
%setup -n python-openrazer
%build
%py3_build
%install
rm -rf %{buildroot}
%py3_install
%clean
rm -rf %{buildroot}
%files -n python3-openrazer
%{python3_sitelib}/openrazer/
%{python3_sitelib}/openrazer-*.egg-info/
%changelog
%autochangelog