rpms/openttd-opengfx/F-10 MD5SUM.opengfx, NONE, 1.1 import.log, NONE, 1.1 openttd-opengfx.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Felix Kaechele heffer at fedoraproject.org
Fri May 29 12:44:58 UTC 2009


Author: heffer

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

Modified Files:
	.cvsignore sources 
Added Files:
	MD5SUM.opengfx import.log openttd-opengfx.spec 
Log Message:
initial import



--- NEW FILE MD5SUM.opengfx ---
86021e0608eaf7a56427843a4eed9918  opengfx.obg


--- NEW FILE import.log ---
openttd-opengfx-0-0_4_alpha4_2_fc11:F-10:openttd-opengfx-0-0.4.alpha4.2.fc11.src.rpm:1243600434


--- NEW FILE openttd-opengfx.spec ---
%define filename ogfx_source

Name:           openttd-opengfx
Version:        0
Release:        0.4.alpha4.2%{?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
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  grfcodec
Requires:       openttd


%description
The ultimate aim of this project is to have a full replacement set of graphics,
so that OpenTTD can be distributed freely without the need of the copyrighted
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


%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

%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

# OpenGFX doesn't have a sound file yet so this is required
# otherwise OpenTTD refuses to start
touch $RPM_BUILD_ROOT%{_datadir}/openttd/data/sample.cat


%check
cd $RPM_BUILD_ROOT%{_datadir}/openttd/data
md5sum --check %{SOURCE1}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc authoroverview.xls COPYING readme.txt SOURCE_README.txt
%{_datadir}/openttd/data/*


%changelog
* Thu May 28 2009 Felix Kaechele <heffer at fedoraproject.org> - 0-0.4.alpha4.2
- added md5 check

* Tue Apr 14 2009 Felix Kaechele <heffer at fedoraproject.org> - 0-0.3.alpha4.2
- now compiles from source

* Sun Mar 29 2009 Felix Kaechele <heffer at fedoraproject.org> - 0-0.2.alpha4.2
- improved macro usage
- touch sample.cat

* Sat Mar 21 2009 Felix Kaechele <heffer at fedoraproject.org> - 0-0.1.alpha4.2
- initial build



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/openttd-opengfx/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 May 2009 04:50:57 -0000	1.1
+++ .cvsignore	29 May 2009 12:44:28 -0000	1.2
@@ -0,0 +1 @@
+ogfx_source.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/openttd-opengfx/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 May 2009 04:50:57 -0000	1.1
+++ sources	29 May 2009 12:44:28 -0000	1.2
@@ -0,0 +1 @@
+86d1526c07706fc451e3ef404991ebe6  ogfx_source.zip




More information about the fedora-extras-commits mailing list