From 4cddccef9eaefd93f9c187b16394fd13cf3875a1 Mon Sep 17 00:00:00 2001 From: Alexey Torkhov Date: Oct 10 2009 13:11:36 +0000 Subject: - Correct generation of grfs, using nforenum --- diff --git a/opengfx.obg b/opengfx.obg new file mode 100644 index 0000000..c37331a --- /dev/null +++ b/opengfx.obg @@ -0,0 +1,25 @@ +[metadata] +name = OpenGFX +shortname = OGFX +version = 202 +description = OpenGFX base graphics replacement set for OpenTTD. Freely available under the terms of the GNU General Public License version 2. More information available in the readme at http://wiki.openttd.org/OpenGFX_Readme. [OpenGFX 0.1.1] +palette = Windows + +[files] +base = ogfx1_base.grf +arctic = ogfxc_arctic.grf +tropical = ogfxh_tropical.grf +logos = ogfxi_logos.grf +toyland = ogfxt_toyland.grf +extra = ogfxe_extra.grf + +[md5s] +ogfx1_base.grf = fe381d9c24c816e60b06031f52085d05 +ogfxc_arctic.grf = 8c8007eaeae8c0cbfdbd3e012ad7927e +ogfxh_tropical.grf = b53a1f61623540a64b81da3e9f87b007 +ogfxi_logos.grf = d5e448a6c2cea2ae625bf8439d6d2484 +ogfxt_toyland.grf = d18531d9173ee73c623b6dc14aff90e8 +ogfxe_extra.grf = 45f29ac95624d69be774e3ae7719a6ab + +[origin] +default = Please redownload from official source. diff --git a/openttd-opengfx.spec b/openttd-opengfx.spec index 32f36c2..1f87f6b 100644 --- a/openttd-opengfx.spec +++ b/openttd-opengfx.spec @@ -3,17 +3,19 @@ Name: openttd-opengfx Version: 0.1.1 -Release: 1%{?prever:.%{prever}}%{?dist} +Release: 2%{?prever:.%{prever}}%{?dist} Summary: OpenGFX replacement graphics for OpenTTD Group: Amusements/Games License: GPLv2 URL: http://dev.openttdcoop.org/projects/opengfx Source0: http://bundles.openttdcoop.org/opengfx/releases/%{realname}-%{version}%{?prever:-%{prever}}-source.tar.gz +# From binary release, to check md5sums +Source1: opengfx.obg BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: grfcodec dos2unix +BuildRequires: grfcodec nforenum dos2unix Requires: openttd @@ -31,7 +33,7 @@ dos2unix docs/authoroverview.csv docs/changelog.ptxt docs/license.ptxt \ %build -make %{?_smp_mflags} +make %{?_smp_mflags} NFORENUM=nforenum %install @@ -49,7 +51,7 @@ touch $RPM_BUILD_ROOT%{_datadir}/openttd/data/sample.cat cd opengfx-nightly # Split md5sums out of .obg file and check it sed -e 's/^\(.*\.grf\)[[:blank:]]*=[[:blank:]]*\([0-9a-f]\{32\}\)/\2 \1/' \ - -e 't end' -e 'D' -e ':end' opengfx.obg | md5sum -c + -e 't end' -e 'D' -e ':end' %{SOURCE1} | md5sum -c %clean @@ -64,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Oct 10 2009 Alexey Torkhov - 0.1.1-2 +- Correct generation of grfs, using nforenum + * Sat Oct 10 2009 Alexey Torkhov - 0.1.1-1 - New upstream release 0.1.1 - Check md5sums of resulting files