1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
%define ver_major 3.8 %def_without newtranslations Name: gnome-calculator Version: %ver_major.2 Release: alt1 Summary: GTK+3 based desktop calculator License: %gpl2plus Group: Sciences/Mathematics Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.xz %if_with newtranslations Source1: %name-0.4.16.ru.po.bz2 %endif Obsoletes: gcalctool <= 6.6.2 Provides: gcalctool = 6.6.2 BuildPreReq: rpm-build-licenses rpm-build-gnome # Taken from configure.in BuildPreReq: intltool yelp-tools itstool BuildPreReq: libgtk+3-devel >= 3.0.7 BuildRequires: libgio-devel >= 2.31.0 libxml2-devel vala-tools >= 0.18 %description This package provides gcalctool, the calculator application that was previously in the OpenWindows Deskset of the Solaris 8 operating system. It incorporates a multiple precision arithmetic packages based on the work of Professor Richard Brent. A single graphics driver for GTK included with this package. %prep %setup -q %if_with newtranslations bzcat %SOURCE1 po/ru.po %endif %build %configure \ --disable-schemas-compile %make_build %install %make_install DESTDIR=%buildroot install # man page install -pD -m644 data/%name.1 %buildroot%_man1dir/%name.1 %find_lang --with-gnome %name %files -f %name.lang %_bindir/* %dir %_datadir/%name %_datadir/%name/*.ui %_desktopdir/* %_man1dir/* %config %_datadir/glib-2.0/schemas/org.gnome.calculator.gschema.xml %doc NEWS %changelog * Tue May 14 2013 Yuri N. Sedunov <aris@altlinux.org> 3.8.2-alt1 - 3.8.2 * Sun Apr 14 2013 Yuri N. Sedunov <aris@altlinux.org> 3.8.1-alt1 - 3.8.1 * Tue Mar 26 2013 Yuri N. Sedunov <aris@altlinux.org> 3.8.0-alt1 - 3.8.0 * Mon Feb 25 2013 Yuri N. Sedunov <aris@altlinux.org> 3.7.90-alt1 - gcalctool -> gnome-calculator