]> git.pld-linux.org Git - packages/python3-xapp.git/blob - python3-xapp.spec
- release 2
[packages/python3-xapp.git] / python3-xapp.spec
1 %define         module  xapp
2 Summary:        Python 3 XApp library
3 Summary(pl.UTF-8):      Biblioteka XApp dla Pythona 3
4 Name:           python3-%{module}
5 Version:        2.4.1
6 Release:        2
7 License:        LGPL v2+
8 Group:          Libraries/Python
9 #Source0Download: https://github.com/linuxmint/python3-xapp/tags
10 Source0:        https://github.com/linuxmint/python3-xapp/archive/%{version}/%{name}-%{version}.tar.gz
11 # Source0-md5:  1d1b2fc7ea3e7d3f0a709017f73628dc
12 URL:            https://github.com/linuxmint/python3-xapp/
13 BuildRequires:  meson >= 0.47.0
14 BuildRequires:  ninja >= 1.5
15 BuildRequires:  python3-modules >= 1:3.2
16 BuildRequires:  rpm-pythonprov
17 BuildRequires:  rpmbuild(macros) >= 1.736
18 Requires:       python3-psutil
19 Requires:       python3-pygobject3 >= 3.0
20 # gir modules
21 Requires:       gtk+3 >= 3.0
22 Requires:       xapps-libs >= 1.0
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Python 3 XApp library.
28
29 %description -l pl.UTF-8
30 Biblioteka XApp dla Pythona 3.
31
32 %prep
33 %setup -q
34
35 %build
36 %meson build
37
38 %ninja_build -C build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %ninja_install -C build
44
45 %py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
46 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %{py3_sitescriptdir}/xapp
This page took 0.06609 seconds and 3 git commands to generate.