glade-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. %define ver 0.6.4
  2. %define rel 12%{?_dist_release}
  3. Summary: Gtk+ GUI builder
  4. Summary(ja): Gtk+ GUI ビルダ
  5. Name: glade
  6. Version: %{ver}
  7. Release: %{rel}
  8. License: GPL
  9. Group: Applications/Development
  10. URL: http://glade.gnome.org/
  11. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{ver}.tar.gz
  12. Patch: glade-scrollkeeper-dtd.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gnome-libs-devel >= 1.4.2-2vl5
  15. BuildRequires: gtk+-devel >= 1.2
  16. BuildRequires: bonobo-devel >= 0.27
  17. BuildRequires: gnome-print-devel >= 0.37-2vl5
  18. BuildRequires: desktop-file-utils, scrollkeeper
  19. Prereq: scrollkeeper
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %description
  23. Glade is a RAD tool to enable quick & easy development of user interfaces
  24. for the GTK+ toolkit and the Gnome desktop environment. It also contains
  25. built-in support for generating the C source code needed to recreate the
  26. interfaces.
  27. %description -l ja
  28. Glade は Gtk+ ツールキットおよび Gnome デスクトップ環境での
  29. ユーザインタフェースを、簡単に素早く作るための RAD ツールです。
  30. C、C++、Perl、Python 向けのソースコードを作れます。
  31. %prep
  32. %setup -q
  33. %patch -p0 -b .scrollkeeper-dtd
  34. %build
  35. %configure --with-bonobo
  36. make %{?_smp_mflags} PACKAGE_PIXMAPS_DIR=%{_datadir}/pixmaps/glade
  37. tar czf examples.tgz examples
  38. mv doc/*.txt ./
  39. %install
  40. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  41. %makeinstall PACKAGE_PIXMAPS_DIR=$RPM_BUILD_ROOT%{_datadir}/pixmaps/glade
  42. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  43. desktop-file-install --vendor net --delete-original \
  44. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  45. --add-category X-Red-Hat-Extra \
  46. --add-category Application \
  47. --add-category Development \
  48. $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Development/glade.desktop
  49. perl -pi -e 's/GTK+/GTK+ 1.2/' $RPM_BUILD_ROOT%{_datadir}/applications/net-glade.desktop
  50. %find_lang %{name}
  51. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/{scrollkeeper,lib/scrollkeeper}
  52. %clean
  53. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  54. %post
  55. scrollkeeper-update > /dev/null 2>&1 || :
  56. %postun
  57. scrollkeeper-update > /dev/null 2>&1 || :
  58. %files -f %{name}.lang
  59. %defattr(-, root, root)
  60. %doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO
  61. %doc examples.tgz *.txt
  62. %{_bindir}/glade
  63. %{_datadir}/applications
  64. %{_datadir}/glade
  65. %{_datadir}/gnome/help/glade
  66. %{_datadir}/omf/glade
  67. %{_datadir}/pixmaps/*
  68. %changelog
  69. * Sat May 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-12
  70. - rebuilt with gnome-libs-1.4.2-2vl5 (linking with db-4.6.21)
  71. - spec in UTF-8
  72. * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.4-11vl5
  73. - applied new versioning policy
  74. * Sat Dec 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-10vl3
  75. - added BuildRequires: gnome-print-devel
  76. - added Prereq: scrollkeeper
  77. - changed Group to Applications/Development
  78. * Sat Nov 6 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.6.4-10vl2
  79. - rebuilt with db4-4.2.52
  80. * Sun Jan 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-10vl1
  81. - rebuild with new toolchains
  82. - based on Fedora 0.6.4-10
  83. - remove Requires: gnome-db and BuildPreReq: gnome-db-devel
  84. - add BuildPreReq: desktop-file-utils
  85. - modified spec file to add %post and %postun section
  86. - s/Copyright/License/
  87. * Thu Mar 28 2002 Jun Nishii <jun@vinelinux.org> 0.6.4-0vl2
  88. - added Prereq: scrollkeeper
  89. * Thu Mar 07 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.6.4-0vl1
  90. - updated to new upstream release
  91. * Wed May 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  92. - 0.6.2-0vl1
  93. - New upstream release.
  94. * Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.6.1-0vl1
  95. - New upstream release.
  96. * Tue Mar 6 2001 Shoji Matsumoto <shom@vinelinux.org> 0.5.11-0vl1
  97. - created