]> git.pld-linux.org Git - packages/python-xpyb.git/blame - python-xpyb.spec
- updated to 1.0
[packages/python-xpyb.git] / python-xpyb.spec
CommitLineData
0ec101a1
JB
1Summary: X-protocol Python Binding
2Summary(pl.UTF-8): X-protocol Python Binding - wiązanie Pythona do protokołu X
3Name: python-xpyb
cf8d06ec
JB
4Version: 1.0
5Release: 1
0ec101a1
JB
6License: MIT?
7Group: Development/Languages/Python
8Source0: http://xcb.freedesktop.org/dist/xpyb-%{version}.tar.bz2
cf8d06ec 9# Source0-md5: ee142b17036c755679784576b9d032b5
0ec101a1
JB
10Patch0: %{name}-dir.patch
11URL: http://xcb.freedesktop.org/
12BuildRequires: autoconf >= 2.57
13BuildRequires: automake
14BuildRequires: libtool
15BuildRequires: libxcb-devel >= 1.1
16BuildRequires: pkgconfig
17BuildRequires: python-devel >= 1:2.5
18BuildRequires: rpmbuild(macros) >= 1.219
19BuildRequires: rpm-pythonprov
20BuildRequires: xcb-proto >= 1.1
21%pyrequires_eq python-libs
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25xpyb provides a Python binding to the X Window System protocol via
26libxcb.
27
28%description -l pl.UTF-8
29xpyb udostępnia wiązanie Pythona do protokołu X Window System poprzez
30libxcb.
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
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%py_postclean
53rm $RPM_BUILD_ROOT%{py_sitedir}/xcb/*.la
54
55%clean
56rm -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.090693 seconds and 4 git commands to generate.