767aee9
Name:		scummvm-tools
20482fc
Version:	2.0.0
20482fc
Release:	1%{?dist}
767aee9
Summary:	Tools for scummVM / S.C.U.M.M scripting language
767aee9
Group:		Development/Tools
767aee9
License:	GPLv2+
e9bce51
URL:		http://www.scummvm.org
443f94d
e9bce51
Source0:	http://www.scummvm.org/frs/%{name}/%{version}/%{name}-%{version}.tar.bz2
767aee9
Source1:	%{name}.desktop
e9bce51
Patch0:		scummvm-tools-1.8.0-fPIC.patch
36c97c6
BuildRequires:	wxGTK-devel, libvorbis-devel, flac-devel, desktop-file-utils
a970463
BuildRequires:	zlib-devel bzip2-devel libmad-devel
f91edb5
BuildRequires:	libpng-devel freetype-devel boost-devel
a970463
Requires:	scummvm%{?_isa} >= %{version}
767aee9
767aee9
%description
767aee9
This is a collection of various tools that may be useful to use in
767aee9
conjunction with ScummVM.
767aee9
Please note that although a tool may support a feature, certain ScummVM
6a57a31
versions may not. ScummVM 0.6.x does not support FLAC audio, for example.
767aee9
767aee9
Many games package together all their game data in a few big archive files.
767aee9
The following tools can be used to extract these archives, and in some cases
6a57a31
are needed to make certain game versions usable with ScummVM.
767aee9
6a57a31
The following tools can also be used to analyze the game scripts
6a57a31
(controlling the behavior of certain scenes and actors in a game).
767aee9
These tools are most useful to developers.
767aee9
767aee9
%prep
2216ce6
%setup -q
e9bce51
%patch0 -p1 -b .fpic
767aee9
767aee9
%build
443f94d
# Update the various config.guess to upstream release for aarch64/ppc64le support
443f94d
find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
a970463
%configure || :
443f94d
55fedb7
# No rpm configure because scummvm's configure isn't a real configure and thus
55fedb7
# doesn't understand some of the options %%configure passes. This includes
55fedb7
# -libdir, so rpmlint's complaints should be ignored.
55fedb7
./configure --prefix=%{_prefix} --bindir=%{_bindir} --mandir=%{_mandir} \
2216ce6
	--datadir=%{_datadir} --enable-verbose-build
a970463
%make_build
767aee9
767aee9
%install
767aee9
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
a970463
%make_install
55fedb7
(cd ${RPM_BUILD_ROOT}%{_bindir} ; for i in `ls *|grep -v scummvm` ; do mv $i scummvm-$i ; done)
767aee9
767aee9
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
767aee9
desktop-file-install \
55fedb7
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
55fedb7
	%{SOURCE1}
767aee9
767aee9
55fedb7
%files
a970463
%license COPYING
a970463
%doc README TODO
767aee9
%{_bindir}/*
55fedb7
%{_datadir}/%{name}
767aee9
%{_datadir}/applications/%{name}.desktop
767aee9
767aee9
767aee9
%changelog
20482fc
* Sat Apr 14 2018 Christian Krause <chkr@fedoraproject.org> - 2.0.0-1
20482fc
- update to latest upstream
20482fc
a970463
* Sun Aug 20 2017 Björn Esser <besser82@fedoraproject.org> - 1.9.0-8
a970463
- Properly apply compiler / linker flags
a970463
- Add BR: libmad-devel for MP3 support
a970463
- Move COPYING to %%license
a970463
d78e538
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-7
d78e538
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d78e538
9230ef3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-6
9230ef3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9230ef3
9dcbda9
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 1.9.0-5
9dcbda9
- Rebuilt for s390x binutils bug
9dcbda9
50e8736
* Tue Jul 04 2017 Jonathan Wakely <jwakely@redhat.com> - 1.9.0-4
50e8736
- Rebuilt for Boost 1.64
50e8736
d2c3853
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-3
d2c3853
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d2c3853
64c9e96
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 1.9.0-2
64c9e96
- Rebuilt for Boost 1.63
64c9e96
d5a7860
* Sat Nov 12 2016 Christian Krause <chkr@fedoraproject.org> - 1.9.0-1
d5a7860
- update to latest upstream
d5a7860
e9bce51
* Sat Mar 12 2016 Lucian Langa <lucilanga@gnome.eu.org> - 1.8.0-1
e9bce51
- add patch to pass -fPIC to compile flags - fixes wxwidgets
e9bce51
- update url/download links
e9bce51
- update to latest upstream
e9bce51
ffcfd50
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-9
ffcfd50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ffcfd50
821b30e
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 1.7.0-8
821b30e
- Rebuilt for Boost 1.60
821b30e
02d7f97
* Mon Sep 07 2015 Jonathan Wakely <jwakely@redhat.com> - 1.7.0-7
02d7f97
- Rebuilt for Boost 1.59
02d7f97
34746fa
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-6
34746fa
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
34746fa
0a8927a
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.7.0-5
0a8927a
- rebuild for Boost 1.58
0a8927a
6db519a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-4
6db519a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6db519a
36c1e3f
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.7.0-3
36c1e3f
- Rebuilt for GCC 5 C++11 ABI change
36c1e3f
Petr Machata fa7a4ef
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 1.7.0-2
Petr Machata fa7a4ef
- Rebuild for boost 1.57.0
Petr Machata fa7a4ef
d4824a9
* Wed Nov 12 2014 Christian Krause <chkr@fedoraproject.org> - 1.7.0-1
d4824a9
- new upstream release
d4824a9
887e80b
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-7
887e80b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
887e80b
e43fcd0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-6
e43fcd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e43fcd0
443f94d
* Tue May 27 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.6.0-5
443f94d
- Update config.guess/sub during build for new arch (aarch64/ppc64le) support
443f94d
- Cleanup SPEC
443f94d
Petr Machata 9ff2d22
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 1.6.0-4
Petr Machata 9ff2d22
- Rebuild for boost 1.55.0
Petr Machata 9ff2d22
67e1803
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-3
67e1803
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
67e1803
Petr Machata d83c970
* Sat Jul 27 2013 pmachata@redhat.com - 1.6.0-2
Petr Machata d83c970
- Rebuild for boost 1.54.0
Petr Machata d83c970
f91edb5
* Mon Jun 03 2013 Christian Krause <chkr@fedoraproject.org> - 1.6.0-1
f91edb5
- new upstream release
f91edb5
- add missing BuildRequires
f91edb5
c39f8d4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
c39f8d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c39f8d4
22c4363
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
22c4363
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
22c4363
2216ce6
* Sun Feb 05 2012 Christian Krause <chkr@fedoraproject.org> - 1.4.0-1
2216ce6
- new upstream release
2216ce6
d59e33e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
d59e33e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d59e33e
52c9d8b
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.2.0-3
52c9d8b
- Rebuild for new libpng
52c9d8b
623dda6
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
623dda6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
623dda6
a39ee60
* Sun Oct 17 2010 Lucian Langa <cooly@gnome.eu.org> - 1.2.0-1
a39ee60
- new upstream release
a39ee60
9680aca
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 1.1.1-2
9680aca
- rebuilt against wxGTK-2.8.11-2
9680aca
55fedb7
* Tue May 04 2010 Lucian Langa <cooly@gnome.eu.org> - 1.1.1-1
55fedb7
- new upstream release
55fedb7
6a57a31
* Thu Nov 26 2009 Lucian Langa <cooly@gnome.eu.org> - 1.0.0-1
6a57a31
- new upstream release
6a57a31
c8693db
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-2
c8693db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c8693db
f8a6294
* Tue Mar 10 2009 Lucian Langa <cooly@gnome.eu.org> - 0.13.0-1
f8a6294
- new upstream release
f8a6294
- use SF generic downloads URL
f8a6294
- drop patch0 (fixed upstream)
f8a6294
baf041c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-6
baf041c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
baf041c
e9bce51
* Thu Oct 30 2008 Lucian Langa <cooly@gnome.eu.org> - 0.12.0-5
767aee9
- add desktop file
767aee9
e9bce51
* Thu Oct 30 2008 Lucian Langa <cooly@gnome.eu.org> - 0.12.0-4
767aee9
- use bz2 source
767aee9
e9bce51
* Wed Oct 29 2008 Lucian Langa <cooly@gnome.eu.org> - 0.12.0-3
767aee9
- prevent fedora optflags being overwritten
767aee9
767aee9
* Fri Oct 17 2008 Lucian Langa <cooly@gnome.eu.org> - 0.12.0-2
767aee9
- update license tag
767aee9
- fix CXXFLAGS
767aee9
- update description
767aee9
767aee9
* Thu Oct 16 2008 Lucian Langa <cooly@gnome.eu.org> - 0.12.0-1
767aee9
- New upstream release 0.12.0
767aee9
- Update license
767aee9
- Add desktop entry
767aee9
- Prepare for inclusion into Fedora
767aee9
767aee9
* Sat Oct 29 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.8.0-0.lvn.1
767aee9
- Version upgrade
767aee9
767aee9
* Fri Dec 31 2004 Dams <anvil[AT]livna.org> - 0:0.7.0-0.lvn.3
767aee9
- Missing zlib-devel BuildRequires
767aee9
767aee9
* Fri Dec 31 2004 Dams <anvil[AT]livna.org> - 0:0.7.0-0.lvn.2
767aee9
- Patch for an 'install' target in Makefile
767aee9
- Smarter way to rename all binaries
767aee9
767aee9
* Fri Dec 24 2004 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.7.0-0.lvn.1
767aee9
- upgrade to 0.7.0
767aee9
- all tools have scummvm- prefix now so they can easily be found
767aee9
767aee9
* Thu Nov 25 2004 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.6.1-0.lvn.1
767aee9
- upgrade to 0.6.1
767aee9
- adjust spec to new tools naming scheme..
767aee9
767aee9
* Thu May 27 2004 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.6.0-0.lvn.1
767aee9
- upgrade to 0.6.0
767aee9
767aee9
* Thu Oct 02 2003 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.5.0-0.fdr.5
767aee9
- removed #--- lines
767aee9
767aee9
* Tue Sep 16 2003 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.5.0-0.fdr.4
767aee9
- added ${RPM_OPT_FLAGS}
767aee9
767aee9
* Tue Sep 02 2003 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.5.0-0.fdr.3
767aee9
- changed Requires entry...
767aee9
767aee9
* Wed Aug 06 2003 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.5.0-0.fdr.2
767aee9
- upgrade to new version
767aee9
767aee9
* Fri Aug 01 2003 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0:0.4.1-0.fdr.1
767aee9
- Initial RPM release.