view xmms-sid.spec.in @ 11:c342e8514754

And more...
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Jun 2003 13:47:02 +0000
parents
children 3c609b6d5a02
line wrap: on
line source

%define	name	@PACKAGE@
%define	version	@VERSION@
%define	release	1
%define	serial	1

Summary:	XMMS-SID - SIDPlay plugin for XMMS
Name:		%{name}
Version:	%{version}
Release:	%{release}
Serial:		%{serial}
Copyright:	GPL
Group:		Applications/Multimedia
Vendor:		Matti "ccr/TNSP" Hamalainen <ccr@tnsp.org>
Url:		http://www.tnsp.org/xmms-sid.php
Source:		%{name}-%{version}.tar.gz
BuildRoot:	%{_tmpdir}/%{name}-%{version}-root
Requires:	gtk+ >= 1.2.8, glib >= 1.2.8, xmms >= 1.2.0
Requires:	libsidplay.so.1

%description
Input plugin for XMMS to play SID-tunes (C64 music files).
Requires libsidplay v1.x, but optionally supports also
libsidplay 2.x. Includes good configurability (configurable
emulation of filters and other SID emulation parameters,
fileinfo settings...), STIL-database support, song-length
detection mechanism (several options), etc.

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS";

./configure \
        --prefix=%{_prefix} \
        --sysconfdir=%{_sysconfdir} --bindir=%{_bindir} \
        --libdir=%{_libdir} --datadir=%{_datadir} \
        --includedir=%{_includedir} \
	--enable-subsongsel

gmake


%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
gmake PREFIX=$RPM_BUILD_ROOT%{_prefix} \
	prefix=$RPM_BUILD_ROOT/%{_prefix} \
	sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \
	bindir=$RPM_BUILD_ROOT/%{_bindir} \        
	libdir=$RPM_BUILD_ROOT/%{_libdir} \
	datadir=$RPM_BUILD_ROOT/%{_datadir} \
	includedir=$RPM_BUILD_ROOT/%{_includedir} install

%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 ChangeLog INSTALL NEWS README* THANKS TODO BUGS
%{_libdir}/xmms/Input/*