1563d00
%global realname opengfx
1563d00
#global prever   alpha6
f52268a
f52268a
Name:           openttd-opengfx
ea05500
Version:        0.4.4
09ba7db
Release:        2%{?prever:.%{prever}}%{?dist}
f52268a
Summary:        OpenGFX replacement graphics for OpenTTD
f52268a
f52268a
Group:          Amusements/Games
f52268a
License:        GPLv2
1a93a32
URL:            http://dev.openttdcoop.org/projects/opengfx
64df44e
Source0:        http://bundles.openttdcoop.org/opengfx/releases/%{version}%{?prever:-%{prever}}/%{realname}-%{version}%{?prever:-%{prever}}-source.tar.xz
f52268a
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f52268a
BuildArch:      noarch
f52268a
5437116
BuildRequires:  gimp grfcodec nml
f52268a
Requires:       openttd
f52268a
f52268a
f52268a
%description
64df44e
OpenGFX is an open source graphics base set for OpenTTD which can completely
64df44e
replace the TTD base set. The main goal of OpenGFX therefore is to provide a
64df44e
set of free base graphics which make it possible to play OpenTTD without
64df44e
requiring the (copyrighted) files from the TTD CD. This potentially increases
64df44e
the OpenTTD fan base and makes it a true free game (with "free" as in both
64df44e
"free beer" and "free speech").
64df44e
64df44e
As of version 0.2.0 OpenGFX has a full set of sprites. Future versions will aim
64df44e
to improve the graphics. 
f52268a
f52268a
f52268a
%prep
1a93a32
%setup -q -n %{realname}-%{version}%{?prever:-%{prever}}-source 
f52268a
5437116
cat >> Makefile.local << EOF
5437116
DO_NOT_INSTALL_DOCS = 1
5437116
DO_NOT_INSTALL_LICENSE = 1
5437116
DO_NOT_INSTALL_CHANGELOG = 1
5437116
EOF
5437116
f52268a
f52268a
%build
ea05500
make clean-gfx
1a93a32
f52268a
f52268a
%install
f52268a
rm -rf $RPM_BUILD_ROOT
1563d00
make install INSTALL_DIR=$RPM_BUILD_ROOT%{_datadir}/openttd/data
f52268a
f52268a
f52268a
%check
4ab8b8a
make check
f52268a
1563d00
f52268a
%clean
f52268a
rm -rf $RPM_BUILD_ROOT
f52268a
f52268a
f52268a
%files
f52268a
%defattr(-,root,root,-)
88b4026
%doc docs/
f52268a
%{_datadir}/openttd/data/*
f52268a
f52268a
f52268a
%changelog
09ba7db
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
09ba7db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
09ba7db
ea05500
* Thu Apr 19 2012 Felix Kaechele <heffer@fedoraproject.org> - 0.4.4-1
ea05500
- update to 0.4.4
ea05500
- use clean-gfx target to build completely from source
ea05500
5437116
* Thu Mar 29 2012 Felix Kaechele <heffer@fedoraproject.org> - 0.4.3-1
5437116
- update to 0.4.3
5437116
689844a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
689844a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
689844a
725d040
* Sun Oct 23 2011 Felix Kaechele <heffer@fedoraproject.org> - 0.3.7-1
725d040
- updated river sprites (0.3.6)
725d040
- added new sprites for nightly versions of OpenTTD
725d040
6a93799
* Sat Sep 03 2011 Felix Kaechele <heffer@fedoraproject.org> - 0.3.5-1
6a93799
- update 0.3.5
6a93799
- many bugfixes
6a93799
- reworked aircarft sprites
6a93799
64df44e
* Sun Jun 12 2011 Felix Kaechele <heffer@fedoraproject.org> - 0.3.4-1
64df44e
- update to 0.3.4
64df44e
- switch to xz tarball
64df44e
- updated description
64df44e
a2de069
* Mon Apr 04 2011 Felix Kaechele <heffer@fedoraproject.org> - 0.3.3-1
a2de069
- bump version
a2de069
cab8b76
* Wed Feb 09 2011 Felix Kaechele <heffer@fedoraproject.org> - 0.3.2-1
cab8b76
- update to new upstream release
cab8b76
0022364
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-2
0022364
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0022364
1563d00
* Mon Oct 11 2010 Felix Kaechele <heffer@fedoraproject.org> - 0.3.1-1
1563d00
- new upstream release
1563d00
- contains mostly packaging fixes and a fix for the load sprite
1563d00
- removed empty sample.cat, openttd now gives a warning and offers
1563d00
  to download a sound set
1563d00
- sprites are complete as of 0.3.0
1563d00
4ab8b8a
* Sun May 09 2010 Felix Kaechele <heffer@fedoraproject.org> - 0.2.4-1
4ab8b8a
- mainly fixes for train alignment
4ab8b8a
- now relying on 'make check' for data integrity checks
4ab8b8a
2d2117e
* Mon Mar 29 2010 Felix Kaechele <heffer@fedoraproject.org> - 0.2.2-1
2d2117e
- bugfix release 0.2.2
2d2117e
- major fixes to houses and their alignment
2d2117e
- re-worked maglev and monorail vehicles
2d2117e
- translations into multiple languages
2d2117e
f40c99b
* Sat Jan 02 2010 Felix Kaechele <felix@fetzig.org> - 0.2.1-1
f40c99b
- upstream bugfix release
f40c99b
88b4026
* Fri Dec 11 2009 Felix Kaechele <felix@fetzig.org> - 0.2.0-1
88b4026
- update to 0.2.0
88b4026
- cleaned up docs
88b4026
Alexey Torkhov 4cddcce
* Sat Oct 10 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.1.1-2
Alexey Torkhov 4cddcce
- Correct generation of grfs, using nforenum
Alexey Torkhov 4cddcce
Alexey Torkhov cfa2f70
* Sat Oct 10 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.1.1-1
Alexey Torkhov cfa2f70
- New upstream release 0.1.1
Alexey Torkhov cfa2f70
- Check md5sums of resulting files
Alexey Torkhov cfa2f70
1a93a32
* Sun Aug 23 2009 Felix Kaechele <heffer@fedoraproject.org> - 0.1.0-0.1.alpha6
1a93a32
- new upstream release
1a93a32
6ca018a
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.5.alpha4.2
6ca018a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6ca018a
f52268a
* Thu May 28 2009 Felix Kaechele <heffer@fedoraproject.org> - 0-0.4.alpha4.2
f52268a
- added md5 check
f52268a
f52268a
* Tue Apr 14 2009 Felix Kaechele <heffer@fedoraproject.org> - 0-0.3.alpha4.2
f52268a
- now compiles from source
f52268a
f52268a
* Sun Mar 29 2009 Felix Kaechele <heffer@fedoraproject.org> - 0-0.2.alpha4.2
f52268a
- improved macro usage
f52268a
- touch sample.cat
f52268a
f52268a
* Sat Mar 21 2009 Felix Kaechele <heffer@fedoraproject.org> - 0-0.1.alpha4.2
f52268a
- initial build
f52268a