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

Revision 8359, 2.9 KB checked in by Takemikaduchi, 10 years ago (diff)

MATE-1.8.0

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