]> git.pld-linux.org Git - SPECS.git/blob - python-rhpxl.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / python-rhpxl.spec
1 Summary:        Library of Python code for configuring and running X
2 Summary(pl.UTF-8):      Biblioteka kodu Pythona używana do konfiguracji i uruchamiania X
3 Name:           python-rhpxl
4 Version:        1.12
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        https://fedorahosted.org/releases/r/h/rhpxl/rhpxl-%{version}.tar.gz
9 # Source0-md5:  1389a00789bdc69b9011db40166abe6a
10 URL:            https://fedoraproject.org/wiki/Rhpxl
11 BuildRequires:  gettext-tools
12 BuildRequires:  python-devel
13 %pyrequires_eq  python-libs
14 Requires:       hwdata >= 0.169
15 Requires:       kudzu >= 1.2.34.3
16 Requires:       newt
17 Requires:       python-rhpl
18 %ifnarch s390 s390x
19 Requires:       python-xf86config >= 0.3.34
20 %endif
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The rhxpl package contains Python code for configuring and running X.
25
26 %description -l pl.UTF-8
27 Pakiet rhpxl zawiera kod Pythona używany do konfiguracji i
28 uruchamiania X.
29
30 %prep
31 %setup -q -n rhpxl-%{version}
32
33 rm -f po/no.po
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         RPM_OPT_FLAGS="%{rpmcflags}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_datadir}/rhpxl
46
47 %find_lang rhpxl
48 %py_postclean
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files -f rhpxl.lang
54 %defattr(644,root,root,755)
55 %doc README
56 %dir %{py_sitedir}/rhpxl
57 %{py_sitedir}/rhpxl/*.py[co]
58 %attr(755,root,root) %{py_sitedir}/rhpxl/*.so
59 %{_datadir}/rhpxl
60 %{py_sitedir}/rhpxl-%{version}-*.egg-info
This page took 0.100759 seconds and 3 git commands to generate.