gnome-build-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # Package version
  2. %define version 2.24.1
  3. # Requires version
  4. %define gtk_required 2.3.0
  5. %define gnome_required 2.3.3
  6. %define libbonoboui_required 2.3.3
  7. %define xml_required 2.5.8
  8. %define vfs_required 2.3.5
  9. %define libglade_required 2.0.1
  10. %define gdl_required 2.23.0
  11. %define gio_required 2.16.0
  12. Version: 2.24.1
  13. Release: 1%{?_dist_release}
  14. Name: gnome-build
  15. Summary: GNOME Build Framework.
  16. License: GPL
  17. Group: Development/Libraries
  18. BuildRoot: /var/tmp/%{name}-%{version}-root
  19. URL: http://www.gnome.org
  20. Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-build/0.2/%{name}-%{version}.tar.bz2
  21. Requires: gtk2 >= %{gtk_required}
  22. Requires: libgnome >= %{gnome_required}
  23. Requires: libgnomeui >= %{gnome_required}
  24. Requires: libbonoboui >= %{libbonoboui_required}
  25. Requires: libxml2 >= %{xml_required}
  26. Requires: gnome-vfs2 >= %{vfs_required}
  27. Requires: libglade2 >= %{libglade_required}
  28. Requires: gdl >= %{gdl_required}
  29. Requires: glib2 >= %{gio_required}
  30. BuildRequires: gtk2-devel >= %{gtk_required}
  31. BuildRequires: libgnome-devel >= %{gnome_required}
  32. BuildRequires: libgnomeui-devel >= %{gnome_required}
  33. BuildRequires: libbonoboui-devel >= %{libbonoboui_required}
  34. BuildRequires: libxml2-devel >= %{xml_required}
  35. BuildRequires: gnome-vfs2-devel >= %{vfs_required}
  36. BuildRequires: libglade2-devel >= %{libglade_required}
  37. BuildRequires: gdl-devel >= %{gdl_required}
  38. BuildRequires: glib2-devel >= %{gio_required}
  39. Provides: perl(GBF::Make)
  40. %description
  41. This is the GNOME Build Framework (GBF).
  42. %package devel
  43. Summary: Libraries and include files for Gnome Build Framework.
  44. Group: Development/Libraries
  45. Requires: %{name} = %{version}
  46. %description devel
  47. Libraries and header files if you want to make use of the GNOME debug framework
  48. in your own programs.
  49. %prep
  50. %setup -q
  51. %build
  52. ./configure --prefix=%{_prefix} \
  53. --bindir=%{_bindir} --mandir=%{_mandir} \
  54. --localstatedir=%{_localstatedir} --libdir=%{_libdir} \
  55. --datadir=%{_datadir} --includedir=%{_includedir} \
  56. --sysconfdir=%{_sysconfdir}
  57. CFLAGS="$RPM_OPT_FLAGS" make
  58. %install
  59. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  60. make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
  61. mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
  62. localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
  63. datadir=$RPM_BUILD_ROOT%{_datadir} \
  64. includedir=$RPM_BUILD_ROOT%{_includedir} \
  65. sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
  66. %clean
  67. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  68. %post
  69. /sbin/ldconfig
  70. %postun
  71. /sbin/ldconfig
  72. %files
  73. %doc AUTHORS COPYING ChangeLog NEWS README
  74. %defattr (-, root, root)
  75. %{_bindir}/*
  76. %{_libdir}/lib*.so.*
  77. %{_libdir}/gnome-build-1.0
  78. %{_datadir}/pixmaps/*.png
  79. %{_datadir}/gnome-build
  80. %{_datadir}/locale
  81. %files devel
  82. %defattr (-, root, root)
  83. %{_includedir}/gnome-build-1.0
  84. %{_libdir}/*a
  85. %{_libdir}/*so
  86. %{_libdir}/pkgconfig/*.pc
  87. %changelog
  88. * Wed Apr 29 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.24.1-1vl5
  89. - update from upstream.
  90. - use macro for *Requires
  91. * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.2.0-2vl5
  92. - use macro for Release
  93. * Sat May 10 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.2.0-1vl5
  94. - apply new virsioning policy.
  95. * Fri Jan 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.0-0vl1
  96. - update source (upstream)
  97. * Thu Feb 22 2007 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.5-0vl1
  98. - update source (upstream)
  99. * Sat Nov 25 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.3-0vl1
  100. - packaging for VineSeed.
  101. * Wed Aug 8 2001 Jens Finke <jens@gnome.org>
  102. - created spec file