%define version 1.36.47 %define release 1 %define prefix /usr Summary: A Commodore 64 music player and SID chip emulator library. Name: libsidplay Version: %{version} Release: %{release} Icon: sidplay.xpm Copyright: GPL URL: http://www.geocities.com/SiliconValley/Lakes/5147/ Group: System Environment/Libraries Source: libsidplay-%{version}.tgz Patch1: libsidplay-ix86-optimize.patch Prefix: %{prefix} BuildRoot: /var/tmp/libsidplay-build %description This library provides the Sound Interface Device (SID) chip emulator engine that is used by music player programs like SIDPLAY. With it you can play musics from Commodore 64 (or compatible) programs. %package -n libsidplay-devel Summary: Header files for compiling apps that use libsidplay. Group: System Environment/Libraries %description -n libsidplay-devel This package contains the header files for compiling applications that use libsidplay. %prep %setup -q %ifarch i386 i486 i586 i686 %patch1 -p1 -b .i386orig %endif [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %build CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} make %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; mkdir -p $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %files %defattr(-,root,root) %{prefix}/lib/libsidplay* %files -n libsidplay-devel %defattr(-,root,root) %doc AUTHORS COPYING DEVELOPER %doc src/fastforward.txt src/format.txt src/mixing.txt src/mpu.txt src/panning.txt %{prefix}/include/sidplay/ %changelog * Sat Apr 15 2000 Michael Schwendt - Initial RPM build of automake/libtool converted libsidplay.