commit e17fd314d2cd057eadef915ddccde339e9e5a85f68bfb53df1b522070adf4b7d Author: Dmitry Roshchin Date: Thu Nov 10 18:09:34 2022 +0000 Accepting request 1035033 from home:polslinux:teststuff Add also the QT interface for Qalculate OBS-URL: https://build.opensuse.org/request/show/1035033 OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/qalculate-qt-4.4.0.tar.gz b/qalculate-qt-4.4.0.tar.gz new file mode 100644 index 0000000..c04d684 --- /dev/null +++ b/qalculate-qt-4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da165a8b271047cae7e971a45776e787299e471a5c15f85d42426d35cc410b20 +size 1272518 diff --git a/qalculate-qt.changes b/qalculate-qt.changes new file mode 100644 index 0000000..97a4083 --- /dev/null +++ b/qalculate-qt.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Nov 10 09:20:14 UTC 2022 - Paolo Stivanin + +- Initial OBS release. diff --git a/qalculate-qt.spec b/qalculate-qt.spec new file mode 100644 index 0000000..d2ecea8 --- /dev/null +++ b/qalculate-qt.spec @@ -0,0 +1,90 @@ +# +# spec file for package qalculate-qt +# +# Copyright (c) 2022 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-qt +Version: 4.4.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/qalculate-qt/releases/download/v%{version}/qalculate-qt-%{version}.tar.gz +BuildRequires: automake +BuildRequires: c++_compiler +BuildRequires: intltool +BuildRequires: libnghttp2-devel +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(Qt5Core) >= 5.6.0 +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: libqt5-qtbase-devel +BuildRequires: libqt5-qtbase-common-devel +BuildRequires: libqt5-linguist +BuildRequires: pkgconfig(libqalculate) >= 4.4.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 (QT, GTK+ and CLI). + +%lang_package + +%prep +%autosetup -p1 + +%build +qmake-qt5 qalculate-qt.pro +%make_build + +%install +%find_lang %{name} +%make_install + +%files +%license COPYING +%doc AUTHORS ChangeLog README TODO +%doc %{_datadir}/doc/%{name} +%{_bindir}/%{name} +%{_datadir}/metainfo/%{name}.appdata.xml +%{_datadir}/applications/%{name}.desktop +%{_mandir}/man?/%{name}.?%{ext_man} + +%{_libexecdir}/qalculate-search-provider + +%{_datadir}/dbus-1/services/io.github.Qalculate.SearchProvider.service + +%{_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