rpms/openttd-opengfx/F-11 .cvsignore, 1.2, 1.3 openttd-opengfx.spec, 1.1, 1.2 sources, 1.2, 1.3 MD5SUM.opengfx, 1.1, NONE

Felix Kaechele heffer at fedoraproject.org
Sun Aug 23 14:12:34 UTC 2009


Author: heffer

Update of /cvs/pkgs/rpms/openttd-opengfx/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17007

Modified Files:
	.cvsignore openttd-opengfx.spec sources 
Removed Files:
	MD5SUM.opengfx 
Log Message:
* Sun Aug 23 2009 Felix Kaechele <heffer at fedoraproject.org> - 0.1.0-0.1.alpha6
- new upstream release



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/openttd-opengfx/F-11/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	29 May 2009 13:02:13 -0000	1.2
+++ .cvsignore	23 Aug 2009 14:12:34 -0000	1.3
@@ -1 +1 @@
-ogfx_source.zip
+opengfx-0.1.0-alpha6-source.tar.gz


Index: openttd-opengfx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openttd-opengfx/F-11/openttd-opengfx.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- openttd-opengfx.spec	29 May 2009 13:02:13 -0000	1.1
+++ openttd-opengfx.spec	23 Aug 2009 14:12:34 -0000	1.2
@@ -1,21 +1,19 @@
-%define filename ogfx_source
+%define realname opengfx
+%define prever   alpha6
 
 Name:           openttd-opengfx
-Version:        0
-Release:        0.4.alpha4.2%{?dist}
+Version:        0.1.0
+Release:        0.1%{?prever:.%{prever}}%{?dist}
 Summary:        OpenGFX replacement graphics for OpenTTD
 
 Group:          Amusements/Games
 License:        GPLv2
-URL:            http://www.tt-forums.net/viewtopic.php?f=36&t=40162
-# Upstream told me that this link could be broken anytime soon as the source
-# is moving to a VCS
-Source0:        http://bzr.jaspervries.nl/newgrf/opengfx/ogfx_source.zip
-Source1:        MD5SUM.opengfx
+URL:            http://dev.openttdcoop.org/projects/opengfx
+Source0:        http://bundles.openttdcoop.org/opengfx/releases/%{realname}-%{version}%{?prever:-%{prever}}-source.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  grfcodec
+BuildRequires:  grfcodec dos2unix
 Requires:       openttd
 
 
@@ -26,36 +24,21 @@ graphics from the original game.
 
 
 %prep
-%setup -q -c -n %{filename}
-
-tr -d \\r < readme.txt > readme.txt.unix
-iconv -f iso-8859-1 -t utf-8 readme.txt.unix > readme.txt.utf-8
-touch -r readme.txt readme.txt.utf-8
-rm readme.txt.unix
-mv readme.txt.utf-8 readme.txt
-
-tr -d \\r < SOURCE_README.txt > SOURCE_README.txt.unix
-touch -r SOURCE_README.txt SOURCE_README.txt.unix
-mv SOURCE_README.txt.unix SOURCE_README.txt
-
-tr -d \\r < COPYING > COPYING.unix
-touch -r COPYING COPYING.unix
-mv COPYING.unix COPYING
+%setup -q -n %{realname}-%{version}%{?prever:-%{prever}}-source 
+dos2unix docs/authoroverview.csv docs/changelog.ptxt docs/license.ptxt \
+    docs/readme.ptxt docs/aoHTMLoutput/config.inc.php \
+    docs/aoHTMLoutput/script.php docs/aoHTMLoutput/style.css
 
 
 %build
-grfcodec -e -p 2 opengfx1r.grf
-grfcodec -e -p 2 opengfxcr.grf
-grfcodec -e -p 2 opengfxhr.grf
-grfcodec -e -p 2 opengfxir.grf
-grfcodec -e -p 2 opengfxtr.grf
-grfcodec -e -p 2 opengfxw.grf
+make %{?_smp_mflags}
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/openttd/data
-install -pm 644 opengfx*.grf $RPM_BUILD_ROOT%{_datadir}/openttd/data
-install -pm 644 opengfx.obg $RPM_BUILD_ROOT%{_datadir}/openttd/data
+make install INSTALLDIR=$RPM_BUILD_ROOT%{_datadir}/openttd/data
 
 # OpenGFX doesn't have a sound file yet so this is required
 # otherwise OpenTTD refuses to start
@@ -64,7 +47,6 @@ touch $RPM_BUILD_ROOT%{_datadir}/openttd
 
 %check
 cd $RPM_BUILD_ROOT%{_datadir}/openttd/data
-md5sum --check %{SOURCE1}
 
 
 %clean
@@ -73,11 +55,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc authoroverview.xls COPYING readme.txt SOURCE_README.txt
+%doc docs/*.txt
+%doc docs/aoHTMLoutput/
 %{_datadir}/openttd/data/*
 
 
 %changelog
+* Sun Aug 23 2009 Felix Kaechele <heffer at fedoraproject.org> - 0.1.0-0.1.alpha6
+- new upstream release
+
 * Thu May 28 2009 Felix Kaechele <heffer at fedoraproject.org> - 0-0.4.alpha4.2
 - added md5 check
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/openttd-opengfx/F-11/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	29 May 2009 13:02:13 -0000	1.2
+++ sources	23 Aug 2009 14:12:34 -0000	1.3
@@ -1 +1 @@
-86d1526c07706fc451e3ef404991ebe6  ogfx_source.zip
+b4441f9d3397b006ca25495935675fa1  opengfx-0.1.0-alpha6-source.tar.gz


--- MD5SUM.opengfx DELETED ---




More information about the fedora-extras-commits mailing list