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

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

mate-calc 1.18.1-1

Line 
1%define major_ver 1.18
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
14# Vine
15Patch1001:              mate-calc-1.18.1-ja.po.patch
16
17BuildRequires:  mate-common
18BuildRequires:  gtk3-devel
19BuildRequires:  libxml2-devel
20BuildRequires:  bison
21BuildRequires:  flex
22BuildRequires:  gtk-doc
23BuildRequires:  itstool
24BuildRequires:  autoconf
25BuildRequires:  automake
26
27Requires(posttrans,postun):     glib2
28Requires(post,postun):  desktop-file-utils
29
30BuildRoot:      %{_tmppath}/%{name}-%{version}-root
31
32Vendor:         Project Vine
33Distribution:   Vine Linux
34Packager:       Takemikaduchi, iwaim
35
36
37%description
38This is v5.32.0 of mate-calc, the calculator application that was previously
39in the OpenWindows Deskset of the Solaris 8 operating system.
40Sun Microsystems Inc. have kindly given me permission to release it.
41
42It incorporates a multiple precision arithmetic packages based on the work
43of Professor Richard Brent, who has also kindly given me permission to make
44it available.
45
46There is a single graphics driver for Gtk2 included with this release.
47
48
49%prep
50%setup -q
51%patch1001 -p1 -b .vine
52
53
54%build
55(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
56%configure \
57        --disable-static
58
59%{__make} %{?_smp_mflags}
60
61
62%install
63%{__rm} -rf ${RPM_BUILD_ROOT}
64
65%{__make} install DESTDIR=${RPM_BUILD_ROOT}
66
67find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
68find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
69
70%find_lang %{name}
71
72
73%clean
74%{__rm} -rf ${RPM_BUILD_ROOT}
75
76%post
77/sbin/ldconfig
78update-desktop-database %{_datadir}/applications >& /dev/null ||:
79
80%postun
81/sbin/ldconfig
82update-desktop-database %{_datadir}/applications >& /dev/null ||:
83if [ $1 -eq 0 ]; then
84  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
85fi
86
87%posttrans
88glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
89
90
91%files -f %{name}.lang
92%defattr(-,root,root,-)
93%doc COPYING ChangeLog NEWS README
94%{_bindir}/%{name}
95%{_bindir}/%{name}-cmd
96%{_bindir}/mate-calculator
97%{_datadir}/applications/%{name}.desktop
98%{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml
99%{_datadir}/appdata/mate-calc.appdata.xml
100%{_datadir}/%{name}
101%{_datadir}/help/*
102%{_mandir}/man1/%{name}.1.gz
103%{_mandir}/man1/%{name}-cmd.1.gz
104
105
106%changelog
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.