a503d9d
Name:           adonthell
136abd8
Summary:        A 2D graphical RPG game
Alexandre Moine 6193a8c
Version:        0.3.6
929549b
Release:        5%{?dist}
a503d9d
License:        GPLv2+
54a9ee7
URL:            http://adonthell.nongnu.org/
9c2b190
Source0:        http://savannah.nongnu.org/download/%{name}/%{name}-src-%{version}.tar.gz
38025ba
Alexandre Moine 6193a8c
BuildRequires:  python3-devel
a503d9d
BuildRequires:  freetype-devel
a503d9d
BuildRequires:  libxml2-devel
a503d9d
BuildRequires:  libogg-devel
a503d9d
BuildRequires:  libvorbis-devel
Alexandre Moine 6193a8c
BuildRequires:  SDL2-devel SDL2_mixer-devel SDL2_ttf-devel
a503d9d
BuildRequires:  libpng-devel
a503d9d
BuildRequires:  swig
a503d9d
BuildRequires:  doxygen
a503d9d
BuildRequires:  graphviz
a503d9d
a503d9d
a503d9d
%description
a503d9d
A 2D, graphical, single player role playing game inspired by good old
a503d9d
console RPGs from the 16 bit console gaming era.
a503d9d
a503d9d
This package contains the Adonthell engine. You will also need a game
a503d9d
package to play Adonthell. For this release, the official package is
a503d9d
Waste's Edge.
a503d9d
a503d9d
a503d9d
%package doc
a503d9d
Summary:        API documentation for %{name}
a503d9d
a503d9d
Group:          Documentation
a503d9d
Requires:       %{name} = %{version}-%{release}
a503d9d
a503d9d
%description doc
a503d9d
API documentation for %{name} generated by doxygen in HTML format.
a503d9d
a503d9d
a503d9d
%prep
a503d9d
%setup -q
a503d9d
# install locale files in the right place
a503d9d
sed -i 's|myconfig.gamedir + "/locale"|"%{_datadir}/locale"|' src/nls.cc
cfe9250
a503d9d
# remove hardcoded CFLAGS
a503d9d
sed -i 's|^CFLAGS|^#CFLAGS|g' configure
Alexandre Moine a9308ac
sed -i "s|ac_precious_vars='build_alias|'ac_precious_vars=build_alias|g" configure
a503d9d
%build
a503d9d
%configure --enable-doc
Alexandre Moine ef15be8
make %{?_smp_mflags}
a503d9d
a503d9d
a503d9d
%install
Alexandre Moine 6193a8c
%make_install
a503d9d
a503d9d
a503d9d
%files
Alexandre Moine ef15be8
%license COPYING AUTHORS
a503d9d
%{_bindir}/%{name}-0.3
a503d9d
%{_datadir}/%{name}/
Alexandre Moine 6193a8c
%{_mandir}/man6/*
a503d9d
a503d9d
%files doc
a503d9d
%doc doc/devel/html
a503d9d
a503d9d
a503d9d
%changelog
929549b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-5
929549b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
929549b
Alexandre Moine a9308ac
* Fri Feb 10 2017 Alexandre Moine <nobrakal@gmail.com> - 0.3.6-4
Alexandre Moine a9308ac
- Fixing bug #1420854
Alexandre Moine a9308ac
46b9fc9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-3
46b9fc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
46b9fc9
2c2f329
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.3.6-2
2c2f329
- Rebuild for Python 3.6
2c2f329
Alexandre Moine 6193a8c
* Wed Sep 28 2016 Alexandre Moine <nobrakal@gmail.com> - 0.3.6-1
Alexandre Moine 6193a8c
- New, sadly, final, release
Alexandre Moine 6193a8c
9786e23
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-7
9786e23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9786e23
Alexandre Moine ef15be8
* Thu Oct 01 2015 Alexandre Moine <nobrakal@gmail.com> - 0.3.5-6
Alexandre Moine ef15be8
- Some spec cleanup
Alexandre Moine ef15be8
- Move COPYING and AUTHORS from %%doc to %%license
Alexandre Moine ef15be8
25b41e2
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-5
25b41e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
25b41e2
71b05bf
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.3.5-4
71b05bf
- Rebuilt for GCC 5 C++11 ABI change
71b05bf
085290f
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-3
085290f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
085290f
78c588a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
78c588a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
78c588a
cfe9250
* Mon Dec 09 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 0.3.5-1
cfe9250
- Fix the build with -Werror=format-security
cfe9250
  https://bugzilla.redhat.com/show_bug.cgi?id=1036981
cfe9250
3610aa1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.16
3610aa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3610aa1
66bb707
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.15
66bb707
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
66bb707
29d24fd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.14
29d24fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
29d24fd
95f6560
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.13
95f6560
- Rebuilt for c++ ABI breakage
95f6560
2039e75
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.12
2039e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2039e75
de33c0e
* Tue Feb 15 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 0.3.5-0.11
de33c0e
- Fix GCC-4.6 build failure
de33c0e
- Remake GCC-4.4 build failure patch from 0.3.5-0.6:
de33c0e
  - use cvs to generate a proper patch
de33c0e
  - name it properly
de33c0e
af4b2df
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.10
af4b2df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
af4b2df
f33c737
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.5-0.9
f33c737
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
f33c737
9c2b190
* Tue Aug 11 2009 Mathieu Bridon <bochecha@fedoraproject.org> - 0.3.5-0.8
9c2b190
- Upstream changed source URL.
9c2b190
- Added defattr for -doc subpackage.
9c2b190
e2240de
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.7
e2240de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e2240de
0754337
* Sun Mar 01 2009 Mathieu Bridon <bochecha@fedoraproject.org> - 0.3.5-0.6
0754337
- Fixed building with GCC 4.4
0754337
24314b0
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-0.5
24314b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
24314b0
65db741
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.5-0.4
65db741
- Rebuild for Python 2.6
65db741
a503d9d
* Tue Jun 03 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.5-0.3
a503d9d
- added -p option to install
a503d9d
a503d9d
* Sat May 31 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.5-0.2
a503d9d
- applied patch to configure instead of configure.in
a503d9d
- removed trademarks names from description
a503d9d
- removed explicit requires
a503d9d
a503d9d
* Tue May 27 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.5-0.1
a503d9d
- switched to 0.3.5 release (includes bug fixes and fixes for building RPM for
a503d9d
  fedora like pythin finding and errors with fedora specific flags)
a503d9d
3eec08d
* Fri May 23 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.8
a503d9d
- fixed license tag (GPLv2 to GPLv2+)
a503d9d
- removed explicit requires
a503d9d
- fixed directories ownership
a503d9d
a503d9d
* Thu Apr 17 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.7
a503d9d
- fixed building on 64 bits arch (/lib was hard coded in configure.in)
a503d9d
a503d9d
* Fri Apr 04 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.6
a503d9d
- fixed typo in doc description
a503d9d
a503d9d
* Fri Feb 22 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.5
a503d9d
- search for translations in the right place so that wastesedge
a503d9d
package can install them in the right place
a503d9d
a503d9d
* Thu Feb 21 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.4
a503d9d
- separated the doc in a dedicated package
a503d9d
a503d9d
* Thu Feb 21 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.3
a503d9d
- cleaned the spec file again
a503d9d
a503d9d
* Thu Feb 21 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.2
a503d9d
- cleaned the spec file
a503d9d
a503d9d
* Mon Feb 18 2008 Mathieu Bridon <bochecha@no-log.org> 0.3.4-0.1
a503d9d
- first version of the SPEC file