Package python3-module-pyxattr-docs: 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 116 117 118 119 120 121 122 123 | %define oname pyxattr %define fname python3-module-%oname %define descr \ This is the pyxattr module, a Python extension module which gives access \ to the extended attributes for filesystem objects available in some \ operating systems. Name: %fname-docs Version: 0.6.1 Release: alt1 %if "-docs"=="" Summary: A python module for accessing filesystem Extended Attributes Group: Development/Python3 %else Summary: Documentation for %oname Group: Development/Documentation %endif License: LGPLv2.1 Url: http://pyxattr.sourceforge.net/ # https://github.com/iustin/pyxattr.git Source: %name-%version.tar BuildPreReq: libattr-devel python-module-sphinx-devel python-devel BuildRequires(pre): rpm-build-python3 %if "-docs"!="" Conflicts: %fname < %EVR Conflicts: %fname > %EVR %endif %description %descr %if "-docs"!="" This package contains documentation for %oname. %endif %prep %setup %if "-docs"!="" %prepare_sphinx . ln -s ../objects.inv doc/ %endif %build %if "-docs"=="" %python3_build %else export PYTHONPATH=%buildroot%python3_sitelibdir %make doc %endif %install %python3_install %if "-docs"=="" %files %python3_sitelibdir/* %doc NEWS README* %else %files %doc doc/* %python3_sitelibdir/*.egg-info* %endif %changelog * Mon Oct 08 2018 Grigory Ustinov <grenka@altlinux.org> 0.6.1-alt1 - Build new version. * Mon Jul 16 2018 Grigory Ustinov <grenka@altlinux.org> 0.6.0-alt2 - Fixed FTBFS (fixed BR). * Wed May 30 2018 Grigory Ustinov <grenka@altlinux.org> 0.6.0-alt1 - Build new version. * Tue Apr 10 2018 Grigory Ustinov <grenka@altlinux.org> 0.5.3-alt4 - Tranfer package to subst-packaging system. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.5.3-alt3.1.1 - (NMU) Rebuilt with python-3.6.4. * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.5.3-alt3.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Feb 25 2016 Denis Medvedev <nbr@altlinux.org> 0.5.3-alt3 - removed ENOATTR from code. * Thu Feb 25 2016 Denis Medvedev <nbr@altlinux.org> 0.5.3-alt2 - Fix includes. Bug in includes. * Mon Aug 25 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.3-alt1 - Version 0.5.3 - Added module for Python 3 * Thu Jan 09 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.2-alt1 - Version 0.5.2 * Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 0.5.0-alt1.1.1.1 - Rebuild to remove redundant libpython2.7 dependency * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.5.0-alt1.1.1 - Rebuild with Python-2.7 * Tue Mar 29 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.0-alt1.1 - Rebuilt for debuginfo * Sun Jul 11 2010 Andrey Rahmatullin <wrar@altlinux.org> 0.5.0-alt1 - 0.5.0 - spec fixes * Mon Nov 23 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.1-alt2 - Rebuilt with python 2.6 * Tue Jan 29 2008 Grigory Batalov <bga@altlinux.ru> 0.2.1-alt1.1 - Rebuilt with python-2.5. * Sat Apr 07 2007 Vitaly Lipatov <lav@altlinux.ru> 0.2.1-alt1 - initial build for ALT Linux Sisyphus |