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