bb3dc4
Name:           gnome-calculator
bb3dc4
Version:        3.28.2
bb3dc4
Release:        2%{?dist}
bb3dc4
Summary:        A desktop calculator
bb3dc4
bb3dc4
License:        GPLv3+
bb3dc4
URL:            https://wiki.gnome.org/Apps/Calculator
bb3dc4
Source0:        https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
bb3dc4
bb3dc4
BuildRequires:  desktop-file-utils
bb3dc4
BuildRequires:  gettext
bb3dc4
BuildRequires:  itstool
bb3dc4
BuildRequires:  libmpc-devel
bb3dc4
BuildRequires:  libsoup-devel
bb3dc4
BuildRequires:  meson
bb3dc4
BuildRequires:  mpfr-devel
bb3dc4
BuildRequires:  pkgconfig(glib-2.0)
bb3dc4
BuildRequires:  pkgconfig(gtk+-3.0)
bb3dc4
BuildRequires:  pkgconfig(gtksourceview-3.0)
bb3dc4
BuildRequires:  pkgconfig(libxml-2.0)
bb3dc4
BuildRequires:  vala
bb3dc4
BuildRequires:  /usr/bin/appstream-util
bb3dc4
bb3dc4
Provides:  gcalctool = 6.6.2-3
bb3dc4
Obsoletes: gcalctool < 6.6.2-3
bb3dc4
bb3dc4
Patch10001: 0001-Implemented-exchange-rate-refresh-interval-setting.patch
bb3dc4
Patch10002: 0002-currency-provider-Don-t-ever-download-rates-if-refre.patch
bb3dc4
Patch10003: 0003-gnome-calculator-Update-refresh-interval-when-change.patch
bb3dc4
Patch10004: 0004-Conversion-ui-improvements-72.patch
bb3dc4
Patch10005: 0005-math-converter-Hide-currency-conversion-UI-if-there-.patch
bb3dc4
bb3dc4
%description
bb3dc4
gnome-calculator is a powerful graphical calculator with financial,
bb3dc4
logical and scientific modes. It uses a multiple precision package
bb3dc4
to do its arithmetic to give a high degree of accuracy.
bb3dc4
bb3dc4
bb3dc4
%prep
bb3dc4
%autosetup -p1
bb3dc4
bb3dc4
bb3dc4
%build
bb3dc4
%meson
bb3dc4
%meson_build
bb3dc4
bb3dc4
bb3dc4
%install
bb3dc4
%meson_install
bb3dc4
%find_lang %{name} --with-gnome --all-name
bb3dc4
bb3dc4
bb3dc4
%check
bb3dc4
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.Calculator.appdata.xml
bb3dc4
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Calculator.desktop
bb3dc4
bb3dc4
bb3dc4
%files -f %{name}.lang
bb3dc4
%doc NEWS
bb3dc4
%license COPYING
bb3dc4
%{_bindir}/gcalccmd
bb3dc4
%{_bindir}/gnome-calculator
bb3dc4
%{_libexecdir}/gnome-calculator-search-provider
bb3dc4
%{_datadir}/applications/org.gnome.Calculator.desktop
bb3dc4
%{_datadir}/dbus-1/services/org.gnome.Calculator.SearchProvider.service
bb3dc4
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
bb3dc4
%{_datadir}/gnome-shell/
bb3dc4
%{_datadir}/icons/hicolor/*/apps/gnome-calculator.png
bb3dc4
%{_datadir}/icons/hicolor/scalable/apps/gnome-calculator-symbolic.svg
bb3dc4
%{_datadir}/metainfo/org.gnome.Calculator.appdata.xml
bb3dc4
%{_mandir}/man1/gnome-calculator.1*
bb3dc4
%{_mandir}/man1/gcalccmd.1*
bb3dc4
bb3dc4
bb3dc4
%changelog
bb3dc4
* Thu Jul 15 2021 Ray Strode <rstrode@redhat.com> - 3.28.2-2
bb3dc4
- Allow disabling downloading by setting refresh interval to 0
bb3dc4
  Resolves: #1957705
bb3dc4
bb3dc4
* Tue Jun 26 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
bb3dc4
- Update to 3.28.2
bb3dc4
bb3dc4
* Mon Apr 09 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
bb3dc4
- Update to 3.28.1
bb3dc4
- Switch to the meson build system
bb3dc4
bb3dc4
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
bb3dc4
- Update to 3.28.0
bb3dc4
bb3dc4
* Mon Mar 05 2018 Kalev Lember <klember@redhat.com> - 3.27.92-1
bb3dc4
- Update to 3.27.92
bb3dc4
bb3dc4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.0-4
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bb3dc4
bb3dc4
* Mon Jan 22 2018 Bastien Nocera <bnocera@redhat.com> - 3.26.0-3
bb3dc4
+ gnome-calculator-3.26.0-3
bb3dc4
- Fix reusing result in fr locales (#1536368)
bb3dc4
bb3dc4
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-2
bb3dc4
- Remove obsolete scriptlets
bb3dc4
bb3dc4
* Thu Nov 02 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
bb3dc4
- Update to 3.26.0
bb3dc4
bb3dc4
* Thu Sep 07 2017 Kalev Lember <klember@redhat.com> - 3.25.92-1
bb3dc4
- Update to 3.25.92
bb3dc4
bb3dc4
* Fri Aug 25 2017 Kalev Lember <klember@redhat.com> - 3.25.91-1
bb3dc4
- Update to 3.25.91
bb3dc4
bb3dc4
* Tue Aug 15 2017 Kalev Lember <klember@redhat.com> - 3.25.90-1
bb3dc4
- Update to 3.25.90
bb3dc4
bb3dc4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.2-3
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
bb3dc4
bb3dc4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.25.2-2
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bb3dc4
bb3dc4
* Mon Jun 12 2017 Kalev Lember <klember@redhat.com> - 3.25.2-1
bb3dc4
- Update to 3.25.2
bb3dc4
bb3dc4
* Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 3.24.0-1
bb3dc4
- Update to 3.24.0
bb3dc4
bb3dc4
* Thu Mar 16 2017 Kalev Lember <klember@redhat.com> - 3.23.92-1
bb3dc4
- Update to 3.23.92
bb3dc4
bb3dc4
* Tue Feb 28 2017 Richard Hughes <rhughes@redhat.com> - 3.23.91-1
bb3dc4
- Update to 3.23.91
bb3dc4
bb3dc4
* Tue Feb 14 2017 Richard Hughes <rhughes@redhat.com> - 3.23.90-1
bb3dc4
- Update to 3.23.90
bb3dc4
bb3dc4
* Mon Feb 13 2017 Richard Hughes <rhughes@redhat.com> - 3.23.4-1
bb3dc4
- Update to 3.23.4
bb3dc4
bb3dc4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.23.2-2
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bb3dc4
bb3dc4
* Thu Dec 01 2016 Kalev Lember <klember@redhat.com> - 3.23.2-1
bb3dc4
- Update to 3.23.2
bb3dc4
bb3dc4
* Sun Oct 30 2016 Kalev Lember <klember@redhat.com> - 3.23.1-1
bb3dc4
- Update to 3.23.1
bb3dc4
bb3dc4
* Wed Oct 12 2016 Kalev Lember <klember@redhat.com> - 3.22.1-1
bb3dc4
- Update to 3.22.1
bb3dc4
- Don't set group tags
bb3dc4
bb3dc4
* Tue Sep 20 2016 Kalev Lember <klember@redhat.com> - 3.22.0-1
bb3dc4
- Update to 3.22.0
bb3dc4
bb3dc4
* Tue Sep 13 2016 Kalev Lember <klember@redhat.com> - 3.21.92-1
bb3dc4
- Update to 3.21.92
bb3dc4
bb3dc4
* Thu Aug 18 2016 Kalev Lember <klember@redhat.com> - 3.21.90-1
bb3dc4
- Update to 3.21.90
bb3dc4
bb3dc4
* Wed Jun 22 2016 Richard Hughes <rhughes@redhat.com> - 3.21.2-1
bb3dc4
- Update to 3.21.2
bb3dc4
bb3dc4
* Sun May 08 2016 Kalev Lember <klember@redhat.com> - 3.20.1-1
bb3dc4
- Update to 3.20.1
bb3dc4
bb3dc4
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
bb3dc4
- Update to 3.20.0
bb3dc4
bb3dc4
* Tue Mar 01 2016 Richard Hughes <rhughes@redhat.com> - 3.19.91-1
bb3dc4
- Update to 3.19.91
bb3dc4
bb3dc4
* Tue Feb 16 2016 Richard Hughes <rhughes@redhat.com> - 3.19.90-1
bb3dc4
- Update to 3.19.90
bb3dc4
bb3dc4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.4-2
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bb3dc4
bb3dc4
* Wed Jan 20 2016 Kalev Lember <klember@redhat.com> - 3.19.4-1
bb3dc4
- Update to 3.19.4
bb3dc4
bb3dc4
* Wed Nov 25 2015 Kalev Lember <klember@redhat.com> - 3.19.2-1
bb3dc4
- Update to 3.19.2
bb3dc4
bb3dc4
* Wed Oct 28 2015 Kalev Lember <klember@redhat.com> - 3.19.1-1
bb3dc4
- Update to 3.19.1
bb3dc4
bb3dc4
* Mon Oct 12 2015 Kalev Lember <klember@redhat.com> - 3.18.1-1
bb3dc4
- Update to 3.18.1
bb3dc4
bb3dc4
* Sun Sep 20 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
bb3dc4
- Update to 3.18.0
bb3dc4
- Use make_install macro
bb3dc4
bb3dc4
* Mon Sep 14 2015 Kalev Lember <klember@redhat.com> - 3.17.92-1
bb3dc4
- Update to 3.17.92
bb3dc4
bb3dc4
* Sun Jun 21 2015 David King <amigadave@amigadave.com> - 3.17.3-1
bb3dc4
- Update to 3.17.3
bb3dc4
- Use license macro for COPYING
bb3dc4
bb3dc4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17.2-2
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bb3dc4
bb3dc4
* Sun May 31 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.2-1
bb3dc4
- Update to 3.17.2
bb3dc4
bb3dc4
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
bb3dc4
- Update to 3.16.0
bb3dc4
bb3dc4
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-1
bb3dc4
- Update to 3.15.91
bb3dc4
bb3dc4
* Mon Feb 16 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.15.4-1
bb3dc4
- Update license tag to GPLv3+
bb3dc4
bb3dc4
* Fri Jan 23 2015 David King <amigadave@amigadave.com> - 3.15.4-1
bb3dc4
- Update to 3.15.4
bb3dc4
- Update URL
bb3dc4
- Update man page globs in files section
bb3dc4
- Use pkgconfig for BuildRequires
bb3dc4
- Remove obsolete glib2 dependencies for GSettings schema
bb3dc4
- Validate AppData in check
bb3dc4
- Preserve timestamps during install
bb3dc4
bb3dc4
* Fri Dec 19 2014 Richard Hughes <rhughes@redhat.com> - 3.15.1-1
bb3dc4
- Update to 3.15.1
bb3dc4
bb3dc4
* Sun Oct 26 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
bb3dc4
- Update to 3.14.1
bb3dc4
bb3dc4
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
bb3dc4
- Update to 3.14.0
bb3dc4
bb3dc4
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
bb3dc4
- Update to 3.13.92
bb3dc4
bb3dc4
* Tue Aug 19 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-1
bb3dc4
- Update to 3.13.90
bb3dc4
bb3dc4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.3-2
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bb3dc4
bb3dc4
* Thu Jul 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-1
bb3dc4
- Update to 3.13.3
bb3dc4
- Drop an upstreamed patch
bb3dc4
- Include new gnome-shell search provider
bb3dc4
bb3dc4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.2-2
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bb3dc4
bb3dc4
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-1
bb3dc4
- Update to 3.13.2
bb3dc4
bb3dc4
* Thu Apr 10 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
bb3dc4
- Update to 3.12.1
bb3dc4
bb3dc4
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
bb3dc4
- Update to 3.12.0
bb3dc4
bb3dc4
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
bb3dc4
- Update to 3.11.92
bb3dc4
bb3dc4
* Sat Mar 08 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
bb3dc4
- Update to 3.11.91
bb3dc4
bb3dc4
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
bb3dc4
- Update to 3.11.90
bb3dc4
bb3dc4
* Tue Feb 04 2014 Richard Hughes <rhughes@redhat.com> - 3.11.5-1
bb3dc4
- Update to 3.11.5
bb3dc4
bb3dc4
* Wed Jan 15 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-1
bb3dc4
- Update to 3.11.4
bb3dc4
bb3dc4
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 3.11.3-1
bb3dc4
- Update to 3.11.3
bb3dc4
bb3dc4
* Thu Nov 14 2013 Richard Hughes <rhughes@redhat.com> - 3.10.2-1
bb3dc4
- Update to 3.10.2
bb3dc4
bb3dc4
* Mon Oct 28 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
bb3dc4
- Update to 3.10.1
bb3dc4
bb3dc4
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
bb3dc4
- Update to 3.10.0
bb3dc4
bb3dc4
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.92-1
bb3dc4
- Update to 3.9.92
bb3dc4
- Include the appdata file
bb3dc4
bb3dc4
* Wed Aug 28 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
bb3dc4
- Update to 3.9.90
bb3dc4
bb3dc4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.4-2
bb3dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bb3dc4
bb3dc4
* Tue Jul 16 2013 Richard Hughes <rhughes@redhat.com> - 3.9.4-1
bb3dc4
- Update to 3.9.4
bb3dc4
bb3dc4
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.3-1
bb3dc4
- Update to 3.9.3
bb3dc4
bb3dc4
* Sun Jun 02 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.2-1
bb3dc4
- Update to 3.9.2
bb3dc4
bb3dc4
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
bb3dc4
- Update to 3.8.2
bb3dc4
bb3dc4
* Mon Apr 15 2013 Richard Hughes <rhughes@redhat.com> - 3.8.1-1
bb3dc4
- Update to 3.8.1
bb3dc4
bb3dc4
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
bb3dc4
- Update to 3.8.0
bb3dc4
bb3dc4
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.92-1
bb3dc4
- Update to 3.7.92
bb3dc4
bb3dc4
* Thu Mar  7 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
bb3dc4
- Update to 3.7.91
bb3dc4
bb3dc4
* Fri Feb 22 2013 Adel Gadllah <adel.gadllah@gmail.com> - 3.7.90-2
bb3dc4
- Bump obsolete (mass rebuild bumped the gcalcool nevr)
bb3dc4
bb3dc4
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.90-1
bb3dc4
- Update to 3.7.90
bb3dc4
bb3dc4
* Wed Feb 06 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-1
bb3dc4
- Update to 3.7.5
bb3dc4
bb3dc4
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-2
bb3dc4
- Fix keyword translations in desktop file
bb3dc4
bb3dc4
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
bb3dc4
- Renamed package from gcalctool to gnome-calculator