overhauled qmc2 spec file
by Julian Sikorski
Hi list,
as of 0.2b6, qmc2 added support for SDLMESS, which requires a separate
binary to be built. It is still preliminary and pretty much useless now,
but it is quite likely to change with next release. Thus, I have made an
initial attempt to overhaul the spec file so that both binaries could be
built in one go (attached). Could anybody please have a look at it and
tell me if it makes sense? Thanks in advance!
Regards,
Julian
%define beta b6
Name: qmc2
Version: 0.2
Release: 0.8.%{beta}%{?dist}
Summary: M.A.M.E. Catalog / Launcher II, common files
Group: Applications/Emulators
License: GPLv2
URL: http://www.mameworld.net/mamecat
Source0: http://dl.sourceforge.net/qmc2/%{name}-%{version}.%{beta}.tar.bz2
Source1: %{name}.png
Patch1: qmc2-ini.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: phonon-devel
BuildRequires: qt4-devel
BuildRequires: rsync
BuildRequires: SDL-devel
Requires: games-menus
Requires: hicolor-icon-theme
Requires: %{name}-binary = %{version}
%description
QMC2 is a Qt4 based UNIX MAME/MESS frontend for SDLMAME and SDLMESS. This
package contains the common files.
%package sdlmame
Summary: M.A.M.E. Catalog / Launcher II, SDLMESS support
Group: Applications/Emulators
Requires: %{name} = %{version}
Requires: sdlmame
Provides: %{name}-binary = %{version}
%description sdlmame
QMC2 is a Qt4 based UNIX MAME/MESS frontend for SDLMAME and SDLMESS. This
package contains the parts required for SDLMESS support.
%package sdlmess
Summary: M.A.M.E. Catalog / Launcher II, SDLMESS support
Group: Applications/Emulators
Requires: %{name} = %{version}
Requires: sdlmess
Provides: %{name}-binary = %{version}
%description sdlmess
QMC2 is a Qt4 based UNIX MAME/MESS frontend for SDLMAME and SDLMESS. This
package contains the parts required for SDLMESS support.
%prep
%setup -qcT
tar -xjf %{SOURCE0}
mv %{name} sdlmame
tar -xjf %{SOURCE0}
mv %{name} sdlmess
%patch1 -p0 -b .ini~
# create qmc2 desktop files
cat > %{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=%{name} for SDLMAME
GenericName=M.A.M.E. Catalog / Launcher II for SDLMAME
Comment=SDLMAME Frontend
Exec=%{name}-sdlmame
Icon=%{name}
Terminal=false
Type=Application
Categories=Game;Emulator;
EOF
cat > %{name}-sdlmess.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=%{name} for SDLMESS
GenericName=M.A.M.E. Catalog / Launcher II for SDLMESS
Comment=SDLMESS Frontend
Exec=%{name}-sdlmess
Icon=%{name}
Terminal=false
Type=Application
Categories=Game;Emulator;
EOF
%build
pushd sdlmess
QTDIR=%{_prefix} make %{?_smp_mflags} CTIME=0 DISTCFG=1\
PRETTY=0 PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} \
EMULATOR=SDLMESS
popd
pushd sdlmame
QTDIR=%{_prefix} make %{?_smp_mflags} CTIME=0 DISTCFG=1\
PRETTY=0 PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} \
EMULATOR=SDLMAME
popd
%install
rm -rf $RPM_BUILD_ROOT
pushd sdlmess
QTDIR=%{_prefix} make install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 \
PRETTY=0 CTIME=0 PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} \
EMULATOR=SDLMESS
popd
pushd sdlmame
QTDIR=%{_prefix} make install DESTDIR=$RPM_BUILD_ROOT DISTCFG=1 \
PRETTY=0 CTIME=0 PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} \
EMULATOR=SDLMAME
popd
# remove docs since we are intalling docs in %doc
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
rm -fr doc
ln -s ../doc/%{name}-%{version} doc
popd
# install fedora desktop files
desktop-file-install --vendor=dribble \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{name}.desktop
desktop-file-install --vendor=rpmfusion\
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{name}-sdlmess.desktop
# install icon
install -d $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
#fix the executable permissions
chmod 755 $RPM_BUILD_ROOT%{_bindir}/%{name}
%post
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc sdlmame/data/doc/html
%config(noreplace) %{_sysconfdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/applications/*.desktop
%files sdlmame
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_bindir}/%{name}-sdlmame
%{_datadir}/applications/dribble-qmc2.desktop
%files sdlmess
%defattr(-,root,root,-)
%{_bindir}/%{name}-sdlmess
%{_datadir}/applications/rpmfusion-qmc2-sdlmess.desktop
%changelog
* Thu Oct 16 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.2-0.7.b5
- Updated to 0.2b5
* Tue Aug 19 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.2-0.6.b4
- Added phonon-devel to BuildRequires
- Cleaned up BuildRequires and Requires
* Tue Aug 19 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.2-0.5.b4
- Updated to 0.2b4
* Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.2-0.4.b3
- rebuild for buildsys cflags issue
* Mon Jul 7 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 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 <belegdol[at]gmail[dot]com> - 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 <belegdol[at]gmail[dot]com> - 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 <belegdol[at]gmail[dot]com> - 0.1-4
- Updated the inipaths to reflect the post-0.123u1 SDLMAME configuration
* Sat Feb 23 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.1-3
- Replaced the previous workaround with a proper fix from upstream
* Mon Feb 11 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.1-2
- Updated the ini path to fix import/export feature
* Wed Feb 6 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.1-1
- Upstream sync
* Thu Jan 31 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 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 <tkmame(a)retrogames.com> - 0.1-0.9.b10
- Upstream sync
- Remove no longer needed qt43 patch
* Mon Jul 02 2007 XulChris <tkmame(a)retrogames.com> - 0.1-0.8.b9
- Add patch to fix Qt-4.3 segmentation fault
* Sun Apr 22 2007 XulChris <tkmame(a)retrogames.com> - 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 <tkmame(a)retrogames.com> - 0.1-0.6.b9
- Upstream sync
- Remove no longer needed datadir patch
* Sun Mar 11 2007 XulChris <tkmame(a)retrogames.com> - 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 <tkmame(a)retrogames.com> - 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 <tkmame(a)retrogames.com> - 0.1-0.3.b7
- Fix ini patch
* Wed Jan 17 2007 XulChris <tkmame(a)retrogames.com> - 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 <tkmame(a)retrogames.com> - 0.1-0.1.b7
- Initial Release2
15 years, 9 months
[Bug 19] New: Review request: blcr - Berkeley Lab Checkpoint/ Restart for Linux
by RPM Fusion Bugzilla
http://bugzilla.rpmfusion.org/show_bug.cgi?id=19
Summary: Review request: blcr - Berkeley Lab Checkpoint/Restart
for Linux
Product: Package Reviews
Version: Current
Platform: All
OS/Version: GNU/Linux
Status: NEW
Severity: normal
Priority: P5
Component: Review Request
AssignedTo: rpmfusion-package-review(a)rpmfusion.org
ReportedBy: ndbecker2(a)gmail.com
Blocks: 2
Estimated Hours: 0.0
https://nbecker.dyndns.org/RPM/blcr.spec
https://nbecker.dyndns.org/RPM/blcr-0.6.4-1.src.rpm
Berkeley Lab Checkpoint/Restart for Linux (BLCR)
This package implements system-level checkpointing of scientific applications
in a manner suitable for implementing preemption, migration and fault recovery
by a batch scheduler.
BLCR includes documented interfaces for a cooperating applications or
libraries to implement extensions to the checkpoint system, such as
consistent checkpointing of distributed MPI applications.
Using this package with an appropriate MPI implementation, the vast majority
of scientific applications which use MPI for communucation on Linux clusters
are checkpointable without any modifications to the application source code.
You must also install the %{name}-libs package and a %{name}-modules_* package
matching your kernel version.
A short description for the package (usually, the %description from the spec
file).
This is not eligible because it needs a kmod. I have packaged that separately
as blcr-kmod using akmods.
rpmlint RPM/SRPMS/blcr-0.6.4-1.src.rpm [silence]
rpmlint RPM/RPMS/x86_64/blcr-*
blcr-devel.x86_64: W: no-documentation
blcr-devel.x86_64: W: no-dependency-on blcr
blcr-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/libcr.so.0.2.1
blcr-libs.x86_64: E: library-not-linked-against-libc /usr/lib/libcr.so.0.2.1
blcr-testsuite.x86_64: W: no-documentation
no-doc: Seems trivial
no-dependency-on blcr: I think this is correct. blcr is userland utils only.
devel depends only on libs because libs has the shared libs that devel needs.
Not linked against: This is a problem in upstream. They are aware of it and
say it will be fixed in the next version.
This is my first rpmfusion pkg.
--
Configure bugmail: http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
15 years, 9 months
[Bug 300] New: Review request: pgadmin3 - Graphical client for PostgreSQL
by RPM Fusion Bugzilla
http://bugzilla.rpmfusion.org/show_bug.cgi?id=300
Summary: Review request: pgadmin3 - Graphical client for
PostgreSQL
Product: Package Reviews
Version: Current
Platform: All
OS/Version: GNU/Linux
Status: NEW
Severity: normal
Priority: P5
Component: Review Request
AssignedTo: rpmfusion-package-review(a)rpmfusion.org
ReportedBy: rpmfusion-bugzilla(a)linuxnetz.de
CC: rpmfusion-package-review(a)rpmfusion.org
Blocks: 2
Estimated Hours: 0.0
Spec URL: http://labs.linuxnetz.de/bugzilla/pgadmin3.spec
SRPM URL: http://labs.linuxnetz.de/bugzilla/pgadmin3-1.8.4-4.src.rpm
Description:
pgAdmin III is a powerful administration and development
platform for the PostgreSQL database, free for any use. It
is designed to answer the needs of all users, from writing
simple SQL queries to developing complex databases. The
graphical interface supports all PostgreSQL features and
makes administration easy.
The application also includes a syntax highlighting SQL
editor, a server-side code editor, a SQL/batch/shell job
scheduling agent, support for the Slony-I replication
engine and much more. No additional drivers are required
to communicate with the database server.
I would like a quick review, because a review already for Fedora happened
in the past. The package got abbadoned from Fedora with Fedora 10, because
of the license; Artistic 1.0 which makes it just "non-free" for RPM Fusion;
https://bugzilla.redhat.com/show_bug.cgi?id=473748 - for further reference.
--
Configure bugmail: http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
15 years, 9 months
ati driver status?
by Neal Becker
It seems ati drivers are stalled in testing?
I'm thinking of building a new home media server, and wondering what to put in
it. I was thinking amd is now more linux friendly, and would be a good
choice. The fact that the driver seems stalled in rpmfusion worries me.
15 years, 9 months
pkgconfig problem on RHEL-5
by Karel Volný
Hi,
I'd like to ask ... I am trying to compile ffmpeg plugin for
qmmp, but cmake fails to recognize the needed libraries:
... snip ...
-- checking for modules 'libavcodec;libavformat'
-- package 'libavcodec' not found
-- package 'libavformat' not found
... snip ...
The relevant CMakeLists.txt line is:
pkg_check_modules(FFMPEG libavcodec libavformat)
I've also tried to run pkg-config on commandline:
[root@dhcp-lab-227 rhel]# pkg-config libavcodec; echo $?
1
[root@dhcp-lab-227 rhel]# pkg-config libavformat; echo $?
1
The same commands return zeros if run on Fedora 10 (with
pkgconfig version 0.23-3.fc10). The libavcodec.pc and
libavformat.pc files have the same contents both on RHEL
(ffmpeg-devel-0.4.9-0.50.20080908.el5) and Fedora
(ffmpeg-devel-0.4.9-0.52.20080908.fc10).
I am a bit confused ... is it a bug? Is it just a version
incompatibility? Any suggestions how to workaround it?
- TIA
K.
15 years, 9 months
RPM Fusion (Fedora - nonfree) Package Build Report 2009-01-31
by rpmfusion-pkgs-report@rpmfusion.org
============================================================================
Packages built and released for RPM Fusion (Fedora - nonfree) testing/10: 3
fglrx-kmod-8.573-1.9.1.fc10
sdlmame-0130-0.3.0129u3.fc10
xorg-x11-drv-fglrx-8.573-1.9.1.fc10
============================================================================
Packages built and released for RPM Fusion (Fedora - nonfree) testing/9: 1
sdlmame-0130-0.3.0129u3.fc9
============================================================================
Packages built and released for RPM Fusion (Fedora - nonfree) development: 3
Cg-2.1.0016-1
sdlmame-0130-0.3.0129u3.fc11
xorg-x11-drv-fglrx-8.573-1.9.1.fc11
============================================================================
Changes in RPM Fusion (Fedora - nonfree) testing/10:
fglrx-kmod-8.573-1.9.1.fc10
---------------------------
* Sat Jan 31 2009 Stewart Adam <s.adam at diffingo.com> - 8.573-1.9.1
- Update to Catalyst 9.1
sdlmame-0130-0.3.0129u3.fc10
----------------------------
* Fri Jan 30 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0130-0.3.0129u3
- Updated to 0.129u3
xorg-x11-drv-fglrx-8.573-1.9.1.fc10
-----------------------------------
* Sat Jan 31 2009 Stewart Adam <s.adam at diffingo.com> - 8.573-1.9.1
- Update to Catalyst 9.1
- Include README.Fedora in %doc
- Remove fglrx_dri.so symlink hack, move fglrx_dri.so back to -libs
- Update License tag
============================================================================
Changes in RPM Fusion (Fedora - nonfree) testing/9:
sdlmame-0130-0.3.0129u3.fc9
---------------------------
* Fri Jan 30 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0130-0.3.0129u3
- Updated to 0.129u3
============================================================================
Changes in RPM Fusion (Fedora - nonfree) development:
Cg-2.1.0016-1
-------------
* Fri Jan 09 2009 kwizart < kwizart at gmail.com > - 2.1.0016-1
- Update to 2.1.0016 (November2008)
sdlmame-0130-0.3.0129u3.fc11
----------------------------
* Fri Jan 30 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0130-0.3.0129u3
- Updated to 0.129u3
xorg-x11-drv-fglrx-8.573-1.9.1.fc11
-----------------------------------
* Sat Jan 31 2009 Stewart Adam <s.adam at diffingo.com> - 8.573-1.9.1
- Update to Catalst 9.1
- Sync with changes made for F-10
- Include README.Fedora in %doc
- Remove fglrx_dri.so symlink hack, move fglrx_dri.so back to -libs
- Update License tag
* Wed Dec 10 2008 Stewart Adam <s.adam at diffingo.com> - 8.561-1.8.12
- Update to 8.12
- Add Conflicts: for new nvidia packages
15 years, 9 months
RPM Fusion (Fedora - free) Package Build Report 2009-01-31
by rpmfusion-pkgs-report@rpmfusion.org
============================================================================
Packages built and released for RPM Fusion (Fedora - free) testing/10: 3
NEW ffmpeg-0.4.9-0.53.20080908.fc10 : Digital VCR and streaming server
mpd-0.14-4.fc10
NEW vagalume-0.7-2.fc10 : Last.fm client for GNOME and Maemo
============================================================================
Packages built and released for RPM Fusion (Fedora - free) testing/9: 2
ffmpeg-0.4.9-0.49.20080908.fc9
vagalume-0.7-2.fc9
============================================================================
Packages built and released for RPM Fusion (Fedora - free) development: 3
kino-1.3.3-1.fc11
mpd-0.14-4.fc11
vagalume-0.7-2.fc11
============================================================================
Changes in RPM Fusion (Fedora - free) testing/10:
ffmpeg-0.4.9-0.53.20080908.fc10
-------------------------------
* Thu Jan 29 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.53.20080908
- drop unnecessary patch
- change the lib split on x86, it doesn't work right for P3/AthlonXP
- enable bzlib and dirac support via external libs
- sort BR list alphabetically
- fix a couple of exploitable and potentially exploitable vulnerabilities, including
http://www.trapkit.de/advisories/TKADV2009-004.txt
mpd-0.14-4.fc10
---------------
* Sat Jan 31 2009 Adrian Reber <adrian(a)lisas.de> - 0.14-4
- added BR libcurl-devel (#326)
vagalume-0.7-2.fc10
-------------------
* Fri Jan 30 2009 Michel Salim <michel.sylvan(a)gmail.com> - 0.7-2
- Require gstreamer-plugins-ugly (bz #347)
============================================================================
Changes in RPM Fusion (Fedora - free) testing/9:
ffmpeg-0.4.9-0.49.20080908.fc9
------------------------------
* Sat Jan 31 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.49.20080908
- drop unnecessary patch
- change the lib split on x86, it doesn't work right for P3/AthlonXP
- enable bzlib and dirac support via external libs
- sort BR list alphabetically
- fix a couple of exploitable and potentially exploitable vulnerabilities, including
http://www.trapkit.de/advisories/TKADV2009-004.txt
- add obsoletes for -compat package (RPMFusion bug #173)
- reworked build system
- build optimized versions where it makes sense
- specfile cleanups
- enable yasm for optimized asm routines on x86_32
- add obsoletes for Freshrpms' libpostproc subpackage
vagalume-0.7-2.fc9
------------------
* Fri Jan 30 2009 Michel Salim <michel.sylvan(a)gmail.com> - 0.7-2
- Require gstreamer-plugins-ugly (bz #347)
============================================================================
Changes in RPM Fusion (Fedora - free) development:
kino-1.3.3-1.fc11
-----------------
* Fri Jan 30 2009 Dan Horák <dan at danny.cz> - 1.3.3-1
1.3.3
mpd-0.14-4.fc11
---------------
* Sat Jan 31 2009 Adrian Reber <adrian(a)lisas.de> - 0.14-4
- added BR libcurl-devel (#326)
vagalume-0.7-2.fc11
-------------------
* Fri Jan 30 2009 Michel Salim <michel.sylvan(a)gmail.com> - 0.7-2
- Require gstreamer-plugins-ugly (bz #347)
15 years, 9 months