--- qsampler/trunk/qsampler.spec.in 2006/12/17 22:29:29 980 +++ qsampler/trunk/qsampler.spec.in 2010/04/26 09:26:54 2087 @@ -1,50 +1,64 @@ %define name @PACKAGE_TARNAME@ %define version @PACKAGE_VERSION@ -%define release 8 -%define prefix /usr/local +%define release 13 -Summary: A LinuxSampler Qt GUI interface. +%define _prefix @ac_prefix@ + +Summary: A LinuxSampler Qt GUI interface Name: %{name} Version: %{version} Release: %{release} -Prefix: %{prefix} License: GPL -Group: Sound +Group: Productivity/Multimedia/Sound/Midi Source0: %{name}-%{version}.tar.gz URL: http://qsampler.sourceforge.net/ -BuildRoot: /var/tmp/%{name}-%{version}-buildroot -Requires: liblscp >= 0.5.0, libgig >= 3.1.0 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: libqt4-devel >= 4.1 +BuildRequires: liblscp-devel >= 0.5.6 +BuildRequires: libgig-devel >= 3.3.0 %description QSampler is a LinuxSampler GUI front-end application written in C++ around -the Qt3 toolkit using Qt Designer. For the moment it just wraps the client +the Qt4 toolkit using Qt Designer. For the moment it just wraps the client interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). %prep - %setup -[ -f Makefile.cvs ] && make -f Makefile.cvs +[ -f Makefile.svn ] && %__make -f Makefile.svn %build -export PATH=$QTDIR/bin:$PATH -./configure --prefix=%{prefix} -make +%configure +%__make %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 +%__make DESTDIR=%{buildroot} install %clean -if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi +[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README TODO -%{prefix}/bin/qsampler -%{prefix}/share/icons/qsampler.png +%{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png +%{_datadir}/locale/%{name}_*.qm %changelog +* Sat Aug 1 2009 Rui Nuno Capela +- New 0.2.2 release. +* Thu Dec 6 2007 Rui Nuno Capela +- Qt4 migration complete. +* Mon Jun 25 2007 Rui Nuno Capela +- Application icon is now installed to (prefix)/share/pixmaps. +- Declared fundamental build and run-time requirements. +- Destination install directory prefix is now in spec. +- Spec is now a bit more openSUSE compliant. +* Mon Jan 15 2007 Rui Nuno Capela +- Added sampler channel FX send support at session save code-level. +- Global sampler volume slider/spinbox combo is now featured. * Thu Dec 17 2006 Rui Nuno Capela - Added preliminary MIDI instrument mapping support. * Thu Jun 01 2006 Rui Nuno Capela