mate-calc-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: Calculator for the Mate desktop environment
  2. Name: mate-calc
  3. Version: 1.6.0
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{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: autoconf
  17. BuildRequires: automake
  18. Requires(posttrans,postun): glib2
  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. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %post
  48. /sbin/ldconfig
  49. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  50. %postun
  51. /sbin/ldconfig
  52. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  53. if [ $1 -eq 0 ]; then
  54. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  55. fi
  56. %posttrans
  57. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc COPYING ChangeLog NEWS README
  61. %{_bindir}/mate-calc
  62. %{_bindir}/mate-calc-cmd
  63. %{_bindir}/mate-calculator
  64. %{_datadir}/applications/mate-calc.desktop
  65. %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml
  66. %{_datadir}/%{name}
  67. %{_mandir}/man1/mate-calc.1.gz
  68. %{_mandir}/man1/mate-calc-cmd.1.gz
  69. %changelog
  70. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  71. - rebuild with VineSeed environment
  72. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  73. - new upstream release
  74. - remove BuildRequires: mate-conf-devel
  75. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  76. - new upstream release
  77. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  78. - new upstream release
  79. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  80. - change category
  81. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  82. - initial build for Vine Linux