d21f45
Name:           nml
78e845
Version:        0.4.5
d7f441
Release:        5%{?dist}
d21f45
Summary:        NewGRF Meta Language compiler
d21f45
d21f45
License:        GPLv2+
d21f45
URL:            http://dev.openttdcoop.org/projects/nml
8da482
Source0:        http://bundles.openttdcoop.org/nml/releases/%{version}/%{name}-%{version}.tar.gz
d21f45
0a61bf
Patch0:         0001-nml-Fix-compatibility-with-pillow.patch
0a61bf
78e845
BuildRequires:  gcc
78e845
BuildRequires:  python3-devel
78e845
BuildRequires:  python3-pillow
78e845
BuildRequires:  python3-ply
78e845
BuildRequires:  python3-setuptools
78e845
Requires:       python3-pillow
78e845
Requires:       python3-ply
78e845
Requires:       python3-setuptools
d21f45
d21f45
%description
d21f45
A tool to compile nml files to grf or nfo files, making newgrf coding easier.
d21f45
d21f45
d21f45
%prep
0a61bf
%autosetup -p1
d21f45
d21f45
d21f45
%build
e38ed3
%py3_build
d21f45
d21f45
d21f45
%install
e38ed3
%py3_install
d21f45
d21f45
gzip docs/nmlc.1
d21f45
install -Dpm 644 docs/nmlc.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/nmlc.1.gz
d21f45
rm docs/nmlc.1.gz
d21f45
d21f45
 
d21f45
%files
d21f45
%doc docs/*
d21f45
%doc %{_mandir}/man1/nmlc.1.gz
d21f45
%{_bindir}/nmlc
8da482
%{python3_sitearch}/nml*
d21f45
d21f45
d21f45
%changelog
d7f441
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.5-5
d7f441
- Rebuilt for Python 3.8
d7f441
0a61bf
* Mon Jul 29 2019 Felix Kaechele <heffer@fedoraproject.org> - 0.4.5-4
0a61bf
- fix pillow compatibility
0a61bf
3e43db
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-3
3e43db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3e43db
2f3fa8
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
2f3fa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2f3fa8
78e845
* Fri Jul 20 2018 Felix Kaechele <heffer@fedoraproject.org> - 0.4.5-1
78e845
- update to 0.4.5
78e845
- add gcc BuildRequires
78e845
ec3b30
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-9
ec3b30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ec3b30
df8de8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-8
df8de8
- Rebuilt for Python 3.7
df8de8
c5ce50
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-7
c5ce50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c5ce50
3be1dd
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-6
3be1dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3be1dd
30c86d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-5
30c86d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
30c86d
3fe080
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
3fe080
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3fe080
fd594b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-3
fd594b
- Rebuild for Python 3.6
fd594b
e2d2b0
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
e2d2b0
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e2d2b0
9209e9
* Wed Mar 30 2016 Felix Kaechele <heffer@fedoraproject.org> - 0.4.4-1
9209e9
- update to 0.4.4
9209e9
- remove obsolete patch
9209e9
0c8d30
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-4
0c8d30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0c8d30
47f95d
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-3
47f95d
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
47f95d
1f339e
* Wed Oct 28 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.4.2-2
1f339e
- fix calls to deprecated pillow functions
1f339e
86e00a
* Sun Oct 25 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.4.2-1
86e00a
- update to 0.4.2
86e00a
d5d741
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
d5d741
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d5d741
858bba
* Mon May 18 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.4.1-2
858bba
- add missing BuildRequires
858bba
8da482
* Mon May 18 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.4.1-1
8da482
- update to 0.4.1
8da482
- remove version_foo variable (YAY!)
8da482
8da482
* Wed Feb 18 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.4.0-1
8da482
- update to 0.4.0
8da482
- now uses Python 3
8da482
- is no longer noarch
8da482
213339
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.3.1-2
213339
- Replace python-setuptools-devel BR with python-setuptools
213339
6712bb
* Sat Jun 21 2014 Felix Kaechele <heffer@fedoraproject.org> - 0.3.1-1
6712bb
- update to 0.3.1
6712bb
- change Source0 URL / source dir name *again* (for the worse, le sigh)
6712bb
533339
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
533339
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
533339
9f3c22
* Mon Mar 31 2014 Felix Kaechele <heffer@fedoraproject.org> - 0.3.0-1
9f3c22
- update to 0.3.0
9f3c22
- drop patch for pillow support (upstreamed)
9f3c22
- change Source0 URL / source dir name
9f3c22
8d8bad
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
8d8bad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8d8bad
494b65
* Thu Mar 14 2013 Felix Kaechele <heffer@fedoraproject.org> - 0.2.4-1
494b65
- update to 0.2.4
494b65
- patch for pillow support
494b65
96051d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
96051d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
96051d
3c6a94
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
3c6a94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3c6a94
3d7d73
* Wed Apr 11 2012 Felix Kaechele <heffer@fedoraproject.org> - 0.2.3-2
3d7d73
- add python-setuptools runtime requirement
3d7d73
d21f45
* Thu Mar 29 2012 Felix Kaechele <heffer@fedoraproject.org> - 0.2.3-1
d21f45
- initial spec