view xmms-sid.spec.in @ 229:7bb9e20e3092

Few more adjustments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 19 Dec 2004 16:57:01 +0000
parents d109d928ccc3
children ca84c55003db
line wrap: on
line source

###########################################################
%define	name	@PACKAGE@
%define	version	@VERSION@
%define	release	1
%define plugindir `xmms-config --input-plugin-dir`

Summary:	A SID-tune (C64 music) input plugin for XMMS
Name:		%{name}
Version:	%{version}
Release:	%{release}
Copyright:	GPL
Group:		Applications/Multimedia
Vendor:		Matti "ccr/TNSP" Hamalainen <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@

###########################################################
%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.

%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}
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
/