]> git.pld-linux.org Git - packages/qalculate-kde.git/blame - qalculate-kde.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/qalculate-kde.git] / qalculate-kde.spec
CommitLineData
779214b7 1Summary: A multi-purpose desktop calculator for GNU/Linux
236e13e8 2Summary(pl): Wielozadaniowy kalkulator dla systemu GNU/Linux
779214b7
AG
3Name: qalculate-kde
4Version: 0.9.4
5Release: 0.1
6License: GPL
7Group: Applications/Engineering
779214b7
AG
8Source0: http://dl.sourceforge.net/qalculate/%{name}-%{version}.tar.gz
9# Source0-md5: ec11bf96f181d6eb3ad1ddc430388701
ff962de2 10URL: http://qalculate.sourceforge.net/
236e13e8 11BuildRequires: cln-devel >= 1.1.0
779214b7 12BuildRequires: gettext
aed23ce9 13BuildRequires: glib2-devel >= 2.0
779214b7 14BuildRequires: kdelibs-devel
aed23ce9
JB
15BuildRequires: libqalculate-devel >= 0.9.4
16BuildRequires: libxml2-devel >= 2.0
17BuildRequires: pkgconfig
ff962de2 18BuildRequires: rpmbuild(macros) >= 1.129
779214b7 19Requires: gnuplot
aed23ce9 20Requires: libqalculate >= 0.9.4
779214b7
AG
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux.
25It is small and simple to use but with much power and versatility
26underneath. Features include customizable functions, units, arbitrary
27precision, plotting.
28
29This package provides a QT/KDE graphical interface for Qalculate!
30
31%prep
32%setup -q
33
34%build
779214b7
AG
35%configure \
36 --disable-rpath
37
38%{__make}
39
40%install
41rm -rf $RPM_BUILD_ROOT
236e13e8 42install -d $RPM_BUILD_ROOT%{_desktopdir}
779214b7
AG
43
44%{__make} install \
45 kde_htmldir=%{_kdedocdir} \
46 DESTDIR=$RPM_BUILD_ROOT
47
236e13e8
AG
48mv -f $RPM_BUILD_ROOT{%{_datadir}/applnk/Utilities,%{_desktopdir}}/qalculate_kde.desktop
49
aed23ce9 50%find_lang qalculate_kde --with-kde
779214b7
AG
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
236e13e8 55%files -f qalculate_kde.lang
779214b7 56%defattr(644,root,root,755)
aed23ce9 57%doc AUTHORS ChangeLog
779214b7
AG
58%attr(755,root,root) %{_bindir}/qalculate-kde
59%{_iconsdir}/hicolor/*/apps/*
60%{_iconsdir}/hicolor/32x32/actions/qalculate_convert.png
38283f4f 61%{_desktopdir}/*.desktop
779214b7 62%{_datadir}/apps/qalculate_kde/qalculate_kdeui.rc
This page took 0.06752 seconds and 4 git commands to generate.