--- qsampler/trunk/qsampler.spec.in 2006/12/17 22:29:29 980 +++ qsampler/trunk/qsampler.spec.in 2015/07/19 16:42:14 2824 @@ -1,71 +1,115 @@ %define name @PACKAGE_TARNAME@ %define version @PACKAGE_VERSION@ -%define release 8 -%define prefix /usr/local +%define release 15 -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 +License: GPL-2.0+ +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 +#Packager: rncbc.org + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: libqt5-qtbase-devel >= 5.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 +Qsampler is a LinuxSampler GUI front-end application written in C++ around +the Qt framework 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.git ] && %__make -f Makefile.git %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 +#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}/%{name} +%dir %{_datadir}/%{name}/translations +%dir %{_datadir}/appdata +#dir %{_datadir}/man +#dir %{_datadir}/man/man1 +%{_bindir}/%{name} +%{_datadir}/mime/packages/%{name}.xml +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/32x32/apps/%{name}.png +%{_datadir}/icons/hicolor/32x32/mimetypes/application-x-%{name}*.png +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}*.svg +%{_datadir}/%{name}/translations/%{name}_*.qm +%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/man/man1/%{name}.1.gz %changelog -* Thu Dec 17 2006 Rui Nuno Capela +* Sun Jul 15 2015 Rui Nuno Capela 0.3.1 +- Summer'15 release frenzy. +* Wed Mar 25 2015 Rui Nuno Capela 0.3.0 +- Pre-LAC2015 release frenzy. +* Tue Dec 31 2013 Rui Nuno Capela 0.2.3 +- A fifth of a Jubilee release. +* Mon May 17 2010 Rui Nuno Capela +- Standard desktop icon fixing. +* Sat Aug 1 2009 Rui Nuno Capela 0.2.2 +- 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. +* Sun Dec 17 2006 Rui Nuno Capela - Added preliminary MIDI instrument mapping support. -* Thu Jun 01 2006 Rui Nuno Capela +* Thu Jun 01 2006 Rui Nuno Capela - Take a chance for a new 0.1.3 release. - Changed deprecated copyright attribute to license. -* Wed Aug 24 2005 Rui Nuno Capela +* Wed Aug 24 2005 Rui Nuno Capela - Prepared auto-generation from configure. -* Tue Aug 16 2005 Rui Nuno Capela +* Tue Aug 16 2005 Rui Nuno Capela - Get in sync with latest offerings from liblscp (0.3.1) and specially libgig (2.0.2) which broke previous ABI, somewhat. -* Thu Jun 23 2005 Rui Nuno Capela +* Thu Jun 23 2005 Rui Nuno Capela - Even minor workings needs a rest. -* Mon Jun 13 2005 Rui Nuno Capela +* Mon Jun 13 2005 Rui Nuno Capela - The mantra of bugfixes. -* Mon May 23 2005 Rui Nuno Capela +* Mon May 23 2005 Rui Nuno Capela - Device configuration breakthrough. -* Fri Mar 4 2005 Rui Nuno Capela +* Fri Mar 4 2005 Rui Nuno Capela - Fifth alpha-release. -* Wed Nov 16 2004 Rui Nuno Capela +* Tue Nov 16 2004 Rui Nuno Capela - Prepared for the fourth alpha release. -* Wed Nov 16 2004 Rui Nuno Capela +* Tue Nov 16 2004 Rui Nuno Capela - Prepared for the fourth alpha release. -* Wed Jun 2 2004 Rui Nuno Capela +* Wed Jun 2 2004 Rui Nuno Capela - Created initial qsampler.spec