zenity-vl.spec 2.3 KB

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