gcalctool-vl.spec 5.4 KB

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