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

Revision 6679, 2.6 KB checked in by Takemikaduchi, 12 years ago (diff)

MATE-1.4.0

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