gnome-user-share-vl.spec 4.8 KB

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