From 96e3e752b9ab293f4fab8949e843760a492fba7bd033140ac1056258c7885ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 4 Oct 2019 15:38:25 +0000 Subject: [PATCH] Accepting request 735033 from GNOME:Next Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/735033 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calculator?expand=0&rev=104 --- gnome-calculator-3.32.2.tar.xz | 3 --- gnome-calculator-3.34.0.tar.xz | 3 +++ gnome-calculator.changes | 42 +++++++++++++++++++++++++++++++++ gnome-calculator.spec | 43 ++++++++++++++++++++++++++++++++-- 4 files changed, 86 insertions(+), 5 deletions(-) delete mode 100644 gnome-calculator-3.32.2.tar.xz create mode 100644 gnome-calculator-3.34.0.tar.xz diff --git a/gnome-calculator-3.32.2.tar.xz b/gnome-calculator-3.32.2.tar.xz deleted file mode 100644 index 1992bed..0000000 --- a/gnome-calculator-3.32.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:815c2327f35a263b857aa918f6ce00c91897e7cc6546f8af4bda08c1f4b0f739 -size 947096 diff --git a/gnome-calculator-3.34.0.tar.xz b/gnome-calculator-3.34.0.tar.xz new file mode 100644 index 0000000..11d3f8e --- /dev/null +++ b/gnome-calculator-3.34.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b90d2b1409c6048ddbef42e59ce54bcb7b49bc086339ab510f10ebf5a6bf23f +size 964864 diff --git a/gnome-calculator.changes b/gnome-calculator.changes index cdbaac6..6cc5a68 100644 --- a/gnome-calculator.changes +++ b/gnome-calculator.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Tue Sep 10 10:15:35 CST 2019 - qkzhu@suse.com + +- Update to version 3.34.0: + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 2 19:20:17 UTC 2019 - Bjørn Lie + +- Update to version 3.33.92: + + README updates. + + Updated translations. +- Changes from version 3.33.90: + + Flatpak build cleanup. + + Debug messages cleanup. + + Updated translations. +- Changes from version 3.33.3: + + calculator library build fixes. + + CI build fixes. + + Added mnemonics for primary menu items. + + Dropped leading zeros octal prefix. + + Updated translations. +- Changes from version 3.33.2: + + Separated calculator library. + + Ensure icon is available for shell. + + Support entering left/right shift with keyboard. + + Fixed CFA conversion rate. + + Remove copy icon from search provider results. + + Do not assume octal base for binary numbers. + + Show thousands separator in unit converter. + + Use currency name instead of display name for conversion. + + Quit warns and closes all windows. + + Avoid normalizing the equation twice in search. + + Ignore keypresses while calculating results. + + Only allow one decimal point in numbers. + + Application icon updated in help. + + Updated translations. +- Add pkgconfig(gee-0.8) BuildRequires: New dependency. +- Package new sub-packages gnome-calculator-devel and libgcalc-1. + Also handle shared library in post(un), and set needed Requires + in devel package. + ------------------------------------------------------------------- Wed Jun 26 10:00:39 UTC 2019 - Bjørn Lie diff --git a/gnome-calculator.spec b/gnome-calculator.spec index 28bc00d..2bce817 100644 --- a/gnome-calculator.spec +++ b/gnome-calculator.spec @@ -16,14 +16,16 @@ # +%define sover 1-0_0_0 + Name: gnome-calculator -Version: 3.32.2 +Version: 3.34.0 Release: 0 Summary: A GNOME Calculator Application License: GPL-3.0-or-later Group: Productivity/Scientific/Math URL: https://wiki.gnome.org/Apps/Calculator -Source0: https://download.gnome.org/sources/gnome-calculator/3.32/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gnome-calculator/3.34/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: meson @@ -33,6 +35,7 @@ BuildRequires: pkgconfig BuildRequires: translation-update-upstream BuildRequires: vala BuildRequires: yelp-tools +BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-2.0) >= 2.40 BuildRequires: pkgconfig(glib-2.0) >= 2.40 BuildRequires: pkgconfig(gmodule-export-2.0) @@ -55,6 +58,23 @@ Supplements: packageand(gnome-shell:%{name}) This package contains a search provider to enable GNOME Shell to get search results from GNOME Calculator. +%package -n libgcalc-%{sover} +Summary: Shared library for %{name} +Group: System/Libraries + +%description -n libgcalc-%{sover} +This package contains the shared library for %{name}. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/GNOME +Requires: %{name} = %{version} +Requires: libgcalc-%{sover} = %{version} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + %lang_package %prep @@ -73,6 +93,9 @@ translation-update-upstream %check %meson_test +%post -n libgcalc-%{sover} -p /sbin/ldconfig +%postun -n libgcalc-%{sover} -p /sbin/ldconfig + %files %license COPYING %doc NEWS @@ -93,6 +116,22 @@ translation-update-upstream %{_datadir}/gnome-shell/search-providers/org.gnome.Calculator-search-provider.ini %{_libexecdir}/gnome-calculator-search-provider +%files -n libgcalc-%{sover} +%{_libdir}/libgcalc-1.so.* + +%files devel +%dir %{_includedir}/gcalc-1 +%dir %{_includedir}/gcalc-1/gcalc +%{_includedir}/gcalc-1/gcalc/gcalc.h +%{_libdir}/libgcalc-1.so +%{_libdir}/pkgconfig/gcalc-1.pc +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/GCalc-1.gir +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/gcalc-1.deps +%{_datadir}/vala/vapi/gcalc-1.vapi + %files lang -f %{name}.lang %changelog