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