--- qsampler/trunk/qsampler.spec.in 2016/04/05 10:47:40 2863 +++ qsampler/trunk/qsampler.spec.in 2019/11/13 19:46:13 3640 @@ -1,9 +1,31 @@ +# +# spec file for package qsampler +# +# Copyright (C) 2004-2019, rncbc aka Rui Nuno Capela. All rights reserved. +# Copyright (C) 2007,2008,2015 Christian Schoenebeck +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %define name @PACKAGE_TARNAME@ %define version @PACKAGE_VERSION@ -%define release 17 +%define release 31 %define _prefix @ac_prefix@ +%if %{defined fedora} +%define debug_package %{nil} +%endif + Summary: A LinuxSampler Qt GUI interface Name: %{name} Version: %{version} @@ -16,13 +38,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -#BuildRequires: libqt4-devel >= 4.4 %if %{defined fedora} +BuildRequires: pkgconfig BuildRequires: qt5-qtbase-devel >= 5.1, qt5-linguist -BuildRequires: qt5-qtx11extras-devel >= 5.1 %else +BuildRequires: pkg-config 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 @@ -34,17 +55,17 @@ %prep %setup -[ -f Makefile.git ] && %__make -f Makefile.git +[ -x ./autogen.sh ] && ./autogen.sh %build %configure %__make %{?_smp_mflags} %install -%__make DESTDIR=%{buildroot} install +%__make DESTDIR="%{buildroot}" install %clean -[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} +[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" %files %defattr(-,root,root) @@ -61,7 +82,7 @@ %dir %{_datadir}/icons/hicolor/scalable/mimetypes %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/translations -%dir %{_datadir}/appdata +%dir %{_datadir}/metainfo #dir %{_datadir}/man #dir %{_datadir}/man/man1 %{_bindir}/%{name} @@ -72,10 +93,32 @@ %{_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 +%{_datadir}/metainfo/%{name}.appdata.xml +%{_datadir}/man/man1/%{name}*.1.gz %changelog +* Thu Oct 17 2019 Rui Nuno Capela 0.6.0 +- Autumn'19 release. +* Fri Jul 12 2019 Rui Nuno Capela 0.5.6 +- Summer'19 release. +* Thu Apr 11 2019 Rui Nuno Capela 0.5.5 +- Spring-Break'19 release. +* Mon Mar 11 2019 Rui Nuno Capela 0.5.4 +- Pre-LAC2019 release frenzy. +* Thu Dec 06 2018 Rui Nuno Capela 0.5.3 +- An End of Autumn'18 Release. +* Sun Jul 22 2018 Rui Nuno Capela 0.5.2 +- Summer'18 Release. +* Mon May 21 2018 Rui Nuno Capela 0.5.1 +- Pre-LAC2018 release frenzy. +* Tue Dec 12 2017 Rui Nuno Capela 0.5.0 +- An Autumn'17 release. +* Thu Apr 27 2017 Rui Nuno Capela 0.4.3 +- Pre-LAC2017 release frenzy. +* Mon Nov 14 2016 Rui Nuno Capela 0.4.2 +- A Fall'16 release. +* Wed Sep 14 2016 Rui Nuno Capela 0.4.1 +- End of Summer'16 release. * Tue Apr 5 2016 Rui Nuno Capela 0.4.0 - Spring'16 release frenzy. * Sun Jul 19 2015 Rui Nuno Capela 0.3.1