LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File galculator.spec of Package galculator (Project X11:lxde)

# spec file for package galculator
# Copyright (c) 2013 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:           galculator
Version:        2.1
Release:        0
Summary:        A GTK 2/3 based calculator
License:        GPL-2.0+
Group:          System/GUI/GNOME
Url:            http://galculator.sourceforge.net/index.html
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRequires:  flex
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtk+-2.0)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Galculator is a GTK 2 based calculator with ordinary notation/reverse
polish notation, a formula entry mode, different number bases
(DEC, HEX, OCT, BIN) and different units of angular measure


%setup -q

%configure --enable-gtk3=no
make %{?_smp_mflags}

%suse_update_desktop_file -r %{name} GTK Utility Calculator
%find_lang %{name}




%files lang -f %{name}.lang