## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # This spec file uses tab uniformly. If you touch this spec, ensure that # you use tab in your changes. %global srcnm Qalculate Summary: A multi-purpose desktop calculator for GNU/Linux Name: qalculate-gtk Version: 4.4.0 Release: %autorelease License: GPLv2+ URL: https://qalculate.github.io/ Source0: https://github.com/%{srcnm}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: gcc-c++ BuildRequires: gtk3-devel BuildRequires: libqalculate-devel BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: perl(XML::Parser) BuildRequires: pkgconfig BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: mpfr-devel Requires: gnuplot %description Qalculate! is a multi-purpose desktop calculator for GNU/Linux. It is small and simple to use but with much power and versatility underneath. Features include customizable functions, units, arbitrary precision, plotting. This package provides a (GTK+) graphical interface for Qalculate! %prep %setup -q sed -i 's///' data/qalculate-gtk.appdata.xml.in sed -i 's/<\/i>//' data/qalculate-gtk.appdata.xml.in %build %configure %make_build %install %make_install pushd doc cp -pr html %{buildroot}/%{_datadir}/doc/%{name} popd desktop-file-install --delete-original \ --remove-category Application \ --dir %{buildroot}%{_datadir}/applications \ --mode 0644 \ %{buildroot}%{_datadir}/applications/qalculate-gtk.desktop appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml %find_lang %{name} %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog TODO %{_pkgdocdir}/html/* %{_bindir}/qalculate-gtk %{_datadir}/applications/qalculate-gtk.desktop %{_datadir}/icons/hicolor/*/*/qalculate* %{_libexecdir}/qalculate-search-provider %{_datadir}/dbus-1/services/io.github.Qalculate.SearchProvider.service %{_datadir}/gnome-shell/search-providers/io.github.Qalculate.search-provider.ini %{_metainfodir}/%{name}.appdata.xml %{_mandir}/man1/%{name}.1* %changelog * Thu Oct 20 2022 Mukundan Ragavan 4.4.0-1 - update to v4.4.0 * Thu Aug 25 2022 Mukundan Ragavan 4.3.0-1 - update to v4.3.0 * Fri Jul 22 2022 Fedora Release Engineering 4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat May 28 2022 Mukundan Ragavan 4.2.0-1 - update qalculate-gtk to v4.2.0 * Tue Mar 29 2022 Mukundan Ragavan 4.1.0-1 - update to 4.1.0 * Fri Jan 21 2022 Fedora Release Engineering - 3.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jan 13 2022 Mukundan Ragavan - 3.22.0-2 - Drop scrollkeeper from BR * Sat Dec 11 2021 Mukundan Ragavan - 3.22.0-1 - Update to 3.22.0 * Sat Oct 16 2021 Mukundan Ragavan - 3.21.1-1 - Update to 3.21.0 * Sun Aug 08 2021 Mukundan Ragavan - 3.20.1-1 - Update to 3.20.1 * Fri Jul 23 2021 Fedora Release Engineering - 3.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 05 2021 Mukundan Ragavan - 3.19.0-1 - Update to 3.19.0 * Thu Apr 08 2021 Mukundan Ragavan - 3.18.0-1 - Update to 3.18.0 * Mon Feb 15 2021 Mukundan Ragavan - 3.17.0-1 - Update to 3.17.0 * Wed Jan 27 2021 Fedora Release Engineering - 3.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jan 04 2021 Mukundan Ragavan - 3.16.0-1 - Update to 3.16.0 * Mon Nov 23 2020 Mukundan Ragavan - 3.15.0-1 - Update to 3.15.0 * Wed Oct 28 2020 Mukundan Ragavan - 3.14.0-1 - Drop the gtk in desktop file * Tue Oct 27 2020 Mukundan Ragavan - 3.14.0-1 - Update to 3.14.0 * Tue Sep 22 2020 Mukundan Ragavan - 3.13.0-1 - Update to 3.13.0 * Tue Aug 04 2020 Mukundan Ragavan - 3.12.1-1 - Update to 3.12.1 * Mon Jul 27 2020 Mukundan Ragavan - 3.12.0-1 - Update to 3.12.0 * Mon Jun 22 2020 Mukundan Ragavan - 3.11.0-1 - Update to 3.11.0 * Wed May 13 2020 Mukundan Ragavan - 3.10.0-1 - Update to 3.10.0 * Tue Apr 21 2020 Mukundan Ragavan - 3.9.0-1 - Update to 3.9.0 * Sat Mar 07 2020 Mukundan Ragavan - 3.8.0-1 - Update to 3.8.0 * Thu Jan 30 2020 Fedora Release Engineering - 3.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 29 2019 Mukundan Ragavan - 3.6.0-1 - Update to 3.6.0 * Fri Aug 16 2019 Mukundan Ragavan - 3.3.0-1 - Update to 3.3.0 * Fri Jul 26 2019 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 21 2019 Mukundan Ragavan - 3.1.0-1 - Update to 3.1.0 * Tue Mar 19 2019 Mukundan Ragavan - 3.0.0-1 - Update to 3.0.0 * Sat Feb 02 2019 Fedora Release Engineering - 2.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 21 2019 Mukundan Ragavan - 2.8.2-1 - Update to 2.8.2 * Wed Aug 15 2018 Mukundan Ragavan - 2.6.2-1 - Update to 2.6.2 * Sat Jul 14 2018 Fedora Release Engineering - 2.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Mukundan Ragavan - 2.6.1-1 - Update to 2.6.1 * Wed Jun 20 2018 Mukundan Ragavan - 2.6.0-1 - Update to 2.6.0 * Wed May 16 2018 Mukundan Ragavan - 2.5.0-1 - Update to 2.5.0 * Wed Apr 11 2018 Mukundan Ragavan - 2.4.0-1 - Update to 2.4.0 * Mon Apr 09 2018 Mukundan Ragavan - 2.3.0-1 - Update to 2.3.0 * Sat Mar 10 2018 Mukundan Ragavan - 2.2.1-1 - Update to 2.2.1 * Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Sep 15 2017 Mukundan Ragavan - 2.0.0-1 - Update to 2.0.0 - Add mpfr-devel as BR * Thu Aug 03 2017 Fedora Release Engineering - 0.9.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.9.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.9.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Jan 28 2017 Mukundan Ragavan - 0.9.9-2 - rebuilt * Mon Nov 28 2016 Mukundan Ragavan - 0.9.9-1 - Update to 0.9.9 - spec file cleanup * Thu Feb 04 2016 Fedora Release Engineering - 0.9.7-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.9.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.9.7-12 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.9.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.9.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Feb 24 2014 Deji Akingunola - 0.9.7-9 - Apply the Debian patch to fix the format-security build error (Bug 1037265) * Sun Aug 04 2013 Fedora Release Engineering - 0.9.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 22 2013 Toshio Kuratomi - 0.9.7-7 - Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 * Thu Feb 14 2013 Fedora Release Engineering - 0.9.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.9.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.9.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.9.7-3 - Rebuild for new libpng * Tue Feb 08 2011 Fedora Release Engineering - 0.9.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jan 29 2010 Deji Akingunola - 0.9.7-1 - Update to 0.9.7 * Sun Jul 26 2009 Fedora Release Engineering - 0.9.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jul 05 2009 Deji Akingunola - 0.9.6-6 - Rebuild for cln-1.3.0 * Wed Feb 25 2009 Fedora Release Engineering - 0.9.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Deji Akingunola - 0.9.6-4 - Rebuild (with patch) for cln-1.2 * Sun Feb 10 2008 Deji Akingunola - 0.9.6-3 - Rebuild for gcc43 * Sat Aug 25 2007 Deji Akingunola - 0.9.6-2 - Rebuild * Fri Aug 03 2007 Deji Akingunola - 0.9.6-2 - License tag update * Sun Jul 01 2007 Deji Akingunola - 0.9.6-1 - Update to new release * Sat Jun 09 2007 Deji Akingunola - 0.9.5-2 - Modify the Name field in the desktop file to distinguish it from that of qalculate-kde (BZ #241024) - Require 'yelp' for the Help menu (BZ #243395) * Tue Jan 02 2007 Deji Akingunola - 0.9.5-1 - New release * Wed Aug 30 2006 Deji Akingunola - 0.9.4-5 - Add perl(XML::Parser) BR * Mon Aug 28 2006 Deji Akingunola - 0.9.4-4 - Rebuild for FC6 * Wed Jun 28 2006 Deji Akingunola - 0.9.4-3 - Properly package up missing file * Wed Jun 28 2006 Deji Akingunola - 0.9.4-2 - Add missing BR on libgnomeui * Tue Jun 27 2006 Deji Akingunola - 0.9.4-1 - New version 0.9.4 * Thu Mar 30 2006 Deji Akingunola - 0.9.3-1 - Update to newer version * Mon Feb 13 2006 Deji Akingunola - 0.9.2-2 - Rebuild for Fedora Extras 5 * Tue Dec 27 2005 Deji Akingunola - 0.9.2-1 - Upgrade to new version * Sat Nov 05 2005 Deji Akingunola - 0.9.0.1 - Upgrade to new version * Wed Nov 2 2005 Deji Akingunola - 0.8.2.1-2 - Rebuild with new cln package * Thu Oct 13 2005 Deji Akingunola - 0.8.2.1-2 - Update to a new release that handles new behaviour in pango >= 1.10.0 * Thu Oct 13 2005 Deji Akingunola - 0.8.2-4 - Fix for yelp error (Niklas Knutsson) * Thu Oct 13 2005 Deji Akingunola - 0.8.2-3 - Rmove explicit requires for gnome-vfs2 and libqalculate - Install desktop file properly * Tue Oct 11 2005 Paul Howarth - 0.8.2-2 - Use "make DESTDIR=%%{buildroot}" instead of %%makeinstall - Expand most references to %%{name} for clarity - Make sure scriptlets complete successfully - Add scriptlet deps - Include license text - Remove redundant doc files NEWS & README - Fix directory ownership * Tue Oct 11 2005 Deji Akingunola - 0.8.2-1 - Upgraded to new version - Remove redundant buildrequires - make libglade2 requires them all - Remove the -export-dynamic configure option, now done upstream - Add gnome-vfs2 to require. - Install the desktop file * Wed Oct 05 2005 Deji Akingunola - 0.8.1 - Initial package