%define name @PACKAGE@ %define version @VERSION@ %define release 11 %define prefix @prefix@ Summary: LinuxSampler - modular, streaming capable, realtime audio sampler Name: %{name} Version: %{version} Release: %{release} Prefix: %{prefix} License: GPL Group: Sound Source0: %{name}-%{version}.tar.bz2 URL: http://www.linuxsampler.org/ BuildRoot: /var/tmp/%{name}-%{version}-buildroot Requires: libgig >= 3.2.1 %description LinuxSampler is a work in progress. It's goal is to produce a free software audio sampler with professional grade features. It offers disk streaming capability and supports the Gigasampler format which is currently considered to be the best sampler format in regards of possibilities and sound quality. This package provides the backend of LinuxSampler, that is the sampler engine together with audio and MIDI drivers. LinuxSampler can be controlled via network interface which uses an ASCII based protocol called LSCP. You might consider to install a GUI frontend for LinuxSampler as well. For more informations please visit http://www.linuxsampler.org %package devel Summary: Linuxsampler development files Group: Development/Libraries Requires: %{name} = %{version} %description devel Linuxsampler development files for allowing 3rd party applications to link against liblinuxsampler %prep %setup [ -f Makefile.cvs ] && make -f Makefile.cvs %build ./configure --prefix=%{prefix} --enable-optimize [ -f Makefile.cvs ] && make parser make make docs %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi mkdir -p $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} install %post /sbin/ldconfig %postun /sbin/ldconfig %clean if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README %{prefix}/bin/linuxsampler %{prefix}/lib/linuxsampler/liblinuxsampler.so* %{prefix}/share/man/man1/linuxsampler.* %files devel %defattr(-,root,root) %doc doc/html/* %{prefix}/lib/linuxsampler/include/config.h %{prefix}/lib/linuxsampler/liblinuxsampler.a %{prefix}/lib/linuxsampler/liblinuxsampler.la %{prefix}/lib/pkgconfig/linuxsampler.pc %{prefix}/include/* %changelog * Thu Dec 06 2007 Christian Schoenebeck - Going for linuxsampler 0.5.1 release. * Mon Oct 15 2007 Christian Schoenebeck - Going for linuxsampler 0.5.0 release. * Fri Nov 24 2006 Christian Schoenebeck - Going for linuxsampler 0.4.0 release. * Thu Jun 01 2006 Rui Nuno Capela - changed deprecated copyright attribute to license - added ldconfig to post-(un)install steps - added devel package for liblinuxsampler * Fri Jul 15 2005 Christian Schoenebeck - Going for linuxsampler 0.3.3 bugfix release. * Thu Jun 23 2005 Rui Nuno Capela - Ready for linuxsampler 0.3.2 bugfix release. * Sun Jun 12 2005 Rui Nuno Capela - Created first official linuxsampler.spec