Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562438
en ru br
ALT Linux repos
4.1: 0.9.6-alt1
4.0: 0.9.5-alt1
3.0: 0.8.1.1-alt1

Group :: Office
RPM: qalculate-kde

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define shortname qalculate

Name: %shortname-kde
Version: 0.9.5
Release: alt1

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

Source: %name-%version.tar.gz

# Automatically added by buildreq on Tue Sep 20 2005

BuildRequires: fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel kde-settings kdelibs-devel libarts-devel libcln-devel libgmp-devel libjpeg-devel libpng-devel libqalculate-devel libqt3-devel libqt3-settings libstdc++-devel libxml2-devel pkgconfig xml-utils zlib-devel

%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 KDE version.

%prep
%setup -q -n %name-%version

%build

%__subst "s/\(Wl,--no-undefined\)/ -Wl,--allow-shlib-undefined \1/g" admin/acinclude.m4.in
%__subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
%__subst "s/\.la/.so/g" admin/acinclude.m4.in
%make -f admin/Makefile.common cvs ||:

%configure --disable-rpath

%__subst 's|^\(hardcode_into_libs\)=.*$|\1=no|' libtool

%make_build

%install
%make_install DESTDIR=%buildroot install

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

%find_lang --with-kde %shortname

%files -f %shortname.lang
%_bindir/%name
%_datadir/applications/kde/*
%_datadir/apps/qalculate_kde/
%_iconsdir/*/*/*/*
%_datadir/doc/HTML/en/qalculate_kde/

%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