Summary: Calculator for the Mate desktop environment Name: mate-calc Version: 1.1.0 Release: 2%{?_dist_release} Source0: %{name}-%{version}.tar.xz License: GPLv2 Group: Applications/Productivity URL: https://matsusoft.com.ar/projects/mate/ BuildRequires: mate-common BuildRequires: mate-doc-utils BuildRequires: mate-conf-devel BuildRequires: gtk2-devel BuildRequires: libxml2-devel BuildRequires: bison BuildRequires: flex BuildRequires: gtk-doc BuildRequires: autoconf BuildRequires: automake Requires(post,postun): desktop-file-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %description This is v5.32.0 of mate-calc, the calculator application that was previously in the OpenWindows Deskset of the Solaris 8 operating system. Sun Microsystems Inc. have kindly given me permission to release it. It incorporates a multiple precision arithmetic packages based on the work of Professor Richard Brent, who has also kindly given me permission to make it available. There is a single graphics driver for Gtk2 included with this release. %prep %setup -q %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) %configure \ --disable-static \ --disable-scrollkeeper %{__make} %{?_smp_mflags} %install %{__rm} -rf ${RPM_BUILD_ROOT} export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %{__make} install DESTDIR=${RPM_BUILD_ROOT} unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; %find_lang %{name} %clean %{__rm} -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig update-desktop-database %{_datadir}/applications >& /dev/null ||: %postun /sbin/ldconfig update-desktop-database %{_datadir}/applications >& /dev/null ||: if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING ChangeLog NEWS README %{_bindir}/mate-calc %{_bindir}/mate-calc-cmd %{_bindir}/mate-calculator %{_datadir}/applications/mate-calc.desktop %{_datadir}/glib-2.0/schemas/org.mate.mate-calc.gschema.xml %{_datadir}/mate/help/mate-calc %{_datadir}/%{name} %{_mandir}/man1/mate-calc.1.gz %changelog * Fri Dec 23 2011 Yoji TOYODA 1.1.0-2 - change category * Fri Dec 23 2011 Yoji TOYODA 1.1.0-1 - initial build for Vine Linux