gnome-user-share-vl.spec 5.6 KB

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