Пакет python-module-js.tinymce: Specfile
%define _unpackaged_files_terminate_build 1 # REMOVE ME (I was set for NMU) and uncomment real Release tags: Release: alt1 %define oname js.tinymce %def_with python3 Name: python-module-%oname Version: 4.2.7 #Release: alt1.1 Summary: Fanstatic packaging of TinyMCE License: BSD Group: Development/Python Url: https://pypi.python.org/pypi/js.tinymce/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source0: https://pypi.python.org/packages/8b/8c/a6c5f15e903dcdb6e2aeb33fffd85a8b4ba0722f3a11b19227b7d747678e/%{oname}-%{version}.tar.gz BuildPreReq: python-devel python-module-setuptools %if_with python3 BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-devel python3-module-setuptools %endif %py_provides %oname %py_requires js %description This library packages TinyMCE for fanstatic. %package -n python3-module-%oname Summary: Fanstatic packaging of TinyMCE Group: Development/Python3 %py3_provides %oname %py3_requires js %description -n python3-module-%oname This library packages TinyMCE for fanstatic. %prep %setup -q -n %{oname}-%{version} %if_with python3 cp -fR . ../python3 %endif %build %python_build_debug %if_with python3 pushd ../python3 %python3_build_debug popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif %if "%_libexecdir" != "%_libdir" mv %buildroot%_libexecdir %buildroot%_libdir %endif %files %doc *.txt %python_sitelibdir/* %if_with python3 %files -n python3-module-%oname %doc *.txt %python3_sitelibdir/* %endif %changelog * Wed Jan 11 2017 Igor Vlasenko <viy@altlinux.ru> 4.2.7-alt1 - automated PyPI update * Tue May 24 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.28-alt1.1.1 - (AUTO) subst_x86_64. * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.28-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 Oct 10 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.28-alt1 - Initial build for Sisyphus |