source: projects/specs/trunk/m/mate-calc/mate-calc-vl.spec @ 11654

Revision 11654, 3.5 KB checked in by iwaim, 6 years ago (diff)

mate-calc 1.20.1-1

Line 
1%define major_ver 1.20
2%define ver %{major_ver}.1
3%define rel 1
4
5Summary:        Calculator for the Mate desktop environment
6Name:           mate-calc
7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
10License:        GPLv2
11Group:          Applications/Productivity
12URL:            http://mate-desktop.org/
13
14BuildRequires:  mate-common
15BuildRequires:  gtk3-devel
16BuildRequires:  libxml2-devel
17BuildRequires:  bison
18BuildRequires:  flex
19BuildRequires:  gtk-doc
20BuildRequires:  itstool
21BuildRequires:  autoconf
22BuildRequires:  automake
23
24Requires(posttrans,postun):     glib2
25Requires(post,postun):  desktop-file-utils
26
27BuildRoot:      %{_tmppath}/%{name}-%{version}-root
28
29Vendor:         Project Vine
30Distribution:   Vine Linux
31Packager:       Takemikaduchi, iwaim
32
33
34%description
35This is v5.32.0 of mate-calc, the calculator application that was previously
36in the OpenWindows Deskset of the Solaris 8 operating system.
37Sun Microsystems Inc. have kindly given me permission to release it.
38
39It incorporates a multiple precision arithmetic packages based on the work
40of Professor Richard Brent, who has also kindly given me permission to make
41it available.
42
43There 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
63find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
64find $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
74update-desktop-database %{_datadir}/applications >& /dev/null ||:
75
76%postun
77/sbin/ldconfig
78update-desktop-database %{_datadir}/applications >& /dev/null ||:
79if [ $1 -eq 0 ]; then
80  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
81fi
82
83%posttrans
84glib-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
Note: See TracBrowser for help on using the repository browser.