File speedcrunch.spec of Package speedcrunch
#
# spec file for package speedcrunch
#
# Copyright (c) 2020 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: speedcrunch
Version: 0.12
Release: 0
Summary: Calculator with history display, keyboard-oriented
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
URL: https://www.speedcrunch.org/
Source0: https://bitbucket.org/heldercorreia/speedcrunch/get/release-%{version}.0.tar.bz2#/%{name}-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: cmake(Qt5Core) >= 5.2
BuildRequires: cmake(Qt5Help) >= 5.2
BuildRequires: cmake(Qt5Widgets) >= 5.2
%description
A keyboard-oriented desktop scientific calculator which shows results in a
scrollable display.
%prep
%setup -q -n heldercorreia-speedcrunch-ea93b21f9498
%build
%cmake ../src
%cmake_build
%install
%cmake_install ../src
mkdir -p %{buildroot}%{_datadir}/metainfo
mv %{buildroot}%{_datadir}/appdata/speedcrunch.appdata.xml %{buildroot}%{_datadir}/metainfo/
%files
%license pkg/COPYING.rtf
%doc README.md doc/legacy/speedcrunch-manual.odt
%{_bindir}/speedcrunch
%{_datadir}/applications/speedcrunch.desktop
%{_datadir}/metainfo/speedcrunch.appdata.xml
%{_datadir}/pixmaps/speedcrunch.png
%changelog