From eb27b62abe3752622ac24cb37a53f2706e2e8684 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:06:33 +0100 Subject: [PATCH] update to 0.3 [release 0.3-1mamba;Fri Oct 27 2017] --- README.md | 2 ++ python-dukpy.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 python-dukpy.spec diff --git a/README.md b/README.md index c0c5cea..6de401e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-dukpy +Simple JavaScript interpreter for Python. + diff --git a/python-dukpy.spec b/python-dukpy.spec new file mode 100644 index 0000000..ea035e5 --- /dev/null +++ b/python-dukpy.spec @@ -0,0 +1,49 @@ +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