File speedcrunch.spec of Package speedcrunch

# spec file for package speedcrunch
# Copyright (c) 2012 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

Name:           speedcrunch
BuildRequires:  cmake
BuildRequires:  dos2unix
BuildRequires:  fdupes
BuildRequires:  freetype2-devel
BuildRequires:  kde4-filesystem
BuildRequires:  libpng-devel
BuildRequires:  libqt4-devel
BuildRequires:  update-desktop-files
Summary:        A calculator with history display
License:        GPL-2.0+
Group:          Productivity/Scientific/Math
Version:        0.10.1
Release:        0
%define rversion %version
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        speedcrunch-%{rversion}.tar.bz2

A calculator which shows results in a scrollable display

    Ariya Hidayat <>
    Johan Thelin <>

%setup -q -n speedcrunch-%{rversion}

cd src
%cmake_kde4 -d build

cd src/build
make DESTDIR=%{buildroot} install
%suse_update_desktop_file -c %name "SpeedCrunch" "Scientific Calculator" speedcrunch speedcrunch "Utility Calculator"
%fdupes %{buildroot}%{_datadir}/speedcrunch/books/*/

%doc  README ChangeLog COPYING

openSUSE Build Service is sponsored by