--- qsampler/trunk/qsampler.spec.in 2009/08/01 18:14:20 1970 +++ qsampler/trunk/qsampler.spec.in 2010/04/26 09:26:54 2087 @@ -1,13 +1,13 @@ %define name @PACKAGE_TARNAME@ %define version @PACKAGE_VERSION@ -%define release 11 -%define prefix @ac_prefix@ +%define release 13 + +%define _prefix @ac_prefix@ Summary: A LinuxSampler Qt GUI interface Name: %{name} Version: %{version} Release: %{release} -Prefix: %{prefix} License: GPL Group: Productivity/Multimedia/Sound/Midi Source0: %{name}-%{version}.tar.gz @@ -15,33 +15,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -Requires: qt >= 4.2 -Requires: liblscp >= 0.5.5 -Requires: libgig >= 3.2.0 - -BuildRequires: qt-devel >= 4.2 -BuildRequires: liblscp-devel >= 0.5.5 -BuildRequires: libgig-devel >= 3.2.0 +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 %__make %install -%makeinstall +%__make DESTDIR=%{buildroot} install %clean -[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} +[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} %files %defattr(-,root,root)