Accepting request 583552 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/583552
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calculator?expand=0&rev=86
This commit is contained in:
Dominique Leuenberger 2018-03-09 10:03:21 +00:00 committed by Git OBS Bridge
parent b2a56a2ed2
commit 2f46e38656
4 changed files with 117 additions and 50 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62215b37fcd73a6bbb106ebd0f25051c81ff0cf6ad84fd4a3ea176bceb5863c7
size 1716484

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc1bb4ca953edc443d23d8dacf90a782f28d3bc59e77bfa3e38b47f0984c1386
size 1834140

View File

@ -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

View File

@ -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