diff --git a/gnome-calculator-3.26.0.tar.xz b/gnome-calculator-3.26.0.tar.xz deleted file mode 100644 index be845e9..0000000 --- a/gnome-calculator-3.26.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62215b37fcd73a6bbb106ebd0f25051c81ff0cf6ad84fd4a3ea176bceb5863c7 -size 1716484 diff --git a/gnome-calculator-3.27.92.tar.xz b/gnome-calculator-3.27.92.tar.xz new file mode 100644 index 0000000..d709d9a --- /dev/null +++ b/gnome-calculator-3.27.92.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc1bb4ca953edc443d23d8dacf90a782f28d3bc59e77bfa3e38b47f0984c1386 +size 1834140 diff --git a/gnome-calculator.changes b/gnome-calculator.changes index f25276c..2c39106 100644 --- a/gnome-calculator.changes +++ b/gnome-calculator.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Wed Feb 28 23:02:52 UTC 2018 - luc14n0@linuxmail.org + +- Update to 3.27.92: + + Fixed icon sizes (bgo#793263). + + Calculator display black box fixes (bgo#793157). + + Updated translations. +- Update URL tag to https://wiki.gnome.org/Apps/Calculator: the + current Calculator's web page. +- Drop libtool, intltool and appstream-glib-devel BuildRequires + and add meson; replace configure/make/make_install macros by + meson equivalents meson/meson_build/meson_install. All of these + changes reflect the upstream port to Meson build system and the + improvements made to turn it reliable or at least buildable. +- Add glib-2.0 and gmodule-export-2.0 pkgconfig modules + BuildRequires to avoid implicit dependencies. +- Drop glib2_gsettings_schema_requires macro: it is no longer + required since RPM file triggers. +- Drop update-desktop-files BuildRequires and its macro: they are + no longer needed anymore. +- Point fdupes to the data directory rather than directly to the + buildroot, which is a practice that must be avoided. + +------------------------------------------------------------------- +Wed Feb 28 16:27:25 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Tue Feb 6 11:31:49 UTC 2018 - dimstar@opensuse.org + +- Update to version 3.27.90: + + Changed clear symbolic icon with C (bgo#792844). + + Made the calculator window resizable (bgo#756920). + + Sane required width for history view (bgo#788395). + + Support for gcalccmd command-line arguments (bgo#788872). + + Ellipsize equation in search provider instead of result + (bgo#759876). + + Avoid scrollbar overlapping equation (bgo#770246). + + Return with failure in case of precision error (bgo#749336). + + Added bried explanation of functions (bgo#748897). + + Changed overflow error message (bgo#745708). + + Added keyboard shortcut to clear history (bgo#792814). + + Added meson build files (bgo#783062). + + Deprecated calls replaced. + + Rename icon directive in flatpak to have icon on flathub. + + Check the locale before using it (bgo##793098). + + Fixed black rectangle on equation entry scrolling (bgo#793157). + + Updated translations. +- Add libtool,intltool, appstream-glib-devel and vala + BuildRequires: since upstream introduced also the meson build + system, the tarball is no longer bootstrapped. Build using meson + though is not working to our satisfaction yet. + +------------------------------------------------------------------- +Tue Nov 14 08:05:53 UTC 2017 - fezhang@suse.com + +- Update to version 3.27.2: + + Fix cosh and sinh buttons (bgo#788409). + + Ship app icon with Calculator. + + Added stone unit (bgo#789333). + + Replaced ln button with log2 in programming mode (bgo#789152). + + Use _ instead of ans for last result (bgo#785107). + + Fixed critical warning after first operation (bgo#785108). + + Updated translations. + ------------------------------------------------------------------- Thu Nov 2 08:55:00 UTC 2017 - badshah400@gmail.com @@ -992,7 +1058,7 @@ Tue Feb 22 18:05:21 UTC 2011 - fcrozat@novell.com + Make the numeric keypad produce numbers even when numlock is on - Changes from version 5.91.4: + Use new Indian Rupee sign (bgo#636587) - + Use currency rates from the IMF as well as the ECB to add + + Use currency rates from the IMF as well as the ECB to add 24 new rates: AED, BHD, BND, BWP, CLP, COP, DZD, ILS, IRR, KWD, KZT, LKR, LYD, MUR, NPR, OMR, PEN, PKR, QAR, SAR, TND, TTD, UYU, VEF @@ -1412,7 +1478,7 @@ Wed Mar 4 00:09:17 WET 2009 - lmedinas@gmail.com - Update to version 5.25.92: + Fixed bgo#572881 - Restore number display mode (FIX/SCI/ENG) on startup - + Fixed bgo#527540 - Fix rounding errors in integer power + + Fixed bgo#527540 - Fix rounding errors in integer power calculations + Fixed bgo#571007 - Fix error in cosine/tangent calculations + Translation updates @@ -1519,7 +1585,7 @@ Mon Oct 20 16:50:24 EST 2008 - mboman@suse.de Wed Oct 1 08:21:13 WST 2008 - mboman@suse.de - Update to version 5.24.0: - + Translation updates + + Translation updates ------------------------------------------------------------------- Fri Sep 12 00:59:02 CDT 2008 - maw@suse.de @@ -1601,7 +1667,7 @@ Thu Apr 10 18:33:24 CEST 2008 - sbrabec@suse.cz ------------------------------------------------------------------- Tue Mar 25 12:46:10 CET 2008 - rodrigo@suse.de -- Tag patches and made them follow naming conventions +- Tag patches and made them follow naming conventions ------------------------------------------------------------------- Tue Mar 11 21:56:43 CET 2008 - vuntz@suse.de @@ -1736,14 +1802,14 @@ Sat Sep 30 13:10:20 CEST 2006 - aj@suse.de Thu Sep 14 01:54:12 CEST 2006 - jhargadon@suse.de - update to version 5.8.24 -- Released a gcalctool tarball for GNOME 2.16.0 (Final) +- Released a gcalctool tarball for GNOME 2.16.0 (Final) ------------------------------------------------------------------- Wed Aug 30 23:40:19 CEST 2006 - jhargadon@suse.de - update to version 5.8.23 - Removed several chunks of code that were surronded by #if 0/#endif -- Fixed bug #350341 gcalctool now builds again with gcc v2.95 +- Fixed bug #350341 gcalctool now builds again with gcc v2.95 ------------------------------------------------------------------- Mon Aug 21 21:54:23 CEST 2006 - jhargadon@suse.de @@ -1865,7 +1931,7 @@ Wed Jan 25 15:00:44 CET 2006 - sbrabec@suse.cz ------------------------------------------------------------------- Wed Nov 2 22:13:11 CET 2005 - dmueller@suse.de -- don't build as root +- don't build as root ------------------------------------------------------------------- Mon Sep 5 08:38:54 CEST 2005 - rodrigo@suse.de @@ -1885,37 +1951,37 @@ Mon Aug 8 17:36:03 CEST 2005 - rodrigo@suse.de ------------------------------------------------------------------- Tue Aug 2 03:12:19 CEST 2005 - gekker@suse.de -- Update to version 5.6.25 +- Update to version 5.6.25 ------------------------------------------------------------------- Fri Jul 22 17:12:26 CEST 2005 - gekker@suse.de -- Update to version 5.6.21 +- Update to version 5.6.21 ------------------------------------------------------------------- Fri Jun 17 23:35:36 CEST 2005 - gekker@suse.de -- Update to version 5.6.14 +- Update to version 5.6.14 ------------------------------------------------------------------- Wed Mar 9 18:08:33 CET 2005 - gekker@suse.de -- Update to version 5.5.41 (GNOME 2.10). +- Update to version 5.5.41 (GNOME 2.10). ------------------------------------------------------------------- Thu Mar 3 00:34:36 CET 2005 - gekker@suse.de -- Update to version 5.5.40 +- Update to version 5.5.40 ------------------------------------------------------------------- Thu Feb 10 23:24:44 CET 2005 - gekker@suse.de -- Update to version 5.5.34 +- Update to version 5.5.34 ------------------------------------------------------------------- Sat Feb 5 22:35:48 CET 2005 - gekker@suse.de -- Update to version 5.5.29 +- Update to version 5.5.29 ------------------------------------------------------------------- Tue Feb 1 15:27:25 CET 2005 - sbrabec@suse.cz @@ -1929,7 +1995,7 @@ Tue Jan 4 23:21:19 CET 2005 - gekker@suse.de - Update to version 5.5.9 - Remove decimal.patch (upstreamed). - Fixed patch for ximian bugs mentioned below (mostly upstreamed). -- Added gnome-icon-theme to neededforbuild, now required. +- Added gnome-icon-theme to neededforbuild, now required. ------------------------------------------------------------------- Fri Nov 19 12:35:15 CET 2004 - ro@suse.de @@ -1949,7 +2015,7 @@ Wed Aug 25 07:54:06 CEST 2004 - clahey@suse.de ------------------------------------------------------------------- Tue Jun 22 12:24:48 CEST 2004 - sagarwala@suse.de -- Added patch for the following bugs in ximian bugzilla #59753, #59377 and #59378 +- Added patch for the following bugs in ximian bugzilla #59753, #59377 and #59378 ------------------------------------------------------------------- Thu May 27 11:50:51 CEST 2004 - sbrabec@suse.cz @@ -1981,12 +2047,12 @@ Thu Feb 19 13:21:12 CET 2004 - sbrabec@suse.cz ------------------------------------------------------------------- Thu Feb 12 10:02:11 CET 2004 - hhetter@suse.de -- gconf schema (de-)installation in %post and %postun +- gconf schema (de-)installation in %post and %postun ------------------------------------------------------------------- Mon Feb 9 10:16:08 CET 2004 - hhetter@suse.de -- updated to version 4.3.16 [GNOME2.4.2] +- updated to version 4.3.16 [GNOME2.4.2] ------------------------------------------------------------------- Thu Oct 09 11:55:47 CEST 2003 - sbrabec@suse.cz diff --git a/gnome-calculator.spec b/gnome-calculator.spec index 540b646..85951f9 100644 --- a/gnome-calculator.spec +++ b/gnome-calculator.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-calculator # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,30 +17,33 @@ Name: gnome-calculator -Version: 3.26.0 +Version: 3.27.92 Release: 0 Summary: A GNOME Calculator Application -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Scientific/Math -Url: http://www.gnome.org -Source: http://download.gnome.org/sources/gnome-calculator/3.26/%{name}-%{version}.tar.xz +URL: https://wiki.gnome.org/Apps/Calculator +Source: http://download.gnome.org/sources/gnome-calculator/3.27/%{name}-%{version}.tar.xz BuildRequires: fdupes +BuildRequires: meson BuildRequires: mpc-devel BuildRequires: mpfr-devel -%if !0%{?is_opensuse} -BuildRequires: translation-update-upstream -%endif +BuildRequires: pkgconfig BuildRequires: update-desktop-files +BuildRequires: vala BuildRequires: yelp-tools BuildRequires: pkgconfig(gio-2.0) >= 2.40 -BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.40 +BuildRequires: pkgconfig(gmodule-export-2.0) +BuildRequires: pkgconfig(gobject-2.0) >= 2.40 BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.3 BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.15.1 BuildRequires: pkgconfig(libsoup-2.4) >= 2.42 BuildRequires: pkgconfig(libxml-2.0) Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%glib2_gsettings_schema_requires +%if !0%{?is_opensuse} +BuildRequires: translation-update-upstream +%endif %description A GNOME calculator package based on calctool and MP library. @@ -48,14 +51,15 @@ A GNOME calculator package based on calctool and MP library. %package -n gnome-shell-search-provider-gnome-calculator Summary: GNOME Calculator -- Search Provider for GNOME Shell Group: Productivity/Scientific/Math -Supplements: packageand(gnome-shell:%{name}) Requires: %{name} = %{version} +Supplements: packageand(gnome-shell:%{name}) %description -n gnome-shell-search-provider-gnome-calculator This package contains a search provider to enable GNOME Shell to get search results from GNOME Calculator. %lang_package + %prep %setup -q %if !0%{?is_opensuse} @@ -63,32 +67,29 @@ translation-update-upstream %endif %build -%configure \ - --disable-static -make %{?_smp_mflags} +%meson +%meson_build %install -%make_install -find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print -%suse_update_desktop_file org.gnome.Calculator +%meson_install %find_lang %{name} %{?no_lang_C} -%fdupes %{buildroot} +%fdupes %{buildroot}%{_datadir} %files -%defattr(-,root,root) -%doc COPYING NEWS +%license COPYING +%doc NEWS %doc %{_datadir}/help/C/%{name} -%{_bindir}/* -%dir %{_datadir}/appdata -%{_datadir}/appdata/org.gnome.Calculator.appdata.xml -%{_datadir}/applications/*.desktop +%{_bindir}/gnome-calculator +%{_bindir}/gcalccmd +%{_datadir}/metainfo/org.gnome.Calculator.appdata.xml +%{_datadir}/applications/org.gnome.Calculator.desktop %{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml -%dir %{_libdir}/gnome-calculator/ -%{_libdir}/gnome-calculator/libcalculator.so -%doc %{_mandir}/man?/*.* +%{_datadir}/icons/hicolor/*/apps/gnome-calculator.png +%{_datadir}/icons/hicolor/scalable/apps/gnome-calculator-symbolic.svg +%{_mandir}/man1/gnome-calculator.1%{?ext_man} +%{_mandir}/man1/gcalccmd.1%{?ext_man} %files -n gnome-shell-search-provider-gnome-calculator -%defattr (-, root, root) %{_datadir}/dbus-1/services/org.gnome.Calculator.SearchProvider.service %dir %{_datadir}/gnome-shell %dir %{_datadir}/gnome-shell/search-providers