File speedcrunch.spec of Package speedcrunch

#
# spec file for package speedcrunch
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           speedcrunch
Version:        0.11
Release:        0
Summary:        Calculator with history display, keyboard-oriented
License:        GPL-2.0+
Group:          Productivity/Scientific/Math
Url:            http://www.speedcrunch.org/
# https://github.com/speedcrunch/SpeedCrunch/archive/0.11.tar.gz
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  kde4-filesystem
BuildRequires:  libqt4-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A keyboard-oriented desktop scientific calculator which shows results in a
scrollable display.

%prep
%setup -q -n SpeedCrunch-%{version}

%build
%cmake_kde4 -d src/build
%make_jobs

%install
%kde4_makeinstall -C src/build

%files
%defattr(-,root,root,-)
%doc README.md doc/speedcrunch-manual.odt pkg/COPYING.rtf
%{_bindir}/speedcrunch
%{_datadir}/pixmaps/speedcrunch.png
%{_datadir}/applications/speedcrunch.desktop

%changelog
openSUSE Build Service is sponsored by