glade2-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. %define libxml2_version 2.6.19
  2. %define gtk2_version 2.6.0
  3. %define libgnomeui_version 2.10.0
  4. %define libbonoboui_version 2.8.0
  5. %define libgnomecanvas_version 2.10.0
  6. %define gail_version 1.8.0
  7. %define po_package glade-2.0
  8. Summary: A user interface builder for the GTK+ toolkit and GNOME
  9. Summary(ja): GTK+ツールキット及びGNOME向けのユーザインターフェースビルダー
  10. Name: glade2
  11. Version: 2.12.2
  12. Release: 1%{?_dist_release}
  13. License: GPL
  14. URL: http://glade.gnome.org/
  15. Source: ftp://ftp.gnome.org/pub/gnome/sources/glade/2.10/glade-%{version}.tar.bz2
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Group: Applications/Development
  18. Requires: gail-devel >= %{gail_version}
  19. Prereq: scrollkeeper
  20. BuildRequires: libxml2-devel >= %{libxml2_version}
  21. BuildRequires: gtk2-devel >= %{gtk2_version}
  22. BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
  23. BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
  24. BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version}
  25. BuildRequires: scrollkeeper
  26. %description
  27. Glade is a RAD tool to enable quick & easy development of user interfaces
  28. for the GTK+ toolkit and the GNOME desktop environment. It also contains
  29. built-in support for generating the C source code needed to recreate the
  30. interfaces.
  31. %description -l ja
  32. Gladeは、GTK+ツールキットやGNOME向けのユーザインターフェースを素早く簡単に開
  33. 発する事が可能なRADツールです。インターフェースを再生するのに必要なCソースコー
  34. ドの生成をビルトインでサポートしています。
  35. %prep
  36. %setup -q -n glade-%{version}
  37. %build
  38. %configure --disable-gnome-db --disable-scrollkeeper
  39. make
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. %makeinstall
  43. desktop-file-install --vendor gnome --delete-original \
  44. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  45. $RPM_BUILD_ROOT%{_datadir}/applications/*
  46. rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
  47. %find_lang %po_package
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. scrollkeeper-update > /dev/null 2>&1 || :
  52. %postun
  53. scrollkeeper-update > /dev/null 2>&1 || :
  54. %files -f %{po_package}.lang
  55. %defattr(-,root,root)
  56. %doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO
  57. %{_datadir}/glade-2
  58. %{_datadir}/gnome/help/glade-2
  59. %{_datadir}/omf/glade-2
  60. %{_datadir}/applications/*
  61. %{_datadir}/pixmaps/glade-2
  62. %{_datadir}/pixmaps/glade-2.png
  63. %{_bindir}/glade-2
  64. %changelog
  65. * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.12.2-1vl5
  66. - new upstream release
  67. - applied new versioning policy
  68. * Sun Jul 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.1-0vl1
  69. - new upstream release
  70. - changed Group to Applications/Development
  71. - added Prereq: scrollkeeper
  72. * Thu Apr 14 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  73. - new upstream release
  74. * Wed Dec 15 2004 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  75. - 2.6.7
  76. - update summary & description.
  77. * Sun Jan 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl1
  78. - rebuild with new toolchains
  79. - updated to 2.0.1
  80. * Wed Sep 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
  81. - build for Vine Linux
  82. * Wed Jul 30 2003 Havoc Pennington <hp@redhat.com> 2.0.0-2
  83. - rebuild
  84. * Mon Jul 7 2003 Havoc Pennington <hp@redhat.com> 2.0.0-1
  85. - 2.0.0
  86. - remove "stockfix" patch now upstream
  87. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  88. - rebuilt
  89. * Fri Feb 14 2003 Havoc Pennington <hp@redhat.com> 1.1.3-3
  90. - no buildreq Xft
  91. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  92. - rebuilt
  93. * Mon Dec 9 2002 Havoc Pennington <hp@redhat.com>
  94. - 1.1.3
  95. * Wed Aug 14 2002 Havoc Pennington <hp@redhat.com>
  96. - require gail-devel #67084
  97. * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
  98. - move from CVS snap to final release
  99. * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
  100. - Fix missing po files
  101. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  102. - 1.1.0.90 cvs snap
  103. - use desktop-file-install
  104. * Thu Jun 13 2002 Nalin Dahyabhai <nalin@redhat.com>
  105. - rebuild in different environment
  106. * Thu Jun 13 2002 Nalin Dahyabhai <nalin@redhat.com>
  107. - fix a scrollkeeper validation bug
  108. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  109. - automated rebuild
  110. * Thu May 23 2002 Havoc Pennington <hp@redhat.com>
  111. - rebuild in different environment
  112. * Thu May 23 2002 Havoc Pennington <hp@redhat.com>
  113. - move to glade 2, based on glade 1 specfile