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
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