]> git.pld-linux.org Git - packages/kde4-kcalc.git/blob - kde4-kcalc.spec
- up to 4.10.5
[packages/kde4-kcalc.git] / kde4-kcalc.spec
1 #
2 %define         _state          stable
3 %define         orgname         kcalc
4 %define         qtver           4.8.3
5
6 Summary:        K Desktop Environment - KDE calculator
7 Name:           kde4-kcalc
8 Version:        4.10.5
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications
12 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5:  172cda97f8587c3ea69f5e9731d23223
14 URL:            http://www.kde.org/
15 BuildRequires:  automoc4 >= 0.9.88
16 BuildRequires:  cmake >= 2.8.0
17 BuildRequires:  docbook-dtd42-xml
18 BuildRequires:  docbook-style-xsl
19 BuildRequires:  gmp-devel
20 BuildRequires:  kde4-kdebase-devel >= %{version}
21 BuildRequires:  qt4-build >= %{qtver}
22 BuildRequires:  qt4-qmake >= %{qtver}
23 Requires:       kde4-kdebase-workspace >= %{version}
24 Obsoletes:      kcalc
25 Obsoletes:      kde4-kdeutils-kcalc
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Calculator for KDE.
30
31 %prep
32 %setup -q -n %{orgname}-%{version}
33
34 %build
35 install -d build
36 cd build
37 %cmake \
38         ..
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} -C build/ install \
45         DESTDIR=$RPM_BUILD_ROOT \
46         kde_htmldir=%{_kdedocdir}
47
48 %find_lang %{orgname} --with-kde
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files -f %{orgname}.lang
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/kcalc
56 %attr(755,root,root) %{_libdir}/libkdeinit4_kcalc.so
57 %{_datadir}/apps/kcalc
58 %{_datadir}/apps/kconf_update/kcalcrc.upd
59 %{_datadir}/config.kcfg/kcalc.kcfg
60 %{_desktopdir}/kde4/kcalc.desktop
This page took 0.050656 seconds and 3 git commands to generate.