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