gnome-user-share-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. Summary: Gnome user file sharing
  2. Summary(ja): Gnome ユーザファイル共有
  3. Name: gnome-user-share
  4. Version: 3.0.2
  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.xz
  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. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  80. - new upstream release
  81. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1
  82. - new upstream release
  83. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  84. - new upstream release
  85. - change BuildRequires: gtk3-devel instead of gtk2-devel
  86. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  87. - change BuildRequires: unique3-devel instead of unique-devel
  88. - add BuildRequires: libSM-devel
  89. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  90. - new upstream release
  91. * Thu Apr 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  92. - new upstream release
  93. - add BuildRequires: nautilus-devel
  94. * Thu Jan 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  95. - new upstream release
  96. - add BuildRequires: libnotify-devel, libcanberra-devel, gnome-bluetooth-devel, unique-devel, gnome-doc-utils
  97. - add Requires: gnome-bluetooth-libs
  98. * Wed May 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11-0vl1
  99. - initial build for Vine Linux
  100. * Fri Mar 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.11-2
  101. - Don't hardwire invisible char (#233676)
  102. * Tue Mar 6 2007 Alexander Larsson <alexl@redhat.com> - 0.11-1
  103. - Update to 0.11 with xdg-user-dirs support
  104. * Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> 0.10-6
  105. - Add better categories to the desktop file
  106. * Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.10-5
  107. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  108. * Thu Sep 21 2006 Nalin Dahyabhai <nalin@redhat.com> - 0.10-4
  109. - add missing BuildRequires: on httpd, so that the configure script can find
  110. the binary
  111. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.10-3.1
  112. - rebuild
  113. * Mon May 29 2006 Alexander Larsson <alexl@redhat.com> - 0.10-3
  114. - buildrequire gettext and perl-XML-Parser (#193391)
  115. * Thu Apr 20 2006 Matthias Clasen <mclasen@redhat.com> 0.10-2
  116. - Update to 0.10
  117. * Wed Mar 01 2006 Karsten Hopp <karsten@redhat.de> 0.9-3
  118. - BuildRequires: gtk2-devel, libglade2-devel, libselinux-devel
  119. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9-2.2
  120. - bump again for double-long bug on ppc(64)
  121. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9-2.1
  122. - rebuilt for new gcc4.1 snapshot and glibc changes
  123. * Fri Feb 3 2006 Alexander Larsson <alexl@redhat.com> 0.9-2
  124. - Patch config for apache 2.2
  125. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  126. - rebuilt
  127. * Tue Nov 22 2005 Alexander Larsson <alexl@redhat.com> - 0.9-1
  128. - New release with avahi 0.6 support
  129. * Mon Nov 14 2005 Alexander Larsson <alexl@redhat.com> - 0.8-1
  130. - update to 0.8
  131. * Wed Nov 9 2005 Alexander Larsson <alexl@redhat.com> - 0.7-1
  132. - New version, with desktop file
  133. * Wed Nov 9 2005 Alexander Larsson <alexl@redhat.com> - 0.6-1
  134. - New version, switch to avahi
  135. - Handle translations
  136. * Fri Dec 3 2004 Alexander Larsson <alexl@redhat.com> - 0.4-1
  137. - New version
  138. * Fri Nov 26 2004 Alexander Larsson <alexl@redhat.com> - 0.3-1
  139. - New version
  140. * Thu Sep 9 2004 Alexander Larsson <alexl@redhat.com> - 0.2-1
  141. - New version
  142. * Wed Sep 8 2004 Alexander Larsson <alexl@redhat.com> - 0.1-1
  143. - Initial Build