diff --git a/.gitignore b/.gitignore index 561a71a..ab152c0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,20 +2,3 @@ /vmpk-0.6.0.tar.bz2 /vmpk-0.6.1.tar.bz2 /vmpk-0.6.2a.tar.bz2 -/vmpk-0.7.0.tar.bz2 -/vmpk-0.7.1.tar.bz2 -/vmpk-0.7.2.tar.bz2 -/vmpk-0.8.0.tar.bz2 -/vmpk-0.8.1.tar.bz2 -/vmpk-0.8.2.tar.bz2 -/vmpk-0.8.3.tar.bz2 -/vmpk-0.8.4.tar.bz2 -/vmpk-0.8.5.tar.bz2 -/vmpk-0.8.6.tar.bz2 -/vmpk-0.8.7.tar.bz2 -/vmpk-0.8.8.tar.bz2 -/vmpk-0.8.9.tar.bz2 -/vmpk-0.8.10.tar.bz2 -/vmpk-0.9.0.tar.bz2 -/vmpk-0.9.1.tar.bz2 -/vmpk-0.9.2.tar.bz2 diff --git a/changelog b/changelog deleted file mode 100644 index f0b336e..0000000 --- a/changelog +++ /dev/null @@ -1,111 +0,0 @@ -* Fri Jul 23 2021 Fedora Release Engineering - 0.8.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue May 25 2021 Robin Lee - 0.8.3-1 -- Update to 0.8.3 - -* Wed Mar 31 2021 Fedora Release Monitoring - 0.8.2-1 -- Update to 0.8.2 (#1945200) - -* Mon Mar 22 2021 Robin Lee - 0.8.1-1 -- Update to 0.8.1 - -* Wed Jan 27 2021 Fedora Release Engineering - 0.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Jan 10 2021 Robin Lee - 0.8.0-1 -- Update to 0.8.0 - -* Wed Jul 29 2020 Fedora Release Engineering - 0.7.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.7.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Sep 7 2019 Robin Lee - 0.7.2-1 -- Release 0.7.2 - -* Sat Jul 27 2019 Fedora Release Engineering - 0.7.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 17 2019 Robin Lee - 0.7.1-1 -- Update to 0.7.1 - -* Sun Feb 03 2019 Fedora Release Engineering - 0.7.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.7.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sun Apr 22 2018 Robin Lee - 0.7.0-2 -- Remove description of JACK driver - -* Sat Apr 21 2018 Robin Lee - 0.7.0-1 -- Update to 0.7.0 (BZ#1563239) - -* Sat Mar 10 2018 Robin Lee - 0.6.2a-7 -- BR gcc-c++ for http://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot - -* Fri Feb 09 2018 Fedora Release Engineering - 0.6.2a-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 18 2018 Igor Gnatenko - 0.6.2a-5 -- Remove obsolete scriptlets - -* Thu Aug 03 2017 Fedora Release Engineering - 0.6.2a-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.6.2a-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.6.2a-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Aug 24 2016 Robin Lee - 0.6.2a-1 -- Update to 0.6.2a (BZ#1296770) - -* Fri Feb 05 2016 Fedora Release Engineering - 0.6.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Mon Oct 12 2015 Robin Lee - 0.6.1-1 -- Update to 0.6.1 - -* Fri Jun 19 2015 Fedora Release Engineering - 0.6.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 0.6.0-2 -- Rebuilt for GCC 5 C++11 ABI change - -* Fri Oct 17 2014 Robin Lee - 0.6.0-1 -- Update to 0.6.0 - -* Mon Aug 18 2014 Fedora Release Engineering - 0.4.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.4.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 0.4.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Feb 15 2013 Fedora Release Engineering - 0.4.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sun Jul 22 2012 Fedora Release Engineering - 0.4.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 0.4.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Sun Oct 9 2011 Robin Lee - 0.4.0-4 -- Use the RtMidi shared object -- License revised to "GPLv3+ and (LGPLv2 with exceptions or GPLv3)" - -* Sat Jul 30 2011 Robin Lee - 0.4.0-3 -- License specified to "GPLv3+ and MIT and (LGPLv2 with exceptions or GPLv3)" - -* Wed Jun 22 2011 Robin Lee - 0.4.0-2 -- Use JACK driver instead of ALSA - -* Mon Jun 6 2011 Robin Lee - 0.4.0-1 -- Initial specfile diff --git a/sources b/sources index b540df1..0a05a1b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vmpk-0.9.2.tar.bz2) = a585c4e63934a11b834e633133c5dcd407011a669a894b31b72875ee73170aa7e260ab13247b8fbe79acef6e306bbfefcc08b6cd0d4d621d2b80e1d000b60084 +8d96d6b615c5d7a3f188275fcd0c08a1 vmpk-0.6.2a.tar.bz2 diff --git a/vmpk.spec b/vmpk.spec index 37a6d4e..2f8126a 100644 --- a/vmpk.spec +++ b/vmpk.spec @@ -1,25 +1,23 @@ Name: vmpk -Version: 0.9.2 -Release: %autorelease +Version: 0.6.2a +Release: 4%{?dist} Summary: Virtual MIDI Piano Keyboard -# Automatically converted from old format: GPLv3+ - review is highly recommended. -License: GPL-3.0-or-later -URL: https://vmpk.sourceforge.io/ -Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2 +Group: Applications/Multimedia +License: GPLv3+ +URL: http://vmpk.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 -BuildRequires: gcc-c++ -BuildRequires: qt6-qtbase-devel >= 6.2 -BuildRequires: qt6-qtsvg-devel >= 6.2 -BuildRequires: qt6-qttools-devel >= 6.2 -BuildRequires: cmake(Qt6Core5Compat) -BuildRequires: drumstick-devel >= 2.9 +BuildRequires: qt5-qtbase-devel >= 5.1 +BuildRequires: qt5-qtsvg-devel >= 5.1 +BuildRequires: qt5-qttools-devel >= 5.1 +BuildRequires: qt5-qtx11extras-devel >= 5.1 +BuildRequires: drumstick-devel >= 1.0 BuildRequires: libxcb-devel BuildRequires: pkgconfig -BuildRequires: cmake >= 3.9 +BuildRequires: cmake BuildRequires: /usr/bin/xsltproc BuildRequires: docbook-style-xsl BuildRequires: desktop-file-utils - Requires: fluid-soundfont-gm %description @@ -29,28 +27,97 @@ software, internal or external). You can use the computer's keyboard to play MIDI notes, and also the mouse. You can use the Virtual MIDI Piano Keyboard to display the played MIDI notes from another instrument or MIDI file player. +This package is compiled with JACK driver. %prep -%autosetup +%setup -q %build -%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -%cmake_build +%cmake . +make %{?_smp_mflags} %install -%cmake_install +make install DESTDIR=$RPM_BUILD_ROOT %check -desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/net.sourceforge.VMPK.desktop +desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop + +%post +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -%doc NEWS README.md ChangeLog AUTHORS TODO COPYING +%doc NEWS README ChangeLog AUTHORS TODO COPYING %{_bindir}/%{name} -%{_datadir}/applications/net.sourceforge.VMPK.desktop +%{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ %{_datadir}/icons/hicolor/*/apps/* -%{_datadir}/metainfo/net.sourceforge.VMPK.metainfo.xml %{_mandir}/man1/%{name}.1.* + %changelog -%autochangelog +* Thu Aug 03 2017 Fedora Release Engineering - 0.6.2a-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.6.2a-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.6.2a-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Aug 24 2016 Robin Lee - 0.6.2a-1 +- Update to 0.6.2a (BZ#1296770) + +* Fri Feb 05 2016 Fedora Release Engineering - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Oct 12 2015 Robin Lee - 0.6.1-1 +- Update to 0.6.1 + +* Fri Jun 19 2015 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 0.6.0-2 +- Rebuilt for GCC 5 C++11 ABI change + +* Fri Oct 17 2014 Robin Lee - 0.6.0-1 +- Update to 0.6.0 + +* Mon Aug 18 2014 Fedora Release Engineering - 0.4.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.4.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.4.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 0.4.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jul 22 2012 Fedora Release Engineering - 0.4.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.4.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Oct 9 2011 Robin Lee - 0.4.0-4 +- Use the RtMidi shared object +- License revised to "GPLv3+ and (LGPLv2 with exceptions or GPLv3)" + +* Sat Jul 30 2011 Robin Lee - 0.4.0-3 +- License specified to "GPLv3+ and MIT and (LGPLv2 with exceptions or GPLv3)" + +* Wed Jun 22 2011 Robin Lee - 0.4.0-2 +- Use JACK driver instead of ALSA + +* Mon Jun 6 2011 Robin Lee - 0.4.0-1 +- Initial specfile