767aee9
Name:		scummvm-tools
f91edb5
Version:	1.6.0
f91edb5
Release:	1%{?dist}
767aee9
Summary:	Tools for scummVM / S.C.U.M.M scripting language
767aee9
767aee9
Group:		Development/Tools
767aee9
License:	GPLv2+
767aee9
URL:		http://scummvm.sourceforge.net
f8a6294
Source0:	http://downloads.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
767aee9
Source1:	%{name}.desktop
767aee9
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
36c97c6
BuildRequires:	wxGTK-devel, libvorbis-devel, flac-devel, desktop-file-utils
2216ce6
BuildRequires:	zlib-devel bzip2-devel
f91edb5
BuildRequires:	libpng-devel freetype-devel boost-devel
767aee9
Requires:	scummvm >= %{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
767aee9
767aee9
%build
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
767aee9
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
6a57a31
make %{?_smp_mflags}
767aee9
767aee9
%install
767aee9
rm -rf ${RPM_BUILD_ROOT}
767aee9
767aee9
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
55fedb7
make install DESTDIR=${RPM_BUILD_ROOT}
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
%clean
767aee9
rm -rf ${RPM_BUILD_ROOT}
767aee9
767aee9
55fedb7
%files
767aee9
%defattr(-,root,root,-)
767aee9
%doc COPYING README TODO
767aee9
%{_bindir}/*
55fedb7
%{_datadir}/%{name}
767aee9
%{_datadir}/applications/%{name}.desktop
767aee9
767aee9
767aee9
%changelog
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
767aee9
* Fri Oct 30 2008 Lucian Langa <cooly@gnome.eu.org> - 0.12.0-5
767aee9
- add desktop file
767aee9
767aee9
* Fri Oct 30 2008 Lucian Langa <cooly@gnome.eu.org> - 0.12.0-4
767aee9
- use bz2 source
767aee9
767aee9
* Fri 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.