Name: python-dukpy Version: 0.3 Release: 1mamba Summary: Simple JavaScript interpreter for Python Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.python.org/pypi/dukpy Source: https://github.com/kovidgoyal/dukpy.git/v%{version}/dukpy-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpython-devel ## AUTOBUILDREQ-END Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n dukpy-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %changelog * Fri Oct 27 2017 Silvan Calarco 0.3-1mamba - update to 0.3 * Thu Oct 26 2017 Silvan Calarco 0.1.0-1mamba - package created using the webbuild interface