1 Summary: MATE Desktop calculator
6 Group: X11/Applications
7 Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
8 # Source0-md5: 6a0082fcccc4fbc3e2bf8631e9131447
9 URL: http://mate-desktop.org/
11 BuildRequires: desktop-file-utils
13 BuildRequires: gtk+2-devel
14 BuildRequires: libxml2-devel
15 BuildRequires: mate-common
16 BuildRequires: mate-desktop-devel
17 BuildRequires: mate-doc-utils
18 Requires: glib2 >= 1:2.26.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 mate-calc is a powerful graphical calculator with financial, logical
23 and scientific modes. It uses a multiple precision package to do its
24 arithmetic to give a high degree of accuracy.
30 NOCONFIGURE=1 ./autogen.sh
32 --disable-schemas-compile
37 rm -rf $RPM_BUILD_ROOT
39 DESTDIR=$RPM_BUILD_ROOT
41 desktop-file-install \
42 --remove-category="MATE" \
43 --add-category="X-Mate" \
45 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
46 $RPM_BUILD_ROOT%{_desktopdir}/*.desktop
51 rm -rf $RPM_BUILD_ROOT
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS COPYING README
62 %attr(755,root,root) %{_bindir}/mate-calc
63 %attr(755,root,root) %{_bindir}/mate-calc-cmd
64 %attr(755,root,root) %{_bindir}/mate-calculator
65 %{_mandir}/man1/mate-calc-cmd.1*
66 %{_mandir}/man1/mate-calc.1*
67 %{_desktopdir}/mate-calc.desktop
68 %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml