Author: adamg Date: Sat Dec 31 15:56:27 2011 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/nml: nml.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/nml/nml.spec diff -u /dev/null packages/nml/nml.spec:1.1 --- /dev/null Sat Dec 31 16:56:27 2011 +++ packages/nml/nml.spec Sat Dec 31 16:56:21 2011 @@ -0,0 +1,49 @@ +# $Revision$, $Date$ +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 + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/12/31 15:56:21 adamg +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
