gnome-user-share-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Summary: Gnome user file sharing
  2. Summary(ja): Gnome ユーザファイル共有
  3. Name: gnome-user-share
  4. Version: 2.30.0
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Libraries
  8. URL: http://www.gnome.org
  9. Source0: %{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. Requires: httpd >= 2.2.0
  12. Requires: gnome-bluetooth-libs >= 2.28.0
  13. BuildRequires: GConf2-devel avahi-glib-devel >= 0.6 pkgconfig
  14. BuildRequires: gtk2-devel >= 2.4.0
  15. BuildRequires: httpd >= 2.2.0
  16. BuildRequires: libglade2-devel >= 2.0.0
  17. BuildRequires: desktop-file-utils
  18. BuildRequires: gettext
  19. BuildRequires: perl(XML::Parser)
  20. BuildRequires: libnotify-devel
  21. BuildRequires: libcanberra-devel
  22. BuildRequires: gnome-bluetooth-devel >= 2.30.0
  23. BuildRequires: unique-devel
  24. BuildRequires: nautilus-devel
  25. BuildRequires: gnome-doc-utils
  26. Requires(post,pre,preun): GConf2
  27. %description
  28. gnome-user-share is a small package that binds together various free
  29. software projects to bring easy to use user-level file sharing to the
  30. masses.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure
  35. %__make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  39. %__make install DESTDIR=$RPM_BUILD_ROOT
  40. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
  42. desktop-file-install --vendor gnome --delete-original \
  43. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  44. --add-only-show-in GNOME \
  45. $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
  46. %find_lang %{name}
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post
  50. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  51. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
  52. %pre
  53. if [ "$1" -gt 1 ]; then
  54. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  55. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
  56. fi
  57. %preun
  58. if [ "$1" -eq 0 ]; then
  59. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  60. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
  61. fi
  62. %files -f %{name}.lang
  63. %defattr(-,root,root,-)
  64. %doc README ChangeLog
  65. %{_bindir}/*
  66. %{_libexecdir}/*
  67. %{_libdir}/nautilus/extensions-2.0/*.so
  68. %{_datadir}/gnome-user-share
  69. %{_datadir}/applications/*
  70. %{_datadir}/gnome/*
  71. %{_datadir}/icons/hicolor/*/apps/*
  72. %{_datadir}/omf/*
  73. %{_sysconfdir}/gconf/schemas/*
  74. %{_sysconfdir}/xdg/autostart/gnome-user-share.desktop
  75. %changelog
  76. * Thu Apr 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  77. - new upstream release
  78. - add BuildRequires: nautilus-devel
  79. * Thu Jan 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  80. - new upstream release
  81. - add BuildRequires: libnotify-devel, libcanberra-devel, gnome-bluetooth-devel, unique-devel, gnome-doc-utils
  82. - add Requires: gnome-bluetooth-libs
  83. * Wed May 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11-0vl1
  84. - initial build for Vine Linux
  85. * Fri Mar 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.11-2
  86. - Don't hardwire invisible char (#233676)
  87. * Tue Mar 6 2007 Alexander Larsson <alexl@redhat.com> - 0.11-1
  88. - Update to 0.11 with xdg-user-dirs support
  89. * Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> 0.10-6
  90. - Add better categories to the desktop file
  91. * Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.10-5
  92. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  93. * Thu Sep 21 2006 Nalin Dahyabhai <nalin@redhat.com> - 0.10-4
  94. - add missing BuildRequires: on httpd, so that the configure script can find
  95. the binary
  96. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.10-3.1
  97. - rebuild
  98. * Mon May 29 2006 Alexander Larsson <alexl@redhat.com> - 0.10-3
  99. - buildrequire gettext and perl-XML-Parser (#193391)
  100. * Thu Apr 20 2006 Matthias Clasen <mclasen@redhat.com> 0.10-2
  101. - Update to 0.10
  102. * Wed Mar 01 2006 Karsten Hopp <karsten@redhat.de> 0.9-3
  103. - BuildRequires: gtk2-devel, libglade2-devel, libselinux-devel
  104. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9-2.2
  105. - bump again for double-long bug on ppc(64)
  106. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9-2.1
  107. - rebuilt for new gcc4.1 snapshot and glibc changes
  108. * Fri Feb 3 2006 Alexander Larsson <alexl@redhat.com> 0.9-2
  109. - Patch config for apache 2.2
  110. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  111. - rebuilt
  112. * Tue Nov 22 2005 Alexander Larsson <alexl@redhat.com> - 0.9-1
  113. - New release with avahi 0.6 support
  114. * Mon Nov 14 2005 Alexander Larsson <alexl@redhat.com> - 0.8-1
  115. - update to 0.8
  116. * Wed Nov 9 2005 Alexander Larsson <alexl@redhat.com> - 0.7-1
  117. - New version, with desktop file
  118. * Wed Nov 9 2005 Alexander Larsson <alexl@redhat.com> - 0.6-1
  119. - New version, switch to avahi
  120. - Handle translations
  121. * Fri Dec 3 2004 Alexander Larsson <alexl@redhat.com> - 0.4-1
  122. - New version
  123. * Fri Nov 26 2004 Alexander Larsson <alexl@redhat.com> - 0.3-1
  124. - New version
  125. * Thu Sep 9 2004 Alexander Larsson <alexl@redhat.com> - 0.2-1
  126. - New version
  127. * Wed Sep 8 2004 Alexander Larsson <alexl@redhat.com> - 0.1-1
  128. - Initial Build