1 | Summary: Calculator for the Mate desktop environment |
---|
2 | Name: mate-calc |
---|
3 | Version: 1.4.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: Applications/Productivity |
---|
8 | URL: http://mate-desktop.org/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: mate-doc-utils |
---|
12 | BuildRequires: mate-conf-devel |
---|
13 | BuildRequires: gtk2-devel |
---|
14 | BuildRequires: libxml2-devel |
---|
15 | BuildRequires: bison |
---|
16 | BuildRequires: flex |
---|
17 | BuildRequires: gtk-doc |
---|
18 | BuildRequires: autoconf |
---|
19 | BuildRequires: automake |
---|
20 | |
---|
21 | Requires(post,postun): desktop-file-utils |
---|
22 | |
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: Takemikaduchi |
---|
28 | |
---|
29 | |
---|
30 | %description |
---|
31 | This is v5.32.0 of mate-calc, the calculator application that was previously |
---|
32 | in the OpenWindows Deskset of the Solaris 8 operating system. |
---|
33 | Sun Microsystems Inc. have kindly given me permission to release it. |
---|
34 | |
---|
35 | It incorporates a multiple precision arithmetic packages based on the work |
---|
36 | of Professor Richard Brent, who has also kindly given me permission to make |
---|
37 | it available. |
---|
38 | |
---|
39 | There is a single graphics driver for Gtk2 included with this release. |
---|
40 | |
---|
41 | |
---|
42 | %prep |
---|
43 | %setup -q |
---|
44 | |
---|
45 | |
---|
46 | %build |
---|
47 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
48 | %configure \ |
---|
49 | --disable-static \ |
---|
50 | --disable-scrollkeeper |
---|
51 | |
---|
52 | %{__make} %{?_smp_mflags} |
---|
53 | |
---|
54 | |
---|
55 | %install |
---|
56 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
59 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
60 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
61 | |
---|
62 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
64 | |
---|
65 | %find_lang %{name} |
---|
66 | |
---|
67 | |
---|
68 | %clean |
---|
69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
70 | |
---|
71 | %post |
---|
72 | /sbin/ldconfig |
---|
73 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
74 | |
---|
75 | %postun |
---|
76 | /sbin/ldconfig |
---|
77 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
78 | if [ $1 -eq 0 ]; then |
---|
79 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
80 | fi |
---|
81 | |
---|
82 | %posttrans |
---|
83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
84 | |
---|
85 | |
---|
86 | %files -f %{name}.lang |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %doc COPYING ChangeLog NEWS README |
---|
89 | %{_bindir}/mate-calc |
---|
90 | %{_bindir}/mate-calc-cmd |
---|
91 | %{_bindir}/mate-calculator |
---|
92 | %{_datadir}/applications/mate-calc.desktop |
---|
93 | %{_datadir}/glib-2.0/schemas/org.mate.mate-calc.gschema.xml |
---|
94 | %{_datadir}/mate/help/mate-calc |
---|
95 | %{_datadir}/%{name} |
---|
96 | %{_mandir}/man1/mate-calc.1.gz |
---|
97 | |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
101 | - new upstream release |
---|
102 | |
---|
103 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
107 | - change category |
---|
108 | |
---|
109 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
110 | - initial build for Vine Linux |
---|
111 | |
---|