nml 0.5.3-1 (aarch64) 2020-12459
9999

Status published
Submitter nobodydead [@T] gmail.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/825400
Packages
nml-0.5.3-1.aarch64.binary
nml-0.5.3-1.aarch64.source
nml-debuginfo-0.5.3-1.aarch64.debuginfo
nml-debugsource-0.5.3-1.aarch64.binary
Build Date 2020-09-15 14:09:33 +0000 UTC
Last Updated 2020-09-19 03:26:42.704777278 +0000 UTC
$ git diff --patch-with-stat --summary 1c4525c4058cb56b5447ea5b63146409b0463357..05e976b86eff73cf219c48517e7cde3ed818a135

 .abf.yml |  2 +-
 nml.spec | 34 +++++++++++++++++++---------------
 2 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index c40ca1e..ac53631 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  nml-0.4.5.tar.gz: bf7d9b3b8ca071c0e2dd15b3e1a9a3abbdc31f82
+  nml-0.5.3.tar.gz: 784abcb2cab5bc139b8de5d6763ca0f9be5e1fa1
diff --git a/nml.spec b/nml.spec
index 2527d62..c68bf35 100644
--- a/nml.spec
+++ b/nml.spec
@@ -1,18 +1,21 @@
 Summary:	A tool to compile nml files to grf or nfo files
 Name:		nml
-Version:	0.4.5
-Release:	2
+Version:	0.5.3
+Release:	1
 License:	GPLv2+
 Group:		Graphics
 Url:		https://github.com/OpenTTD/nml
-Source0:	http://bundles.openttdcoop.org/nml/releases/%{version}/%{name}-%{version}.tar.gz
+Source0:	https://github.com/OpenTTD/nml/archive/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:	python-distribute
 BuildRequires:	python-imaging
 BuildRequires:	python-ply
+BuildRequires:	python-pillow
+BuildRequires:	python-setuptools
 Requires:	python-ply
 Requires:	python-imaging
 Requires:	python-pkg-resources
+Requires:	python-pillow
 
 %description
 A tool to compile nml files to grf and/or nfo files.
@@ -20,13 +23,15 @@ A tool to compile nml files to grf and/or nfo files.
 NML is a meta-language that aims to be a lot simpler to learn and use than nfo.
 
 %files
+%license LICENSE
+%doc README*
 %doc examples/
-%doc docs/changelog.txt docs/index.html docs/readme.txt docs/license.txt
+%doc docs/changelog.txt
 %{_bindir}/nmlc
-%{_mandir}/man1/nmlc.1.*
-%{python3_sitearch}/%{name}-*-py%{py3ver}.egg-info/
-%{python3_sitearch}/%{name}/
-%{python3_sitearch}/nml_lz77.cpython-*.so
+%{_mandir}/man1/nmlc.1*
+%{python_sitearch}/%{name}-*-py%{python_version}.egg-info/
+%{python_sitearch}/%{name}/
+%{python_sitearch}/nml_lz77.cpython-*.so
 
 #----------------------------------------------------------------------------
 
@@ -34,18 +39,17 @@ NML is a meta-language that aims to be a lot simpler to learn and use than nfo.
 %setup -q
 
 %build
-PYTHONDONTWRITEBYTECODE= python3 setup.py build
+%py3_build
 
 %install
-mkdir -p %{buildroot}%{python3_sitelib}
-
-PYTHONDONTWRITEBYTECODE= python3 setup.py install --root %{buildroot} --prefix %{_prefix}
+%py3_install
 
 #handle docs in files section
-rm -rf %{buildroot}%{_defaultdocdir}
+rm -rf %{buildroot}%{_docdir}
 
 #man pages
-install -Dpm655 docs/nmlc.1 %{buildroot}%{_mandir}/man1/nmlc.1
+install -Dpm644 docs/nmlc.1 %{buildroot}%{_mandir}/man1/nmlc.1
 
 #unpackaged files
-rm -rf %{buildroot}%{python3_sitelib}/{easy-install.pth,site.py,site.pyc}
+rm -rf %{buildroot}%{python_sitelib}/{easy-install.pth,site.py}
+
Not Available

benbullard79 [@T] cox.netPerfect packages, no one ever says a word!1309d 06hrs
benbullard79 [@T] cox.netFantastic!1309d 06hrs