]> git.pld-linux.org Git - packages/nml.git/commitdiff
- new auto/th/nml-0_2_1-1
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 31 Dec 2011 15:56:21 +0000 (15:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nml.spec -> 1.1

nml.spec [new file with mode: 0644]

diff --git a/nml.spec b/nml.spec
new file mode 100644 (file)
index 0000000..fdcb2ee
--- /dev/null
+++ b/nml.spec
@@ -0,0 +1,38 @@
+Summary:       convert meta-languate to openttd's grf and/or nfo files
+Name:          nml
+Version:       0.2.1
+Release:       1
+License:       GPL v2
+Group:         Applications
+Source0:       http://bundles.openttdcoop.org/nml/releases/0.2.1/%{name}-%{version}.src.tar.gz
+# Source0-md5: a19adeaa584c1f9798d7d0da0f2ac316
+URL:           https://dev.openttdcoop.org/projects/nml
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.234
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A tool to convert a meta-language to grf and/or nfo files, making
+newgrf coding easier.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/nml
This page took 0.167068 seconds and 4 git commands to generate.