--- qsampler/trunk/qsampler.spec.in 2007/07/03 09:00:55 1260 +++ qsampler/trunk/qsampler.spec.in 2013/07/01 08:57:33 2456 @@ -1,56 +1,73 @@ %define name @PACKAGE_TARNAME@ %define version @PACKAGE_VERSION@ -%define release 10 -%define prefix @ac_prefix@ +%define release 14 -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 +License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Midi Source0: %{name}-%{version}.tar.gz URL: http://qsampler.sourceforge.net/ +#Packager: rncbc.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -Requires: qt3 >= 3.1 -Requires: liblscp >= 0.5.3 -Requires: libgig >= 3.1.0 - -BuildRequires: qt3-devel >= 3.1 -BuildRequires: liblscp-devel >= 0.5.3 -BuildRequires: libgig-devel >= 3.1.0 +BuildRequires: libqt4-devel >= 4.2 +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) %doc AUTHORS COPYING ChangeLog README TODO +#dir %{_datadir}/mime +#dir %{_datadir}/mime/packages +#dir %{_datadir}/applications +%dir %{_datadir}/icons/hicolor +%dir %{_datadir}/icons/hicolor/32x32 +%dir %{_datadir}/icons/hicolor/32x32/apps +%dir %{_datadir}/icons/hicolor/32x32/mimetypes +%dir %{_datadir}/icons/hicolor/scalable +%dir %{_datadir}/icons/hicolor/scalable/apps +%dir %{_datadir}/icons/hicolor/scalable/mimetypes +#dir %{_datadir}/locale %{_bindir}/%{name} +%{_datadir}/mime/packages/%{name}.xml %{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png +%{_datadir}/icons/hicolor/32x32/apps/%{name}.png +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svgz +%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}*.svgz +%{_datadir}/locale/%{name}_*.qm %changelog +* Mon May 17 2010 Rui Nuno Capela +- Standard desktop icon fixing. +* 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.