Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37040891
en ru br
ALT Linux repos
S:4.1.1-alt2
4.1: 0.9.6-alt1.1.qa1
4.0: 0.9.5-alt1

Group :: Office
RPM: qalculate-gtk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define shortname qalculate

Name: qalculate-gtk
Version: 0.9.6
Release: alt1.1.qa1

Summary: A very versatile desktop calculator - GTK+ version.
Group: Office
License: GPL
Url: http://qalculate.sourceforge.net
Packager: Alexey Morsov <swi at altlinux.ru>
Requires: %shortname-common

Source: %name-%version.tar.bz2

BuildRequires: gcc-c++ libcln-devel libdbus-glib libglade-devel libgmp-devel libgnome-devel
BuildRequires: libqalculate-devel = %version
BuildRequires: perl-XML-Parser scrollkeeper

%description
Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux. It is
small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, plotting,
and a graphical interface (GTK+) that uses a one-line fault-tolerant
expression entry (although it supports optional traditional buttons).
This package contains GTK+ version.

%prep
%setup

%build
%__autoreconf
%configure --disable-rpath --enable-static=no --disable-scrollkeeper
%make_build

%install
%make_install DESTDIR=%buildroot install

%__rm -f %buildroot%_bindir/qalculate
%__rm -rf %buildroot%_datadir/locale

%find_lang --with-gnome %shortname

%postun -n qalculate-gtk
%clean_menus


%post -n qalculate-gtk
%update_menus


%files -f %shortname.lang
%_bindir/%name
%_datadir/applications/*
%_datadir/gnome/help/
%_datadir/%name/glade/
%_pixmapsdir/%shortname.png


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin