rpms/openttd-opengfx/devel opengfx.obg, NONE, 1.1 openttd-opengfx.spec, 1.4, 1.5

Alexey Torkhov atorkhov at fedoraproject.org
Sat Oct 10 13:11:36 UTC 2009


Author: atorkhov

Update of /cvs/pkgs/rpms/openttd-opengfx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20577

Modified Files:
	openttd-opengfx.spec 
Added Files:
	opengfx.obg 
Log Message:
* Sat Oct 10 2009 Alexey Torkhov <atorkhov at gmail.com> - 0.1.1-2
- Correct generation of grfs, using nforenum



--- NEW FILE opengfx.obg ---
[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.


Index: openttd-opengfx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openttd-opengfx/devel/openttd-opengfx.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- openttd-opengfx.spec	10 Oct 2009 10:01:54 -0000	1.4
+++ openttd-opengfx.spec	10 Oct 2009 13:11:36 -0000	1.5
@@ -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/ch
 
 
 %build
-make %{?_smp_mflags}
+make %{?_smp_mflags} NFORENUM=nforenum
 
 
 %install
@@ -49,7 +51,7 @@ touch $RPM_BUILD_ROOT%{_datadir}/openttd
 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 <atorkhov at gmail.com> - 0.1.1-2
+- Correct generation of grfs, using nforenum
+
 * Sat Oct 10 2009 Alexey Torkhov <atorkhov at gmail.com> - 0.1.1-1
 - New upstream release 0.1.1
 - Check md5sums of resulting files




More information about the fedora-extras-commits mailing list