gnome-vfs2-monikers-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. %define gnome_vfs_version 2.15.3
  2. %define libbonobo_version 2.18.0
  3. %define gconf_version 2.18.0
  4. %define glib_version 2.12.0
  5. %define orbit_version 2.14.0
  6. Summary: Monikers for the GNOME virtual file-system
  7. Name: gnome-vfs2-monikers
  8. Version: 2.15.3
  9. Release: 0vl1
  10. License: LGPL
  11. Group: System Environment/Libraries
  12. Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-vfs-monikers/2.15/gnome-vfs-monikers-%{version}.tar.bz2
  13. URL: http://www.gnome.org/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  15. Requires: gnome-vfs2 >= %{gnome_vfs_version}
  16. BuildRequires: gnome-vfs2-devel >= %{gnome_vfs_version}
  17. BuildRequires: libbonobo-devel >= %{libbonobo_version}
  18. BuildRequires: bonobo-activation-devel
  19. BuildRequires: GConf2-devel >= %{gconf_version}
  20. BuildRequires: glib2-devel >= %{glib_version}
  21. BuildRequires: ORBit2-devel >= %{orbit_version}
  22. BuildRequires: perl(XML::Parser)
  23. %description
  24. GNOME VFS is the GNOME virtual file system.
  25. Programs using bonobo can use the monikers provided
  26. in this package to access gnome-vfs.
  27. %prep
  28. %setup -q -n gnome-vfs-monikers-%{version}
  29. %build
  30. %configure
  31. make
  32. %install
  33. rm -fr $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.{a,la}
  36. for serverfile in $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server; do
  37. sed -i -e 's|location *= *"/usr/lib\(64\)*/|location="/usr/$LIB/|' $serverfile
  38. done
  39. %clean
  40. rm -fr %{buildroot}
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-, root, root)
  45. %doc AUTHORS COPYING ChangeLog NEWS
  46. %{_libdir}/bonobo
  47. %changelog
  48. * Mon Apr 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.3-0vl1
  49. - initial build for Vine Linux
  50. * Tue Apr 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.15.3-3
  51. - Improve description (#219057)
  52. * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.3-2
  53. - Incorporate package review feedback
  54. * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.3-1
  55. - Initial package