Projects
home:Eustace:branches:Eulaceura:Factory
python-xlib
_service:obs_scm:python-xlib.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-xlib.spec of Package python-xlib
%global _empty_manifest_terminate_build 0 Name: python-xlib Version: 0.33 Release: 1 Summary: Python X Library License: LGPL-2.1-or-later URL: https://github.com/python-xlib/python-xlib Source0: https://github.com/python-xlib/python-xlib/archive/refs/tags/python-xlib-0.33.tar.gz BuildArch: noarch Requires: python3-six %global _description\ The Python X Library is intended to be a fully functional X client\ library for Python programs. It is written entirely in Python, in\ contrast to earlier X libraries for Python (the ancient X extension and\ the newer plxlib) which were interfaces to the C Xlib.\ This is possible to do since X client programs communicate with the X\ server via the X protocol. The communication takes place over TCP/IP,\ Unix sockets, DECnet or any other streaming network protocol. The C Xlib\ is merely an interface to this protocol, providing functions suitable\ for a C environment.\ There are three advantages of implementing a pure Python library:\ - Integration: The library can make use of the wonderful object system\ in Python, providing an easy-to-use class hierarchy.\ - Portability: The library will be usable on (almost) any computer\ which have Python installed. A C interface could be problematic to\ port to non-Unix systems, such as MS Windows or OpenVMS.\ - Maintainability: It is much easier to develop and debug native Python\ modules than modules written in C. %description %_description %package -n python3-xlib Summary: Python X Library Provides: python-xlib BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm %description -n python3-xlib %_description %package help Summary: Development documents and examples for python-xlib Provides: python3-python-xlib-doc %description help %_description %prep %autosetup -n python-xlib-0.33 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-xlib -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon Feb 27 2023 lvfei <lvfei@kylinos.cn> - 0.33-1 - upgrade to 0.33 * Fri Dec 09 2022 liukuo <liukuo@kylinos.cn> - 0.32-2 - License compliance rectification * Thu Dec 08 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.32-1 - Update package to version 0.32 * Wed Sep 02 2020 Python_Bot <Python_Bot@openeuler.org> - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2