mate-calc-vl.spec 2.6 KB

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