Name: gnome-calculator Version: 3.22.1 Release: 1%{?dist} Summary: A desktop calculator License: GPLv3+ URL: https://wiki.gnome.org/Apps/Calculator #VCS: git:git://git.gnome.org/gcalctool Source0: https://download.gnome.org/sources/%{name}/3.22/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool BuildRequires: itstool BuildRequires: libsoup-devel BuildRequires: mpfr-devel BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: /usr/bin/appstream-util Provides: gcalctool = 6.6.2-3 Obsoletes: gcalctool < 6.6.2-3 %description gnome-calculator is a powerful graphical calculator with financial, logical and scientific modes. It uses a multiple precision package to do its arithmetic to give a high degree of accuracy. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install %make_install find %{buildroot} -name '*.la' -delete %find_lang %{name} --with-gnome --all-name %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/gnome-calculator.appdata.xml desktop-file-validate %{buildroot}/%{_datadir}/applications/gnome-calculator.desktop %postun if [ $1 -eq 0 ] ; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files -f %{name}.lang %doc NEWS %license COPYING %{_bindir}/gcalccmd %{_bindir}/gnome-calculator %{_libdir}/gnome-calculator/ %{_libexecdir}/gnome-calculator-search-provider %{_datadir}/appdata/gnome-calculator.appdata.xml %{_datadir}/applications/gnome-calculator.desktop %{_datadir}/dbus-1/services/org.gnome.Calculator.SearchProvider.service %{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml %{_datadir}/gnome-shell/ %{_mandir}/man1/gnome-calculator.1* %{_mandir}/man1/gcalccmd.1* %changelog * Wed Oct 12 2016 Kalev Lember - 3.22.1-1 - Update to 3.22.1 - Don't set group tags * Tue Sep 20 2016 Kalev Lember - 3.22.0-1 - Update to 3.22.0 * Tue Sep 13 2016 Kalev Lember - 3.21.92-1 - Update to 3.21.92 * Thu Aug 18 2016 Kalev Lember - 3.21.90-1 - Update to 3.21.90 * Wed Jun 22 2016 Richard Hughes - 3.21.2-1 - Update to 3.21.2 * Sun May 08 2016 Kalev Lember - 3.20.1-1 - Update to 3.20.1 * Tue Mar 22 2016 Kalev Lember - 3.20.0-1 - Update to 3.20.0 * Tue Mar 01 2016 Richard Hughes - 3.19.91-1 - Update to 3.19.91 * Tue Feb 16 2016 Richard Hughes - 3.19.90-1 - Update to 3.19.90 * Wed Feb 03 2016 Fedora Release Engineering - 3.19.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 20 2016 Kalev Lember - 3.19.4-1 - Update to 3.19.4 * Wed Nov 25 2015 Kalev Lember - 3.19.2-1 - Update to 3.19.2 * Wed Oct 28 2015 Kalev Lember - 3.19.1-1 - Update to 3.19.1 * Mon Oct 12 2015 Kalev Lember - 3.18.1-1 - Update to 3.18.1 * Sun Sep 20 2015 Kalev Lember - 3.18.0-1 - Update to 3.18.0 - Use make_install macro * Mon Sep 14 2015 Kalev Lember - 3.17.92-1 - Update to 3.17.92 * Sun Jun 21 2015 David King - 3.17.3-1 - Update to 3.17.3 - Use license macro for COPYING * Wed Jun 17 2015 Fedora Release Engineering - 3.17.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun May 31 2015 Kalev Lember - 3.17.2-1 - Update to 3.17.2 * Mon Mar 23 2015 Kalev Lember - 3.16.0-1 - Update to 3.16.0 * Tue Mar 03 2015 Kalev Lember - 3.15.91-1 - Update to 3.15.91 * Mon Feb 16 2015 Michael Catanzaro - 3.15.4-1 - Update license tag to GPLv3+ * Fri Jan 23 2015 David King - 3.15.4-1 - Update to 3.15.4 - Update URL - Update man page globs in files section - Use pkgconfig for BuildRequires - Remove obsolete glib2 dependencies for GSettings schema - Validate AppData in check - Preserve timestamps during install * Fri Dec 19 2014 Richard Hughes - 3.15.1-1 - Update to 3.15.1 * Sun Oct 26 2014 Kalev Lember - 3.14.1-1 - Update to 3.14.1 * Mon Sep 22 2014 Kalev Lember - 3.14.0-1 - Update to 3.14.0 * Tue Sep 16 2014 Kalev Lember - 3.13.92-1 - Update to 3.13.92 * Tue Aug 19 2014 Kalev Lember - 3.13.90-1 - Update to 3.13.90 * Sat Aug 16 2014 Fedora Release Engineering - 3.13.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Thu Jul 17 2014 Kalev Lember - 3.13.3-1 - Update to 3.13.3 - Drop an upstreamed patch - Include new gnome-shell search provider * Sat Jun 07 2014 Fedora Release Engineering - 3.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 3.13.2-1 - Update to 3.13.2 * Thu Apr 10 2014 Kalev Lember - 3.12.1-1 - Update to 3.12.1 * Mon Mar 24 2014 Richard Hughes - 3.12.0-1 - Update to 3.12.0 * Tue Mar 18 2014 Richard Hughes - 3.11.92-1 - Update to 3.11.92 * Sat Mar 08 2014 Richard Hughes - 3.11.91-1 - Update to 3.11.91 * Tue Feb 18 2014 Richard Hughes - 3.11.90-1 - Update to 3.11.90 * Tue Feb 04 2014 Richard Hughes - 3.11.5-1 - Update to 3.11.5 * Wed Jan 15 2014 Richard Hughes - 3.11.4-1 - Update to 3.11.4 * Tue Dec 17 2013 Richard Hughes - 3.11.3-1 - Update to 3.11.3 * Thu Nov 14 2013 Richard Hughes - 3.10.2-1 - Update to 3.10.2 * Mon Oct 28 2013 Richard Hughes - 3.10.1-1 - Update to 3.10.1 * Wed Sep 25 2013 Kalev Lember - 3.10.0-1 - Update to 3.10.0 * Wed Sep 18 2013 Kalev Lember - 3.9.92-1 - Update to 3.9.92 - Include the appdata file * Wed Aug 28 2013 Kalev Lember - 3.9.90-1 - Update to 3.9.90 * Sat Aug 03 2013 Fedora Release Engineering - 3.9.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 16 2013 Richard Hughes - 3.9.4-1 - Update to 3.9.4 * Fri Jun 21 2013 Kalev Lember - 3.9.3-1 - Update to 3.9.3 * Sun Jun 02 2013 Kalev Lember - 3.9.2-1 - Update to 3.9.2 * Tue May 14 2013 Richard Hughes - 3.8.2-1 - Update to 3.8.2 * Mon Apr 15 2013 Richard Hughes - 3.8.1-1 - Update to 3.8.1 * Tue Mar 26 2013 Kalev Lember - 3.8.0-1 - Update to 3.8.0 * Wed Mar 20 2013 Kalev Lember - 3.7.92-1 - Update to 3.7.92 * Thu Mar 7 2013 Matthias Clasen - 3.7.91-1 - Update to 3.7.91 * Fri Feb 22 2013 Adel Gadllah - 3.7.90-2 - Bump obsolete (mass rebuild bumped the gcalcool nevr) * Thu Feb 21 2013 Kalev Lember - 3.7.90-1 - Update to 3.7.90 * Wed Feb 06 2013 Kalev Lember - 3.7.5-1 - Update to 3.7.5 * Wed Jan 16 2013 Matthias Clasen - 3.7.4-2 - Fix keyword translations in desktop file * Wed Jan 16 2013 Matthias Clasen - 3.7.4-1 - Renamed package from gcalctool to gnome-calculator