Пакет python-module-xlib: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | %define oname xlib %def_without check Name: python-module-%oname Version: 0.26 Release: alt2 Summary: Python X Library Group: Development/Python License: LGPL Url: https://github.com/python-xlib/python-xlib Source: %name-%version.tar BuildRequires: /usr/bin/texi2html BuildRequires: python-devel python-module-setuptools python-module-setuptools_scm %if_with check BuildRequires: python-module-six BuildRequires: python2.7(mock) BuildRequires: python-module-pytest %endif %description The Python X Library is a complete X11R6 client-side implementation, written in pure Python. It can be used to write low-levelish X Windows client applications in Python. %package docs Summary: Documentation and examples for Python X Library Group: Development/Documentation BuildArch: noarch %description docs The Python X Library is a complete X11R6 client-side implementation, written in pure Python. It can be used to write low-levelish X Windows client applications in Python. This package contains documentation and examples for Python X Library. %prep %setup %build %python_build pushd doc/html %make SRCS=$PWD/../src TOPSRC=$PWD/../src/python-xlib.texi popd %install %python_install # hack for x86_64 build test -d %buildroot%_libdir || mv %buildroot%prefix/lib %buildroot%_libdir || : %check python setup.py test py.test -vv %files %doc README.rst LICENSE TODO %python_sitelibdir/* %files docs %doc examples doc/html/*.html %changelog * Tue Sep 15 2020 Grigory Ustinov <grenka@altlinux.org> 0.26-alt2 - Drop python3 support. * Thu Dec 19 2019 Grigory Ustinov <grenka@altlinux.org> 0.26-alt1 - Build new version 0.26. * Tue May 14 2019 Grigory Ustinov <grenka@altlinux.org> 0.25-alt1 - New version 0.25 * Wed Mar 07 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.21-alt1 - Updated to upstream version 0.21. * Tue Jan 03 2017 Anton Midyukov <antohami@altlinux.org> 0.18-alt1 - New version 0.18 * Mon Dec 07 2015 Igor Vlasenko <viy@altlinux.ru> 0.15-alt2.rc1.svn20131015 - added perl patch * Wed Aug 27 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.15-alt1.rc1.svn20131015 - Snapshot from svn * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.15-alt1.rc1.1 - Rebuild with Python-2.7 * Sun Nov 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.15-alt1.rc1 - Version 0.15rc1 * Mon Nov 16 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.14-alt1.1.1 - Rebuilt with python 2.6 * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 0.14-alt1.1 - Rebuilt with python-2.5. * Tue Oct 16 2007 Vitaly Lipatov <lav@altlinux.ru> 0.14-alt1 - new version 0.14 (with rpmrb script) * Tue Sep 12 2006 Vitaly Lipatov <lav@altlinux.ru> 0.12-alt2 - override alt1 in incoming :) - fix hack for x86_64 :) * Tue Jun 20 2006 Vitaly Lipatov <lav@altlinux.ru> 0.12-alt0.2 - hack for build at x86_64 (fix bug #9710) * Sun Dec 18 2005 Vitaly Lipatov <lav@altlinux.ru> 0.12-alt0.1 - initial build for ALT Linux Sisyphus |