zenity-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. %define po_package zenity
  2. Summary: Zenity - GNOME port of dialog
  3. Summary(ja): Zenity - dialog の GNOME 版
  4. Name: zenity
  5. Version: 2.30.0
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: User Interface/Desktops
  9. Source0: %{name}-%{version}.tar.bz2
  10. Patch10: %{name}-2.14.2-i18n-help.patch
  11. Patch20: %{name}-2.26.0-grab-focus.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk2-devel >= 2.15.1
  14. BuildRequires: libnotify-devel >= 0.4.1
  15. BuildRequires: intltool
  16. BuildRequires: gnome-doc-utils >= 0.3.2
  17. BuildRequires: docbook-utils
  18. Requires(post): scrollkeeper
  19. Requires(postun): scrollkeeper
  20. %description
  21. This is zenity - a rewrite of gdialog, the GNOME port of dialog
  22. which allows you to display dialog boxes from the commandline
  23. and shell scripts. If you understand, things are just as they
  24. are. If you don't understand, things are just as they are.
  25. %prep
  26. %setup -q
  27. %patch10 -p1 -b .i18n-help
  28. #patch20 -p1 -b .grab-focus
  29. %build
  30. %configure --disable-scrollkeeper
  31. %__make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  35. %makeinstall
  36. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  37. %find_lang %{po_package} --with-gnome
  38. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post
  42. scrollkeeper-update >& /dev/null ||:
  43. %postun
  44. scrollkeeper-update >& /dev/null ||:
  45. %files -f %{po_package}.lang
  46. %defattr(-,root,root,-)
  47. %{_bindir}/*
  48. %dir %{_datadir}/%{name}
  49. %{_datadir}/%{name}/*
  50. %{_mandir}/man?/*
  51. %changelog
  52. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  53. - new upstream release
  54. - add BuildRequires gnome-doc-utils, docbook-utils
  55. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  56. - new upstream release
  57. - dropped Patch20
  58. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  59. - new upstream release
  60. * Sat Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2
  61. - add Patch20 to make zenity grab the window focus on startup.
  62. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  63. - new upstream release
  64. * Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2
  65. - add Patch10 to fix corruption of help option message.
  66. * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  67. - new upstream release
  68. * Wed May 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  69. - new upstream release
  70. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  71. - new upstream release
  72. * Tue Jul 26 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1
  73. - initial build for Vine Linux