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: 7ad3813ecee2a67ad05702f5f176b05e
9 URL: http://mate-desktop.org/
11 BuildRequires: desktop-file-utils
13 BuildRequires: glib2-devel >= 1:2.30
14 BuildRequires: gtk+2-devel
15 BuildRequires: libxml2-devel
16 BuildRequires: mate-common
17 BuildRequires: mate-desktop-devel
18 BuildRequires: mate-doc-utils
19 Requires: glib2 >= 1:2.26.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 mate-calc is a powerful graphical calculator with financial, logical
24 and scientific modes. It uses a multiple precision package to do its
25 arithmetic to give a high degree of accuracy.
31 NOCONFIGURE=1 ./autogen.sh
33 --disable-silent-rules \
34 --disable-schemas-compile
38 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
42 desktop-file-install \
43 --remove-category="MATE" \
44 --add-category="X-Mate" \
46 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
47 $RPM_BUILD_ROOT%{_desktopdir}/*.desktop
52 rm -rf $RPM_BUILD_ROOT
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS COPYING README
63 %attr(755,root,root) %{_bindir}/mate-calc
64 %attr(755,root,root) %{_bindir}/mate-calc-cmd
65 %attr(755,root,root) %{_bindir}/mate-calculator
66 %{_mandir}/man1/mate-calc-cmd.1*
67 %{_mandir}/man1/mate-calc.1*
68 %{_desktopdir}/mate-calc.desktop
69 %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml