1563d00
%global realname opengfx
1563d00
#global prever   alpha6
f52268a
f52268a
Name:           openttd-opengfx
8c24aca
Version:        0.5.4
8c24aca
Release:        1%{?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
5c7bb4c
Source0:        http://bundles.openttdcoop.org/opengfx/releases/%{version}%{?prever:-%{prever}}/%{realname}-%{version}%{?prever:-%{prever}}-source.tar.xz
9eca0dd
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
f52268a
%build
0066bb1
make grf _V=
1a93a32
f52268a
f52268a
%install
0066bb1
make install _V= UNIX2DOS= INSTALL_DIR=$RPM_BUILD_ROOT%{_datadir}/openttd/data
f52268a
f52268a
f52268a
%check
baa348d
cp %{realname}-%{version}.check.md5 %{realname}-%{version}.md5
4ab8b8a
make check
f52268a
1563d00
f52268a
%files
88b4026
%doc docs/
f52268a
%{_datadir}/openttd/data/*
f52268a
f52268a
f52268a
%changelog
8c24aca
* Wed Mar 30 2016 Felix Kaechele <heffer@fedoraproject.org> - 0.5.4-1
8c24aca
- update to 0.5.4
8c24aca
d894694
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-2
d894694
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d894694
fd12c8e
* Sun Oct 25 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.5.3-1
fd12c8e
- update to 0.5.3
fd12c8e
a970e9b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
a970e9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a970e9b
0066bb1
* Mon May 18 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.5.2-1
0066bb1
- update to 0.5.2
0066bb1
- Makefile.local is replaced by command line variables
0066bb1
5c7bb4c
* Sat Jun 21 2014 Felix Kaechele <heffer@fedoraproject.org> - 0.5.1-1
5c7bb4c
- update to 0.5.1
5c7bb4c
- upstream now only provides an xz tarball so change Source0 to that
5c7bb4c
6618056
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
6618056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6618056
baa348d
* Fri Apr 04 2014 Felix Kaechele <heffer@fedoraproject.org> - 0.5.0-1
baa348d
- update to 0.5.0
baa348d
298b9d7
* Sun Dec 15 2013 Felix Kaechele <heffer@fedoraproject.org> - 0.4.7-1
298b9d7
- update to 0.4.7
298b9d7
- drop patch, it was upstreamed
298b9d7
22aa4ba
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6.1-4
22aa4ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
22aa4ba
94f0750
* Sat Mar 23 2013 Felix Kaechele <heffer@fedoraproject.org> - 0.4.6.1-3
94f0750
- fix gcc 4.8 patch
94f0750
9eca0dd
* Sat Mar 23 2013 Felix Kaechele <heffer@fedoraproject.org> - 0.4.6.1-2
9eca0dd
- fix compilation on F19+
9eca0dd
- specfile cleanups
9eca0dd
ab4c19e
* Thu Mar 14 2013 Felix Kaechele <heffer@fedoraproject.org> - 0.4.6.1-1
ab4c19e
- update to 0.4.6.1
ab4c19e
- remove unix2dos usage during compilation of docs
ab4c19e
- enable verbosity
ab4c19e
748590f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-2
748590f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
748590f
fae963c
* Tue Oct 02 2012 Felix Kaechele <heffer@fedoraproject.org> - 0.4.5-1
fae963c
- update to 0.4.5
fae963c
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