]> git.pld-linux.org Git - packages/python-xpyb.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 31 Jul 2008 15:57:47 +0000 (15:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-xpyb.spec -> 1.1

python-xpyb.spec [new file with mode: 0644]

diff --git a/python-xpyb.spec b/python-xpyb.spec
new file mode 100644 (file)
index 0000000..085c87f
--- /dev/null
@@ -0,0 +1,66 @@
+Summary:       X-protocol Python Binding
+Summary(pl.UTF-8):     X-protocol Python Binding - wiązanie Pythona do protokołu X
+Name:          python-xpyb
+Version:       0.9
+Release:       1
+License:       MIT?
+Group:         Development/Languages/Python
+Source0:       http://xcb.freedesktop.org/dist/xpyb-%{version}.tar.bz2
+# Source0-md5: 7bb10f490c790c60ee3c0f21ca1f8fa1
+Patch0:                %{name}-dir.patch
+URL:           http://xcb.freedesktop.org/
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: libxcb-devel >= 1.1
+BuildRequires: pkgconfig
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpm-pythonprov
+BuildRequires: xcb-proto >= 1.1
+%pyrequires_eq  python-libs
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+xpyb provides a Python binding to the X Window System protocol via
+libxcb.
+
+%description -l pl.UTF-8
+xpyb udostępnia wiązanie Pythona do protokołu X Window System poprzez
+libxcb.
+
+%prep
+%setup -q -n xpyb-%{version}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --enable-selinux \
+       --enable-xinput
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%py_postclean
+rm $RPM_BUILD_ROOT%{py_sitedir}/xcb/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%dir %{py_sitedir}/xcb
+%attr(755,root,root) %{py_sitedir}/xcb/xcb.so
+%dir %{py_sitescriptdir}/xcb
+%{py_sitescriptdir}/xcb/*.py[co]
+# -devel
+%{_pkgconfigdir}/xpyb.pc
This page took 0.196533 seconds and 4 git commands to generate.