galculator-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Summary: GTK 2 based scientific calculator
  2. Summary(ja): GTK2 ベースの関数電卓
  3. Name: galculator
  4. Version: 2.1.3
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Accessories
  8. Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gtk2-devel >= 2.6.0
  11. BuildRequires: libglade2-devel
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. %description
  15. galculator is a GTK 2 based scientific calculator with "ordinary" and reverse polish notation.
  16. %description -l ja
  17. galculator は GTK2 ベースの 電卓です。
  18. %prep
  19. %setup -q
  20. %build
  21. %configure --disable-gtk3
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. make install DESTDIR=$RPM_BUILD_ROOT
  25. %find_lang %{name}
  26. %clean
  27. rm -rf $RPM_BUILD_ROOT
  28. %post
  29. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  30. %postun
  31. if [ $1 -eq 0 ] ; then
  32. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  33. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  34. fi
  35. %posttrans
  36. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  37. %files -f %{name}.lang
  38. %defattr(-, root, root)
  39. %doc AUTHORS ChangeLog NEWS README COPYING
  40. %{_bindir}/galculator
  41. %{_datadir}/applications/galculator.desktop
  42. %{_datadir}/%{name}
  43. %{_datadir}/icons/hicolor/*
  44. %{_datadir}/pixmaps/*
  45. %{_mandir}/man1/%{name}.1*
  46. %changelog
  47. * Sat Jul 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.1.3-1
  48. - new upstream release
  49. - added --disable-gtk3 option in %%configure
  50. - run gtk-update-icon-cache in %%posttrans, %%postun
  51. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.4-2
  52. - rebuild with rpm-4.8.1
  53. * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.4-1
  54. - new upstream release
  55. - updated BuildRequires
  56. - changed Group to Applications/Accessories
  57. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.1-1vl5
  58. - applied new versioning policy, spec in utf-8
  59. * Fri Sep 28 2007 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.3.1-0vl1
  60. - update
  61. * Wed Jun 7 2006 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.5.2-0vl1
  62. - update
  63. - Group changed(Applications/System -> Applications/Productivity)
  64. * Tue May 10 2005 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.5-0vl1
  65. - update
  66. - Group changed(Application/Math -> Applications/System)
  67. * Tue Jun 15 2004 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.3-0vl1
  68. - update
  69. * Mon Apr 5 2004 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.2-0vl1
  70. - update
  71. * Thu Mar 11 2004 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.0-0vl1
  72. - update
  73. * Wed Nov 12 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.1.4-0vl1
  74. - update
  75. * Mon Sep 1 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.1.3-0vl1
  76. - update
  77. * Wed Jul 2 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.1.1-0vl1
  78. - 1st build for VineSeed
  79. * Thu Oct 3 2002 Simon Floery <simon.floery@gmx.at>
  80. - description update