1
0
forked from pool/qalculate-gtk
qalculate-gtk/qalculate-gtk.spec
Atri Bhattacharya ad1f68bed4 Accepting request 883505 from home:polslinux:branches:science
- Update to 3.18.0:
  * Save chain mode setting (GUI)
  * Handle SIGTERM signal (GUI)
  * System tray improvements (GUI)
  * Add convert to mixed units to result context menu (GUI)
  * Redesigned expression, status, and result widgets (GUI)
  * Chain mode (GUI) and syntax (e.g. 1+2*3=(1+2)*3=6)
  * Configurable calculate-as-you-type add to history delay (GUI)
  * Option to use a system tray icon (hides the application when
    the main window is closed) on Windows (GUI)
  * Improved completion (GUI)
  * Support for qalc commands in GUI (expression is interpreted
    as command if it begins with '/')
  * Use arrow instead of "to" by default (GUI)

OBS-URL: https://build.opensuse.org/request/show/883505
OBS-URL: https://build.opensuse.org/package/show/science/qalculate-gtk?expand=0&rev=15
2021-04-09 10:04:45 +00:00

89 lines
3.1 KiB
RPMSpec

#
# spec file for package qalculate-gtk
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: qalculate-gtk
Version: 3.18.0
Release: 0
Summary: Multi-purpose cross-platform desktop calculator
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
URL: https://qalculate.github.io
Source0: https://github.com/Qalculate/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: automake
BuildRequires: c++_compiler
BuildRequires: intltool
BuildRequires: libnghttp2-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.4
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12
BuildRequires: pkgconfig(libqalculate) >= 3.18.0
BuildRequires: pkgconfig(libxml-2.0)
%description
Qalculate! is a multi-purpose cross-platform desktop calculator. It is
simple to use but provides power and versatility normally reserved for
complicated math packages, as well as useful tools for everyday needs
(such as currency conversion and percent calculation). Features include a
large library of customizable functions, unit calculations and conversion,
symbolic calculations (including integrals and equations), arbitrary
precision, uncertainty propagation, interval arithmetic, plotting, and a
user-friendly interface (GTK+ and CLI).
%lang_package
%prep
%autosetup -p1
%build
NOCONFIGURE=1 ./autogen.sh
%configure
%make_build
%install
%make_install
%find_lang %{name}
%files
%doc AUTHORS ChangeLog README TODO
%doc %{_datadir}/doc/%{name}
%{_bindir}/%{name}
%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%license COPYING
%{_mandir}/man?/%{name}.?%{ext_man}
%{_libdir}/qalculate-search-provider
%{_datadir}/dbus-1/services/io.github.Qalculate.SearchProvider.service
%dir %{_datadir}/gnome-shell/
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/io.github.Qalculate.search-provider.ini
%{_datadir}/icons/hicolor/128x128/apps/qalculate.png
%{_datadir}/icons/hicolor/16x16/apps/qalculate.png
%{_datadir}/icons/hicolor/22x22/apps/qalculate.png
%{_datadir}/icons/hicolor/24x24/apps/qalculate.png
%{_datadir}/icons/hicolor/256x256/apps/qalculate.png
%{_datadir}/icons/hicolor/32x32/apps/qalculate.png
%{_datadir}/icons/hicolor/48x48/apps/qalculate.png
%{_datadir}/icons/hicolor/64x64/apps/qalculate.png
%{_datadir}/icons/hicolor/scalable/apps/qalculate.svg
%files lang -f %{name}.lang
%changelog