gcalctool-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Name: gcalctool
  2. Version: 5.30.2
  3. Release: 1%{?_dist_release}
  4. Summary: Gnome2 Calculator application
  5. Summary(ja): GNOME2 電卓アプリケーション
  6. Group: Applications/Productivity
  7. License: GPL
  8. Source0: %{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gtk2-devel >= 2.8.0
  11. BuildRequires: glib2-devel
  12. BuildRequires: GConf2-devel
  13. BuildRequires: gnome-doc-utils >= 0.3.2
  14. BuildRequires: perl-XML-Parser scrollkeeper
  15. BuildRequires: flex, bison
  16. BuildRequires: docbook-utils
  17. BuildRequires: desktop-file-utils
  18. Requires(post,postun): scrollkeeper
  19. Requires(post,pre,preun): GConf2
  20. %description
  21. gcalctool is a calculator application based on Gtk2.
  22. %description -l ja
  23. gcalctool は Gtk2 ベースの電卓アプリケーションです。
  24. %prep
  25. %setup -q
  26. %build
  27. %configure --disable-schemas-install --disable-scrollkeeper
  28. make %{?_smp_mflsgs}
  29. %install
  30. rm -fr $RPM_BUILD_ROOT
  31. %makeinstall
  32. desktop-file-install --vendor gnome --delete-original \
  33. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  34. $RPM_BUILD_ROOT%{_datadir}/applications/*
  35. %find_lang %{name}
  36. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  37. %clean
  38. rm -rf %{buildroot}
  39. %post
  40. scrollkeeper-update > /dev/null 2>&1 || :
  41. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  42. gconftool-2 --makefile-install-rule \
  43. %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null
  44. %pre
  45. if [ "$1" -gt 1 ]; then
  46. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  47. gconftool-2 --makefile-uninstall-rule \
  48. %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null
  49. fi
  50. %preun
  51. if [ "$1" -eq 0 ]; then
  52. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  53. gconftool-2 --makefile-uninstall-rule \
  54. %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null
  55. fi
  56. %postun
  57. scrollkeeper-update > /dev/null 2>&1 || :
  58. %files -f %{name}.lang
  59. %defattr(-,root,root)
  60. %doc COPYING NEWS README ChangeLog
  61. %{_bindir}/*
  62. %{_datadir}/applications/*
  63. %{_datadir}/gcalctool
  64. %{_datadir}/gnome/help/gcalctool
  65. %{_mandir}/man1/*
  66. %{_sysconfdir}/gconf/schemas/*
  67. %changelog
  68. * Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.30.2-1
  69. - new upstream release
  70. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.30.1-1
  71. - new upstream release
  72. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.30.0-1
  73. - new upstream release
  74. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.28.2-1
  75. - new upstream release
  76. - add BuildRequires: docbook-utils, desktop-file-utils
  77. * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.28.1-1
  78. - new upstream release
  79. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.26.3-1
  80. - new upstream release
  81. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.26.1-1
  82. - new upstream release
  83. * Fri Apr 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.26.0-1
  84. - new upstream release
  85. * Sat Nov 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.24.2-1
  86. - new upstream release
  87. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 5.24.1-1
  88. - new upstream release
  89. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.24.0-1vl5
  90. - new upstream release
  91. - spec in UTF-8
  92. * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.22.0-1vl5
  93. - new upstream release
  94. - added %%pre, %%preun section
  95. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.20.2-0vl1
  96. - new upstream release
  97. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.9.14-0vl1
  98. - new upstream release
  99. * Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5.8.23-0vl2
  100. - add BuildRequires:
  101. - libgnome-devel, libgnomeui-devel, gnome-doc-utils, flex, bison
  102. * Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.8.23-0vl1
  103. - new upstream release
  104. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.8.13-0vl1
  105. - new upstream release
  106. * Mon May 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.8.10-0vl1
  107. - new upstream release
  108. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7.32-0vl1
  109. - new upstream release
  110. * Wed Jan 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.7.27-0vl1
  111. - updated to 5.7.27
  112. - added BuildRequires: scrollkeeper, atk-devel
  113. * Wed Oct 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.6.31-0vl1
  114. - updated to 5.6.31
  115. * Fri Jun 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.6.14-0vl1
  116. - updated to 5.6.14
  117. - change Group: to Applications/Productivity
  118. * Sun Apr 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.5.41-0vl1
  119. - updated to 5.5.41
  120. * Fri Dec 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.20-0vl1
  121. - updated to 4.4.20
  122. * Sun Mar 21 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.50-0vl1
  123. - updated to 4.3.50
  124. * Thu Jan 15 2004 Tomoya TAKA <taka@vinelinux.org> 4.3.38-0vl2
  125. - add BuildRequires: perl-XML-Parser
  126. * Thu Jan 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.38-0vl1
  127. - new upstream release.
  128. - exec scrolkeeper-update %post and %postun section
  129. * Tue Dec 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.29-0vl1
  130. - initial release.