## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global _appid net.sourceforge.kmetronome Name: kmetronome Version: 1.4.0 Release: %autorelease License: GPLv2+ Summary: A MIDI metronome using the Drumstick library URL: https://kmetronome.sourceforge.net Source: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: cmake >= 3.16 BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: pandoc BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6SvgWidgets) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(drumstick-alsa) >= 2.9 # transitive dependency of drumstick-alsa BuildRequires: alsa-lib-devel >= 1.0 %description KMetronome is a MIDI metronome with Qt interface, based on the Drumstick library. The intended audience is musicians and music students. Like solid, real metronomes it is a tool to keep the rhythm while playing musical instruments. It uses MIDI for sound generation instead of digital audio, allowing low CPU usage, and very accurate timing thanks to the ALSA sequencer. %prep %setup -q %build %{cmake} %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{_appid}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{_appid}.metainfo.xml %files %doc readme.md ChangeLog AUTHORS TODO COPYING NEWS %{_bindir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/applications/%{_appid}.desktop %{_datadir}/dbus-1/*/%{_appid}.* %{_datadir}/%{name}/ %{_mandir}/man1/%{name}.1* %{_metainfodir}/%{_appid}.metainfo.xml %changelog ## START: Generated by rpmautospec * Thu Jan 25 2024 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 17 2024 Yaakov Selkowitz - 1.4.0-1 - Update to 1.4.0 * Sun Dec 31 2023 Yaakov Selkowitz - 1.3.1-4 - Fix pandoc dependency * Thu Jul 20 2023 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Oct 05 2022 Robin Lee - 1.3.1-1 - New release 1.3.1 * Sat Aug 20 2022 Robin Lee - 1.3.0-4 - Convert to Qt6 * Thu Jul 21 2022 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 18 2021 Robin Lee - 1.3.0-1 - New release 1.3.0 (RHBZ#2031493) * Thu Jul 22 2021 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 10 2021 Robin Lee - 1.2.0-1 - Update to 1.2.0 * Tue Jul 28 2020 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 05 2019 Fedora Release Monitoring - 1.0.1-1 - Update to 1.0.1 (#1768953) * Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 10 2018 Robin Lee - 1.0.0-10 - BR gcc-c++ for http://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot * Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Igor Gnatenko - 1.0.0-8 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 1.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Feb 12 2017 Robin Lee - 1.0.0-5 - BR: alsa-lib-devel * Fri Feb 10 2017 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.0.0-2 - Rebuilt for GCC 5 C++11 ABI change * Sun Oct 19 2014 Robin Lee - 1.0.0-1 - Update to 1.0.0 * Sun Aug 17 2014 Fedora Release Engineering - 0.10.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.10.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 4 2012 Robin Lee - 0.10.1-1 - Update to 0.10.1 * Fri Jan 13 2012 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jul 29 2011 Robin Lee - 0.10.0-3 - Fix a typo - Add scriptlets to update the icon cache * Sun Jun 26 2011 Robin Lee - 0.10.0-2 - Add kde4-macros(api) requirement - BR: gettext and desktop-file-utils added, alsa-lib-devel removed - Check the desktop entry file - Drop explicit %%doc tag from the manpage * Thu Jun 9 2011 Robin Lee - 0.10.0-1 - Initial specfile ## END: Generated by rpmautospec