%define name sc68 %define version 1.2.0 %define release 2mdk %define major 0 %define libname libsc68%{major} Summary: SC68 - Atari ST and Amiga music player Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Sound Url: http://sashipa.ben.free.fr/sc68 Source: %{name}-%{version}.tar.bz2 Patch: sc68-1.2.0-info.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: xmms BuildRequires: libxmms1-devel %description sc68 is an Atari ST and Amiga music player. It is available as a command line player and as an input plugin for XMMS <http://www.xmms.org>. It can play special files (.sc68). This file encapsulates orgininal music files and possibly the program to play it. You can find a very large collection of this file on sc68 official web site <http://sashipa.ben.free.fr/sc68>. Note: Do *NOT* forget to run sc68-install.sh as *USER* to finish installation. %package -n %libname Summary: Libraries of the sc68 sound emulator Group: System/Libraries %description -n %libname sc68 is an Atari ST and Amiga music player. It is available as a command line player and as an input plugin for XMMS <http://www.xmms.org>. It can play special files (.sc68). This file encapsulates orgininal music files and possibly the program to play it. You can find a very large collection of this file on sc68 official web site <http://sashipa.ben.free.fr/sc68>. This package contains the shared libraries required by sc68. %prep %setup -q %patch %build %configure %make %install rm -rf ${RPM_BUILD_ROOT}; mkdir -p %buildroot%_libdir/xmms/Input %makeinstall_std mv -f %buildroot%_libdir/libxmms* %buildroot%_libdir/xmms/Input %clean rm -rf ${RPM_BUILD_ROOT}; %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %post %_install_info sc68.info %postun %_remove_install_info sc68.info %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %_bindir/* %_libdir/xmms/Input/libxmms68.so %_mandir/man1/* %_infodir/sc68.info* %_datadir/sc68-resources* %files -n %libname %defattr(-, root, root) %doc COPYING README %_libdir/lib*.so.* %changelog * Sat Mar 2 2002 Götz Waschk <waschk@linux-mandrake.com> 1.2.0-2mdk - really fix info dir entry * Tue Feb 5 2002 Götz Waschk <waschk@linux-mandrake.com> 1.2.0-1mdk - fixed info entry - initial package