]> git.pld-linux.org Git - packages/python-xpyb.git/blob - python-xpyb.spec
- updated to 1.1
[packages/python-xpyb.git] / python-xpyb.spec
1 Summary:        X-protocol Python Binding
2 Summary(pl.UTF-8):      X-protocol Python Binding - wiązanie Pythona do protokołu X
3 Name:           python-xpyb
4 Version:        1.1
5 Release:        1
6 License:        MIT?
7 Group:          Development/Languages/Python
8 Source0:        http://xcb.freedesktop.org/dist/xpyb-%{version}.tar.bz2
9 # Source0-md5:  0d82bbaa97f89e41aada9fab5630147a
10 Patch0:         %{name}-dir.patch
11 URL:            http://xcb.freedesktop.org/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  libxcb-devel >= 1.1
16 BuildRequires:  pkgconfig
17 BuildRequires:  python-devel >= 1:2.5
18 BuildRequires:  rpmbuild(macros) >= 1.219
19 BuildRequires:  rpm-pythonprov
20 BuildRequires:  xcb-proto >= 1.1
21 %pyrequires_eq  python-libs
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 xpyb provides a Python binding to the X Window System protocol via
26 libxcb.
27
28 %description -l pl.UTF-8
29 xpyb udostępnia wiązanie Pythona do protokołu X Window System poprzez
30 libxcb.
31
32 %prep
33 %setup -q -n xpyb-%{version}
34 %patch0 -p1
35
36 %build
37 %{__libtoolize}
38 %{__aclocal}
39 %{__autoconf}
40 %{__autoheader}
41 %{__automake}
42 %configure \
43         --enable-selinux \
44         --enable-xinput
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %py_postclean
53 rm $RPM_BUILD_ROOT%{py_sitedir}/xcb/*.la
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc NEWS README
61 %dir %{py_sitedir}/xcb
62 %attr(755,root,root) %{py_sitedir}/xcb/xcb.so
63 %dir %{py_sitescriptdir}/xcb
64 %{py_sitescriptdir}/xcb/*.py[co]
65 # -devel
66 %{_pkgconfigdir}/xpyb.pc
This page took 0.057657 seconds and 4 git commands to generate.