## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname calculator %global appname io.elementary.calculator Name: elementary-calculator Summary: Calculator app designed for elementary Version: 8.0.0 Release: %autorelease License: GPL-3.0-or-later URL: https://github.com/elementary/%{srcname} Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson >= 0.56 BuildRequires: vala BuildRequires: pkgconfig(granite-7) >= 7.0.0 BuildRequires: pkgconfig(gtk4) Requires: hicolor-icon-theme %description A simple calculator for everyday use. It supports basic and some scientific calculations, including trigonometry functions (sin, cos, and tan). %prep %autosetup -n %{srcname}-%{version} -p1 %build %meson %meson_build %install %meson_install %find_lang %{appname} %check %meson_test desktop-file-validate \ %{buildroot}/%{_datadir}/applications/%{appname}.desktop appstream-util validate-relax --nonet \ %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml %files -f %{appname}.lang %license COPYING %doc README.md %{_bindir}/%{appname} %{_datadir}/applications/%{appname}.desktop %{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{appname}.svg %{_datadir}/metainfo/%{appname}.metainfo.xml %changelog ## START: Generated by rpmautospec * Wed Oct 16 2024 Fabio Valentini - 8.0.0-1 - Update to version 8.0.0; Fixes RHBZ#2283113 * Wed Jul 17 2024 Fedora Release Engineering - 2.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 2.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Fabio Valentini - 2.0.2-1 - Update to version 2.0.2 * Thu Jul 21 2022 Fedora Release Engineering - 1.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 14 2021 Fabio Valentini - 1.7.2-1 - Update to version 1.7.2 * Thu Oct 28 2021 Fabio Valentini - 1.7.1-1 - Update to version 1.7.1; Fixes RHBZ#2017551 * Wed Aug 11 2021 Fabio Valentini - 1.7.0-1 - Update to version 1.7.0; Fixes RHBZ#1991811 * Wed Jul 21 2021 Fedora Release Engineering - 1.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jul 21 2021 Fabio Valentini - 1.6.2-1 - Update to version 1.6.2; Fixes RHBZ#1984230 * Sun May 23 2021 Fabio Valentini - 1.6.1-1 - Update to version 1.6.1. * Thu Feb 18 2021 Fabio Valentini - 1.6.0-3.20210216git64f8f0a - Bump to commit 64f8f0a. Rebuilt for granite 6 soname bump. * Tue Jan 26 2021 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 26 2020 Fabio Valentini - 1.6.0-1 - Update to version 1.6.0. * Mon Jul 27 2020 Fedora Release Engineering - 1.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Apr 03 2020 Fabio Valentini - 1.5.5-1 - Update to version 1.5.5. * Tue Jan 28 2020 Fedora Release Engineering - 1.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 26 2019 Fabio Valentini - 1.5.4-1 - Update to version 1.5.4. * Fri Nov 22 2019 Fabio Valentini - 1.5.3-1 - Update to version 1.5.3. * Wed Jul 24 2019 Fedora Release Engineering - 1.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Mar 08 2019 Fabio Valentini - 1.5.2-1 - Update to version 1.5.2. * Thu Jan 31 2019 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 16 2018 Fabio Valentini - 1.5.1-1 - Update to version 1.5.1. * Wed Aug 29 2018 Fabio Valentini - 0.1.5-1 - Update to version 0.1.5. * Thu Jul 12 2018 Fedora Release Engineering - 0.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 13 2018 Fabio Valentini - 0.1.4-2 - Rebuild for granite5 soname bump. * Wed Jun 06 2018 Fabio Valentini - 0.1.4-1 - Initial package renamed from pantheon-calculator. ## END: Generated by rpmautospec