mate-calc-vl.spec 2.9 KB

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