mate-calc-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.1
  3. %define rel 1
  4. Summary: Calculator for the Mate desktop environment
  5. Name: mate-calc
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: GPLv2
  10. Group: Applications/Productivity
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: gtk3-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, iwaim
  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. %build
  38. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  39. %configure \
  40. --disable-static
  41. %{__make} %{?_smp_mflags}
  42. %install
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  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}/%{name}
  65. %{_bindir}/%{name}-cmd
  66. %{_bindir}/mate-calculator
  67. %{_datadir}/applications/%{name}.desktop
  68. %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml
  69. %{_datadir}/appdata/mate-calc.appdata.xml
  70. %{_datadir}/%{name}
  71. %{_datadir}/help/*
  72. %{_mandir}/man1/%{name}.1.gz
  73. %{_mandir}/man1/%{name}-cmd.1.gz
  74. %changelog
  75. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1
  76. - update to 1.20.1
  77. - drop ja.po patch (Patch1001)
  78. * Mon Jan 22 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  79. - update to 1.18.1
  80. - update ja.po patch (Patch1001)
  81. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  82. - update 1.18.0
  83. - move to GTK3+
  84. - update ja.po patch (Patch1001)
  85. - update Packager
  86. - drop BR: mate-doc-utils
  87. - add appdata file
  88. * Sun Jun 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  89. - add Patch1001 (mate-calc-1.8.0-ja.po.patch)
  90. * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  91. - new upstream release
  92. - add BuildRequires: itstool
  93. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  94. - rebuild with VineSeed environment
  95. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  96. - new upstream release
  97. - remove BuildRequires: mate-conf-devel
  98. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  99. - new upstream release
  100. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  101. - new upstream release
  102. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  103. - change category
  104. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  105. - initial build for Vine Linux