mate-calc-vl.spec 3.1 KB

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