--- qsampler/trunk/qsampler.spec.in 2013/07/01 10:25:27 2458 +++ qsampler/trunk/qsampler.spec.in 2016/04/05 10:47:40 2863 @@ -1,6 +1,6 @@ %define name @PACKAGE_TARNAME@ %define version @PACKAGE_VERSION@ -%define release 14 +%define release 17 %define _prefix @ac_prefix@ @@ -16,22 +16,29 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: libqt4-devel >= 4.2 +#BuildRequires: libqt4-devel >= 4.4 +%if %{defined fedora} +BuildRequires: qt5-qtbase-devel >= 5.1, qt5-linguist +BuildRequires: qt5-qtx11extras-devel >= 5.1 +%else +BuildRequires: libqt5-qtbase-devel >= 5.1, libqt5-linguist +BuildRequires: libqt5-qtx11extras-devel >= 5.1 +%endif 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 Qt4 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.svn ] && %__make -f Makefile.svn +[ -f Makefile.git ] && %__make -f Makefile.git %build %configure -%__make +%__make %{?_smp_mflags} %install %__make DESTDIR=%{buildroot} install @@ -52,20 +59,34 @@ %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %dir %{_datadir}/icons/hicolor/scalable/mimetypes -#dir %{_datadir}/locale +%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}.svgz -%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}*.svgz -%{_datadir}/locale/%{name}_*.qm +%{_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 +* Tue Apr 5 2016 Rui Nuno Capela 0.4.0 +- Spring'16 release frenzy. +* Sun Jul 19 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 +* 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. @@ -77,7 +98,7 @@ * 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 +* Sun Dec 17 2006 Rui Nuno Capela - Added preliminary MIDI instrument mapping support. * Thu Jun 01 2006 Rui Nuno Capela - Take a chance for a new 0.1.3 release. @@ -95,9 +116,9 @@ - Device configuration breakthrough. * 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 - Created initial qsampler.spec