1 | %define major_ver 1.20 |
---|
2 | %define ver %{major_ver}.1 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: Calculator for the Mate desktop environment |
---|
6 | Name: mate-calc |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
10 | License: GPLv2 |
---|
11 | Group: Applications/Productivity |
---|
12 | URL: http://mate-desktop.org/ |
---|
13 | |
---|
14 | BuildRequires: mate-common |
---|
15 | BuildRequires: gtk3-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, iwaim |
---|
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 | |
---|
49 | |
---|
50 | %build |
---|
51 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
52 | %configure \ |
---|
53 | --disable-static |
---|
54 | |
---|
55 | %{__make} %{?_smp_mflags} |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
60 | |
---|
61 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
62 | |
---|
63 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
64 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
65 | |
---|
66 | %find_lang %{name} |
---|
67 | |
---|
68 | |
---|
69 | %clean |
---|
70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
71 | |
---|
72 | %post |
---|
73 | /sbin/ldconfig |
---|
74 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
75 | |
---|
76 | %postun |
---|
77 | /sbin/ldconfig |
---|
78 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
79 | if [ $1 -eq 0 ]; then |
---|
80 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
81 | fi |
---|
82 | |
---|
83 | %posttrans |
---|
84 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
85 | |
---|
86 | |
---|
87 | %files -f %{name}.lang |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %doc COPYING ChangeLog NEWS README |
---|
90 | %{_bindir}/%{name} |
---|
91 | %{_bindir}/%{name}-cmd |
---|
92 | %{_bindir}/mate-calculator |
---|
93 | %{_datadir}/applications/%{name}.desktop |
---|
94 | %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml |
---|
95 | %{_datadir}/appdata/mate-calc.appdata.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 May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1 |
---|
104 | - update to 1.20.1 |
---|
105 | - drop ja.po patch (Patch1001) |
---|
106 | |
---|
107 | * Mon Jan 22 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
108 | - update to 1.18.1 |
---|
109 | - update ja.po patch (Patch1001) |
---|
110 | |
---|
111 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
112 | - update 1.18.0 |
---|
113 | - move to GTK3+ |
---|
114 | - update ja.po patch (Patch1001) |
---|
115 | - update Packager |
---|
116 | - drop BR: mate-doc-utils |
---|
117 | - add appdata file |
---|
118 | |
---|
119 | * Sun Jun 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
120 | - add Patch1001 (mate-calc-1.8.0-ja.po.patch) |
---|
121 | |
---|
122 | * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
123 | - new upstream release |
---|
124 | - add BuildRequires: itstool |
---|
125 | |
---|
126 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
127 | - rebuild with VineSeed environment |
---|
128 | |
---|
129 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
130 | - new upstream release |
---|
131 | - remove BuildRequires: mate-conf-devel |
---|
132 | |
---|
133 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
134 | - new upstream release |
---|
135 | |
---|
136 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
137 | - new upstream release |
---|
138 | |
---|
139 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
140 | - change category |
---|
141 | |
---|
142 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
143 | - initial build for Vine Linux |
---|
144 | |
---|