Mercurial > hg > xmms-sid
view xmms-sid.spec.in @ 510:2b56b953fcad
0.8.0beta18 upcoming ...
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 28 Jan 2007 15:10:02 +0000 |
parents | 22f7d703c9d2 |
children | 5d97c21eea42 |
line wrap: on
line source
%define name @PACKAGE@ %define version @VERSION@ %define release 1 %define plugindir %(xmms-config --input-plugin-dir) %define withSID1 %(if test -z "`rpm -q --whatprovides libsidplay.so.1 2>/dev/null | grep -v '^no package provides'`"; then echo 0; else echo 1; fi) %define withSID2 %(if test -z "`rpm -q --whatprovides libsidplay2.so.1 2>/dev/null | grep -v '^no package provides'`" ; then echo 0; else echo 1; fi) Summary: A SID-tune (C64 music) input plugin for XMMS Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Group: Applications/Multimedia Vendor: Matti 'ccr' Hämäläinen <ccr@tnsp.org> Url: http://www.tnsp.org/xmms-sid.php Source: http://www.tnsp.org/xs-files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: xmms-devel >= @XMMS_VERSION@ Requires: gtk+ >= 1.2.5, glib >= 1.2.5, xmms >= @XMMS_VERSION@ %if %{withSID1} == 1 Requires: libsidplay %else %define optSID1 --without-sidplay1 %endif %if %{withSID2} == 1 Requires: libsidplay2 >= 2.1.1 %else %define optSID2 --without-sidplay2 %endif %description Input plugin for XMMS to play SID-tunes (Music from Commodore 64 games/demos/etc.). Supports either (or both) libSIDPlay v1.x or v2.x. Includes extensive configurability (settings for filters and other SID-emulation parameters, extensive fileinfo), has STIL-database support, song-length database support and more. High Voltage SID Collection (HVSC) contains over 30,000 SID-tunes for your listening pleasure, http://hvsc.c64.org/ %description -l de Input-Plugin für XMMS um SID-musiken (Musik aus Commodore64 Spielen, Demos, etc) abzuspielen. Unterstützt entweder libSidPlay V1.x, V2.x oder beide. Enthält erweiterte Konfiguriermöglichkeiten, wie Filtereinstellungen, diverse Parameter für die SID-Emulation und ausführlichere Fileinformationen), Unterstützung der STIL Datenbank, Song-Längen Datenbank und vieles mehr. %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"; %configure --libdir=%{plugindir} %{optSID1} %{optSID2} make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %makeinstall libdir=$RPM_BUILD_ROOT/%{plugindir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS COPYING FAQ NEWS README THANKS TODO BUGS xmms-1.2.10-songpos.patch %{plugindir}/libxmmssid.* %{_datadir}/xmms-sid