]> git.pld-linux.org Git - SPECS.git/blob - mate-calc.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / mate-calc.spec
1 Summary:        MATE Desktop calculator
2 Summary(pl.UTF-8):      Kalkulator dla środowiska MATE Desktop
3 Name:           mate-calc
4 Version:        1.24.2
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        https://pub.mate-desktop.org/releases/1.24/%{name}-%{version}.tar.xz
9 # Source0-md5:  657cd908c5b3db6a83987cc8c623bff4
10 URL:            http://mate-desktop.org/
11 BuildRequires:  autoconf >= 2.62
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  bison
14 BuildRequires:  desktop-file-utils
15 BuildRequires:  flex
16 BuildRequires:  gettext-tools >= 0.19.8
17 BuildRequires:  glib2-devel >= 1:2.50.0
18 BuildRequires:  gtk+3-devel >= 3.22
19 BuildRequires:  libtool >= 1:1.4.3
20 BuildRequires:  libxml2-devel >= 2.0
21 BuildRequires:  mate-common
22 BuildRequires:  pkgconfig
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  xz
25 BuildRequires:  yelp-tools
26 Requires:       glib2 >= 1:2.50.0
27 Requires:       gtk+3 >= 3.22
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 mate-calc is a powerful graphical calculator with financial, logical
32 and scientific modes. It uses a multiple precision package to do its
33 arithmetic to give a high degree of accuracy. mate-calc is a fork of
34 gnome-calc.
35
36 %description -l pl.UTF-8
37 mate-calc to graficzny kalkulator o bogatych możliwościach, z trybami
38 finansowym, logicznym i naukowym. Wykorzystuje pakiet wielokrotnej
39 precyzji w celu zapewnienia arytmentyki o dużym stopniu dokładności.
40 mate-calc jest odgałęzieniem programu gnome-calc.
41
42 %prep
43 %setup -q
44
45 %build
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --disable-schemas-compile \
53         --disable-silent-rules
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 desktop-file-install \
62         --remove-category="MATE" \
63         --add-category="X-Mate" \
64         --delete-original \
65         --dir=$RPM_BUILD_ROOT%{_desktopdir} \
66         $RPM_BUILD_ROOT%{_desktopdir}/*.desktop
67
68 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,ku_IQ,pms}
69 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/help/{frp,ie,ku_IQ,pms}
70
71 %find_lang %{name} --with-mate
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %glib_compile_schemas
78
79 %postun
80 %glib_compile_schemas
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README
85 %attr(755,root,root) %{_bindir}/mate-calc
86 %attr(755,root,root) %{_bindir}/mate-calc-cmd
87 %attr(755,root,root) %{_bindir}/mate-calculator
88 %{_mandir}/man1/mate-calc.1*
89 %{_mandir}/man1/mate-calc-cmd.1*
90 %{_datadir}/metainfo/mate-calc.appdata.xml
91 %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml
92 %{_desktopdir}/mate-calc.desktop
This page took 0.139884 seconds and 3 git commands to generate.