Name: qmc2 Version: 0.187 Release: 1%{?dist} Summary: M.A.M.E. Catalog / Launcher II #PDF.js is ASL 2.0 #data/js/pdfjs/web/l10n.js is MIT #everything else is GPLv2 License: GPLv2 and ASL 2.0 and MIT URL: http://qmc2.batcom-it.net Source0: http://downloads.sourceforge.net/qmc2/%{name}-%{version}.tar.bz2 #Fedora-specific configuration Patch1: %{name}-ini.patch BuildRequires: desktop-file-utils BuildRequires: libarchive-devel BuildRequires: libXmu-devel BuildRequires: minizip-devel BuildRequires: phonon-devel BuildRequires: qt4-webkit-devel BuildRequires: rsync BuildRequires: SDL2-devel Requires: games-menus Provides: bundled(lzma-sdk) = 16.04 Provides: PDF.js = 76b4c8fa %description A Qt based multi-platform GUI front-end for MAME. %package -n qchdman Summary: Qt CHDMAN GUI License: GPLv2 Requires: mame-tools %description -n qchdman A stand-alone graphical user interface / front-end to chdman %package arcade Summary: Arcade QMC2 GUI License: GPLv2 %description arcade A QML-based standalone graphical arcade mode binary which utilizes the cached data of qmc2 to quickly display and launch emulators and get you "straight into the games" %prep %setup -qn %{name} #ensure system minizip and zlib are used rm -rf minizip rm -rf zlib %patch1 -p1 -b .fedora %build %make_build DISTCFG=1 CC_FLAGS="$RPM_OPT_FLAGS" CXX_FLAGS="$RPM_OPT_FLAGS" \ L_FLAGS="$RPM_LD_FLAGS" SYSTEM_MINIZIP=1 SYSTEM_ZLIB=1 LIBARCHIVE=1 %make_build arcade DISTCFG=1 CC_FLAGS="$RPM_OPT_FLAGS" CXX_FLAGS="$RPM_OPT_FLAGS" \ L_FLAGS="$RPM_LD_FLAGS" SYSTEM_MINIZIP=1 SYSTEM_ZLIB=1 LIBARCHIVE=1 %make_build qchdman DISTCFG=1 CXX_FLAGS="$RPM_OPT_FLAGS" L_FLAGS="$RPM_LD_FLAGS" %make_build doc DISTCFG=1 %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 PREFIX=%{_prefix} \ QT_TRANSLATION=../../qt4/translations make arcade-install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 PREFIX=%{_prefix} \ QT_TRANSLATION=../../qt4/translations make qchdman-install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 PREFIX=%{_prefix} \ QT_TRANSLATION=../../qt4/translations make doc-install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 MAN_DIR=%{_mandir} #remove docs since we are installing docs in %%doc pushd $RPM_BUILD_ROOT%{_datadir}/%{name} rm -fr doc ln -s %{_docdir}/%{name} doc popd #validate the desktop files desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qmc2-sdlmame.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qmc2-arcade.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qchdman.desktop %files %doc data/doc/html/* %license data/doc/html/us/copying.html data/js/pdfjs/LICENSE %config(noreplace) %{_sysconfdir}/qmc2 %{_bindir}/qmc2 %{_bindir}/qmc2-sdlmame %{_datadir}/applications/qmc2-sdlmame.desktop %{_mandir}/man6/qmc2-main-gui.6* %{_mandir}/man6/qmc2-sdlmame.6* %{_mandir}/man6/qmc2.6* %{_datadir}/qmc2 %files arcade %license data/doc/html/us/copying.html %{_bindir}/qmc2-arcade %{_datadir}/applications/qmc2-arcade.desktop %{_mandir}/man6/qmc2-arcade.6* %files -n qchdman %license data/doc/html/us/copying.html %{_bindir}/qchdman %{_datadir}/applications/qchdman.desktop %{_mandir}/man6/qchdman.6* %changelog * Mon Jul 03 2017 Julian Sikorski - 0.187-1 - Updated to 0.187 * Sun Jun 18 2017 Julian Sikorski - 0.186-1 - Updated to 0.186 - Updated the -ini patch * Wed Feb 22 2017 Julian Sikorski - 0.183-1 - Updated to 0.183 - Updated the -ini patch * Sat Feb 11 2017 Fedora Release Engineering - 0.71-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 27 2017 Julian Sikorski - 0.71-1 - Updated to 0.71 - Bundled lzma-sdk is now at 16.04 - PDF.js is now at 76b4c8fa * Thu Dec 01 2016 Julian Sikorski - 0.70-1 - Updated to 0.70 * Fri Oct 28 2016 Julian Sikorski - 0.69-1 - Updated to 0.69 * Fri Sep 30 2016 Julian Sikorski - 0.68-1 - Updated to 0.68 - Updated description as per upstream suggestions - Added libarchive support * Sat Sep 03 2016 Julian Sikorski - 0.67-1 - Updated to 0.67 * Wed Jul 27 2016 Julian Sikorski - 0.66-1 - Updated to 0.66 - Dropped included patches * Wed Jul 13 2016 Julian Sikorski - 0.65-4 - Fixed warning in generated man pages - Updated %%description spelling to front-end to silence rpmlint * Tue Jul 12 2016 Julian Sikorski - 0.65-3 - Patched to use system-wide minizip and zlib - Added comments clarifying patches' purpuse - Corrected the License tags - Fixed online documentation symlink - Added qmc2-arcade * Fri Jul 08 2016 Julian Sikorski - 0.65-2 - Fixed old changelog entries - Tagged copying.html as %%license - Modernised the SPEC file - Dropped ancient Provides/Obsoletes - Worked around lack of F25 config - Ensured $RPM_OPT_FLAGS and $RPM_LD_FLAGS are used - Applied some build fixes from upstream svn * Sun Jul 03 2016 Julian Sikorski - 0.65-1 - Updated to 0.65 * Wed Apr 27 2016 Julian Sikorski - 0.63-1 - Updated to 0.63 * Thu Apr 07 2016 Julian Sikorski - 0.62-1 - Updated to 0.62 - Updated the -ini patch * Sat Mar 12 2016 Julian Sikorski - 0.61-1 - Updated to 0.61 * Thu Jan 28 2016 Julian Sikorski - 0.60-1 - Updated to 0.60 * Thu Dec 31 2015 Julian Sikorski - 0.59-1 - Updated to 0.59 - Switched to SDL2 * Fri Nov 27 2015 Julian Sikorski - 0.58-1 - Updated to 0.58 - Updated the URL * Fri Oct 30 2015 Julian Sikorski - 0.57-1 - Updated to 0.57 - Dropped the dat files from ini patch now that mame-data-extras is retired * Thu Oct 01 2015 Julian Sikorski - 0.56-1 - Updated to 0.56 * Sat Aug 29 2015 Julian Sikorski - 0.55-1 - Updated to 0.55 * Thu Jul 30 2015 Julian Sikorski - 0.54-1 - Updated to 0.54 - Dropped upstreamed patch - Updated the -ini patch * Tue Jul 07 2015 Julian Sikorski - 0.53-1 - Updated to 0.53 - Dropped -sdlmess subpackage - Added man pages - Cleaned up the spec file slightly - Updated the default configuration * Tue Mar 31 2015 Julian Sikorski - 0.50-1 - Updated to 0.50 - Switched to use history.dat instead of sysinfo.dat by default * Thu Feb 26 2015 Julian Sikorski - 0.49-1 - Updated to 0.49 * Sun Feb 01 2015 Julian Sikorski - 0.48-1 - Updated to 0.48 * Sat Jan 03 2015 Julian Sikorski - 0.47-1 - Updated to 0.47 * Sat Nov 29 2014 Julian Sikorski - 0.46-1 - Updated to 0.46 * Sat Oct 18 2014 Julian Sikorski - 0.45-1 - Updated to 0.45 * Sun Aug 03 2014 Julian Sikorski - 0.44-1 - Updated to 0.44 * Sat Apr 26 2014 Julian Sikorski - 0.43-1 - Updated to 0.43 - Updated the ini patch to use category.ini supplied with qmc2 by default - Added bundled(lzma-sdk) = 9.22 to Provides * Thu Jan 09 2014 Julian Sikorski - 0.42-1 - Updated to 0.42 * Sun Nov 10 2013 Julian Sikorski - 0.41-1 - Updated to 0.41 * Thu Sep 19 2013 Julian Sikorski - 0.40-1 - Updated to 0.40 - cheat_file → cheatpath * Mon Jun 17 2013 Julian Sikorski - 0.39-1 - Updated to 0.39 - Added qchdman - Fixed Source0 URL * Sat Jan 12 2013 Julian Sikorski - 0.38-1 - Updated to 0.38 - Updated the ini patch * Fri Sep 21 2012 Julian Sikorski - 0.37-1 - Updated to 0.37 - Updated the ini patch - SDLMAME/SDLMESS have been gone for a while, so just use them internally - Require mame/mess since the compatibility provides were dropped - Updated summaries * Tue May 22 2012 Julian Sikorski - 0.36-1 - Updated to 0.36 * Thu Mar 08 2012 Nicolas Chauvet - 0.35-3 - Rebuilt for c++ ABI breakage * Thu Feb 09 2012 Nicolas Chauvet - 0.35-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 06 2012 Julian Sikorski - 0.35-1 - Updated to 0.35 - Updated the ini patch - Made the inter-subpackage dependencies arch-specific * Tue Nov 15 2011 Julian Sikorski - 0.34-1 - Updated to 0.34 (new versioning scheme) - Dropped obsolete Group, Buildroot, %%clean and %%defattr * Wed Jun 29 2011 Julian Sikorski - 0.2-0.24.b20 - Updated to 0.2b20 - Updated the ini patch * Sun Apr 03 2011 Julian Sikorski - 0.2-0.23.b19 - Updated to 0.2b19 * Thu Jan 13 2011 Julian Sikorski - 0.2-0.22.b18 - Updated to 0.2b18 * Fri Oct 22 2010 Julian Sikorski - 0.2-0.21.b17 - Updated to 0.2b17 - Added Fedora 15 config * Fri Jul 30 2010 Julian Sikorski - 0.2-0.20.b16 - Updated to 0.2b16 * Sun May 16 2010 Julian Sikorski - 0.2-0.19.b15 - Updated to 0.2b15 - Updated the ini template patch to include Catver.ini - s/qt4-devel/qt-webkit-devel due to changes in qt package * Mon Mar 15 2010 Julian Sikorski - 0.2-0.18.b14 - Updated to 0.2b14 - Dropped --fno-var-tracking-assignments * Sat Jan 02 2010 Julian Sikorski - 0.2-0.17.b13 - Updated to 0.2b13 - Dropped the cflags patch - Dropped the additional Fedora configs * Sat Nov 21 2009 Julian Sikorski - 0.2-0.16.b12 - Updated to 0.2b12 - Worked around RH bug 532763 for Fedora 12 and above - Added Fedora 12 and Fedora 13 configs * Fri Sep 11 2009 Julian Sikorski - 0.2-0.15.b11 - Updated to 0.2b11 - Updated the ini patch - Dropped F12 rawhide workaround * Mon Jul 20 2009 Julian Sikorski - 0.2-0.14.b10 - Updated to 0.2b10 - Added F12 rawhide config * Mon Jun 08 2009 Julian Sikorski - 0.2-0.13.b9 - Updated to 0.2b9 * Thu Apr 23 2009 Julian Sikorski - 0.2-0.12.b8 - Updated to 0.2b8 - Updated the ini patch - Dropped the upstreamed gcc44 patch - Dropped the F11 Beta workaround * Mon Mar 30 2009 Julian Sikorski - 0.2-0.11.b7 - Handle the template properly - Updated the configs for Fedora 11 Beta * Sun Mar 29 2009 Thorsten Leemhuis - 0.2-0.10.b7 - rebuild for new F11 features * Mon Mar 09 2009 Julian Sikorski - 0.2-0.9.b7 - Updated to 0.2b7 - Dropped the rawhide fedora-release workaround - Overhauled for sdlmess support - Desktop files now come with the tarball and use the shipped icon - Updated Summary and %%description (M.A.M.E. → M.A.M.E./M.E.S.S.) - Updated the ini patch - Avoid installing qmc2.ini.new - Dropped hicolor-icon-theme from Requires - Switched to system-wide Qt translations - No longer force Windows Qt style - Updated the URL - Added libXmu-devel to BuildRequires - Added gcc-4.4 fix from SVN * Mon Jan 5 2009 Julian Sikorski - 0.2-0.8.b6 - Updated to 0.2b6 - Updated the ini patch - Updated the rawhide fedora-relase workaround - Added PRETTY=0 to compilation flags * Thu Oct 16 2008 Julian Sikorski - 0.2-0.7.b5 - Updated to 0.2b5 * Tue Aug 19 2008 Julian Sikorski - 0.2-0.6.b4 - Added phonon-devel to BuildRequires - Cleaned up BuildRequires and Requires * Tue Aug 19 2008 Julian Sikorski - 0.2-0.5.b4 - Updated to 0.2b4 * Wed Jul 30 2008 Thorsten Leemhuis - 0.2-0.3.b3 - Updated to 0.2b3 - Dropped the qt4 patch, use DISTCFG instead - Updated the ini patch to include dat files location - Added SDL-devel to BuildRequires * Sat May 10 2008 Julian Sikorski - 0.2-0.2.b2 - Updated to 0.2b2 - Dropped %%{?dist} from %%changelog - Added hyphen before version number in %%changelog * Wed Mar 26 2008 Julian Sikorski - 0.2-0.1.b1 - Updated to 0.2b1 - Dropped the ini fix since it has been merged upstream * Sat Feb 23 2008 Julian Sikorski - 0.1-4 - Updated the inipaths to reflect the post-0.123u1 SDLMAME configuration * Sat Feb 23 2008 Julian Sikorski - 0.1-3 - Replaced the previous workaround with a proper fix from upstream * Mon Feb 11 2008 Julian Sikorski - 0.1-2 - Updated the ini path to fix import/export feature * Wed Feb 6 2008 Julian Sikorski - 0.1-1 - Upstream sync * Thu Jan 31 2008 Julian Sikorski - 0.1-0.10.b11 - Upstream sync - Drop backup files deletion, there are none present - Adjusted the License tag - Fixed the executable permissions * Mon Jul 30 2007 XulChris - 0.1-0.9.b10 - Upstream sync - Remove no longer needed qt43 patch * Mon Jul 02 2007 XulChris - 0.1-0.8.b9 - Add patch to fix Qt-4.3 segmentation fault * Sun Apr 22 2007 XulChris - 0.1-0.7.b9 - Remove style from desktop file and add it to ini file instead - Dribble Bugzilla #89 * Fri Mar 30 2007 XulChris - 0.1-0.6.b9 - Upstream sync - Remove no longer needed datadir patch * Sun Mar 11 2007 XulChris - 0.1-0.5.b8 - Update desktop category - Include new paths in ini file - Add patch to fix DATADIR parsing in Makefile * Fri Feb 23 2007 XulChris - 0.1-0.4.b8 - Upstream sync - Update Source0 URL - Remove patches which are now included in upstream - Move creation of desktop file to %%prep - Sync ini patch with new ini template * Wed Jan 31 2007 XulChris - 0.1-0.3.b7 - Fix ini patch * Wed Jan 17 2007 XulChris - 0.1-0.2.b7 - Make opengl default video mode - Remove macros from Patch tags - Move creation of .desktop file into %%build - Fix Categories field in .desktop file - Remove Version field from .desktop file - Fix documentation * Sun Dec 24 2006 XulChris - 0.1-0.1.b7 - Initial Release