Package python-module-pysnmp4: 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 | %def_with python3 Summary: SNMP v1/v2c/v3 engine Name: python-module-pysnmp4 Version: 4.3.1 Release: alt0.M70C.1 %setup_python_module pysnmp Url: http://pysnmp.sourceforge.net/ Source0: %modulename-%version.tar License: BSD Group: Development/Python BuildArch: noarch Conflicts: python-module-pysnmp %if_with python3 BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-devel %endif %description This is an alpha-quality revision of pure-Python, open source and free implementation of v1/v2c/v3 SNMP engine. %package -n python3-module-pysnmp4 Summary: SNMP v1/v2c/v3 engine Group: Development/Python3 %description -n python3-module-pysnmp4 This is an alpha-quality revision of pure-Python, open source and free implementation of v1/v2c/v3 SNMP engine. %prep %setup -n %modulename-%version %if_with python3 cp -fR . ../python3 #sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \ # ../python3/tools/libsmi2pysnmp %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install --record=INSTALLED_FILES %if_with python3 pushd ../python3 %python3_install popd %endif %files -f INSTALLED_FILES %doc docs/* %if_with python3 %files -n python3-module-pysnmp4 #%doc CHANGES README THANKS TODO docs/* %doc docs/* %python3_sitelibdir/* %endif %changelog * Thu Apr 06 2017 Lenar Shakirov <snejok@altlinux.ru> 4.3.1-alt0.M70C.1 - Backport to C7 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.3.1-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Fri Jan 29 2016 Sergey Alembekov <rt@altlinux.ru> 4.3.1-alt1 - Build version 4.3.1 * Fri Mar 06 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.6-alt1.rc1 - Version 4.2.6rc1 * Mon Aug 25 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.5-alt1 - Version 4.2.5 - Added module for Python 3 * Mon Sep 09 2013 Alexey Shabalin <shaba@altlinux.ru> 4.2.4-alt1 - 4.2.4 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 4.1.14a-alt3.1 - Rebuild with Python-2.7 * Wed Aug 04 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.14a-alt3 - Added explicit conflict with python-module-pysnmp * Tue Aug 03 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.14a-alt2 - Added url * Tue Aug 03 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.14a-alt1 - Version 4.1.14a * Sat Nov 21 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.8a-alt2 - Rebuilt with python 2.6 * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 4.1.8a-alt1.1 - Rebuilt with python-2.5. * Tue Oct 16 2007 Peter V. Saveliev <peet@altlinux.org> 4.1.8a-alt1 - initial build |