Author: belegdol
Update of /cvs/nonfree/rpms/qmc2/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29573
Modified Files:
.cvsignore qmc2.spec sources
Log Message:
* Mon Jun 17 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.39-1
- Updated to 0.39
- Added qchdman
- Fixed Source0 URL
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/devel/.cvsignore,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- .cvsignore 13 Jan 2013 08:36:49 -0000 1.25
+++ .cvsignore 17 Jun 2013 18:44:47 -0000 1.26
@@ -1 +1 @@
-qmc2-0.38.tar.bz2
+qmc2-0.39.tar.bz2
Index: qmc2.spec
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/devel/qmc2.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- qmc2.spec 13 Jan 2013 08:36:50 -0000 1.39
+++ qmc2.spec 17 Jun 2013 18:44:47 -0000 1.40
@@ -1,11 +1,11 @@
Name: qmc2
-Version: 0.38
+Version: 0.39
Release: 1%{?dist}
Summary: M.A.M.E./M.E.S.S./U.M.E. Catalog / Launcher II, common files
License: GPLv2
URL:
http://qmc2.arcadehits.net/
-Source0:
http://dl.sourceforge.net/qmc2/%{name}-%{version}.tar.bz2
+Source0:
http://downloads.sourceforge.net/qmc2/%{name}-%{version}.tar.bz2
Patch1: qmc2-ini.patch
BuildRequires: desktop-file-utils
@@ -44,6 +44,14 @@
contains the parts required for MESS support.
+%package -n qchdman
+Summary: Qt CHDMAN GUI
+Requires: mame-tools
+
+%description -n qchdman
+A stand-alone graphical user interface / front-end to chdman
+
+
%prep
%setup -qcT
tar -xjf %{SOURCE0}
@@ -51,6 +59,7 @@
tar -xjf %{SOURCE0}
mv %{name} sdlmess
%patch1 -p1 -b .ini
+chmod 644 sdlmame/tools/qchdman/scriptwidget.*
%build
@@ -62,6 +71,9 @@
pushd sdlmame
make %{?_smp_mflags} CTIME=0 DISTCFG=1 EMULATOR=SDLMAME PRETTY=0 \
PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir}
+
+make qchdman %{?_smp_mflags} CTIME=0 DISTCFG=1 PRETTY=0 \
+ PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir}
popd
@@ -81,6 +93,10 @@
make install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 \
PRETTY=0 CTIME=0 PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} \
EMULATOR=SDLMAME QT_TRANSLATION=../../qt4/translations
+
+make qchdman-install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 \
+ PRETTY=0 CTIME=0 PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} \
+ QT_TRANSLATION=../../qt4/translations
popd
#remove docs since we are installing docs in %%doc
@@ -92,11 +108,7 @@
#validate the desktop files
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qmc2-sdlmame.desktop
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qmc2-sdlmess.desktop
-
-#fix the executable permissions
-chmod 755 $RPM_BUILD_ROOT%{_bindir}/qmc2-sdlmame
-chmod 755 $RPM_BUILD_ROOT%{_bindir}/qmc2-sdlmess
-chmod 755 $RPM_BUILD_ROOT%{_bindir}/runonce
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qchdman.desktop
%files
@@ -117,7 +129,17 @@
%{_datadir}/applications/qmc2-sdlmess.desktop
+%files -n qchdman
+%{_bindir}/qchdman
+%{_datadir}/applications/qchdman.desktop
+
+
%changelog
+* Mon Jun 17 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.39-1
+- Updated to 0.39
+- Added qchdman
+- Fixed Source0 URL
+
* Sat Jan 12 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.38-1
- Updated to 0.38
- Updated the ini patch
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/devel/sources,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- sources 13 Jan 2013 08:36:51 -0000 1.25
+++ sources 17 Jun 2013 18:44:47 -0000 1.26
@@ -1 +1 @@
-075cd54c3f4eb306c4f8304dd08900c6 qmc2-0.38.tar.bz2
+c736d62a6ee98b2e157801751760afe7 qmc2-0.39.tar.bz2