gvfs-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. Summary: Backends for the gio framework in GLib
  2. Summary(ja): GLib の GIO フレームワークのバックエンド
  3. Name: gvfs
  4. Version: 1.6.0
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://www.gtk.org
  9. Source: http://download.gnome.org/sources/gvfs/1.2/gvfs-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: pkgconfig
  12. BuildRequires: glib2-devel >= 2.24.0
  13. BuildRequires: dbus-glib-devel
  14. BuildRequires: /usr/bin/ssh
  15. BuildRequires: libcdio-devel >= 0.78.2
  16. BuildRequires: libsoup-devel >= 2.30.0
  17. BuildRequires: avahi-glib-devel >= 0.6
  18. BuildRequires: libgnome-keyring-devel
  19. BuildRequires: intltool
  20. BuildRequires: gettext
  21. BuildRequires: perl-XML-Parser
  22. BuildRequires: GConf2-devel
  23. BuildRequires: libgudev1-devel
  24. Requires(post): desktop-file-utils
  25. Requires(postun): desktop-file-utils
  26. # The patch touches Makefile.am files:
  27. BuildRequires: automake autoconf
  28. BuildRequires: libtool
  29. Patch1: gvfs-0.99.2-archive-integration.patch
  30. %description
  31. The gvfs package provides backend implementations for the gio
  32. framework in GLib. It includes ftp, sftp, cifs.
  33. %package devel
  34. Summary: Development files for gvfs
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. %description devel
  38. The gvfs-devel package contains headers and other files that are
  39. required to develop applications using gvfs.
  40. %package fuse
  41. Summary: FUSE support for gvfs
  42. Group: System Environment/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. BuildRequires: fuse-devel
  45. Requires: fuse
  46. %description fuse
  47. This package provides support for applications not using gio
  48. to access the gvfs filesystems.
  49. %package smb
  50. Summary: Windows fileshare support for gvfs
  51. Group: System Environment/Libraries
  52. Requires: %{name} = %{version}-%{release}
  53. BuildRequires: libsmbclient-devel
  54. %description smb
  55. This package provides support for reading and writing files on windows
  56. shares (SMB) to applications using gvfs.
  57. %package archive
  58. Summary: Archiving support for gvfs
  59. Group: System Environment/Libraries
  60. Requires: %{name} = %{version}-%{release}
  61. BuildRequires: libarchive-devel
  62. %description archive
  63. This package provides support for accessing files inside Zip and Tar archives,
  64. as well as ISO images, to applications using gvfs.
  65. %package obexftp
  66. Summary: ObexFTP support for gvfs
  67. Group: System Environment/Libraries
  68. Requires: %{name} = %{version}-%{release}
  69. BuildRequires: bluez-libs-devel >= 4.15
  70. BuildRequires: expat-devel
  71. %description obexftp
  72. This package provides support for reading files on Bluetooth mobile phones
  73. and devices through ObexFTP to applications using gvfs.
  74. %package gphoto2
  75. Summary: gphoto2 support for gvfs
  76. Group: System Environment/Libraries
  77. Requires: %{name} = %{version}-%{release}
  78. BuildRequires: libgphoto2-devel
  79. BuildRequires: libusb-devel
  80. BuildRequires: libexif-devel
  81. %description gphoto2
  82. This package provides support for reading and writing files on
  83. PTP based cameras (Picture Transfer Protocol) and MTP based
  84. media players (Media Transfer Protocol) to applications using gvfs.
  85. %prep
  86. %setup -q
  87. %patch1 -p0 -b .archive-integration
  88. %build
  89. # Needed for gvfs-0.2.1-archive-integration.patch
  90. libtoolize --force || :
  91. aclocal || :
  92. autoheader || :
  93. automake || :
  94. autoconf || :
  95. %configure --disable-hal
  96. make # %{?_smp_mflags}
  97. %install
  98. rm -rf $RPM_BUILD_ROOT
  99. make install DESTDIR=$RPM_BUILD_ROOT
  100. rm $RPM_BUILD_ROOT%{_libdir}/*.la
  101. rm $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la
  102. %find_lang gvfs
  103. %clean
  104. rm -rf $RPM_BUILD_ROOT
  105. %post
  106. /sbin/ldconfig
  107. # Reload .mount files:
  108. killall -USR1 gvfsd >&/dev/null || :
  109. # Update desktop files mime mappings:
  110. update-desktop-database &> /dev/null ||:
  111. %postun
  112. /sbin/ldconfig
  113. # Update desktop files mime mappings:
  114. update-desktop-database &> /dev/null ||:
  115. %files -f gvfs.lang
  116. %defattr(-, root, root, -)
  117. %doc AUTHORS COPYING NEWS README
  118. %dir %{_datadir}/gvfs
  119. %dir %{_datadir}/gvfs/mounts
  120. %{_sysconfdir}/profile.d/gvfs-bash-completion.sh
  121. %{_datadir}/gvfs/mounts/sftp.mount
  122. %{_datadir}/gvfs/mounts/trash.mount
  123. %{_datadir}/gvfs/mounts/cdda.mount
  124. %{_datadir}/gvfs/mounts/computer.mount
  125. %{_datadir}/gvfs/mounts/dav.mount
  126. %{_datadir}/gvfs/mounts/dav+sd.mount
  127. %{_datadir}/gvfs/mounts/http.mount
  128. %{_datadir}/gvfs/mounts/localtest.mount
  129. %{_datadir}/gvfs/mounts/burn.mount
  130. %{_datadir}/gvfs/mounts/dns-sd.mount
  131. %{_datadir}/gvfs/mounts/network.mount
  132. %{_datadir}/gvfs/mounts/ftp.mount
  133. %{_datadir}/dbus-1/services/gvfs-daemon.service
  134. %{_datadir}/dbus-1/services/gvfs-metadata.service
  135. ## %{_datadir}/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service
  136. ## %{_datadir}/gvfs/remote-volume-monitors/hal.monitor
  137. %{_libdir}/libgvfscommon.so.*
  138. %{_libdir}/libgvfscommon-dnssd.so.*
  139. # %{_libdir}/gio/modules/libgiohal-volume-monitor.so
  140. %{_libdir}/gio/modules/libgioremote-volume-monitor.so
  141. %{_libdir}/gio/modules/libgvfsdbus.so
  142. %{_libdir}/gio/modules/libgiogconf.so
  143. %{_libexecdir}/gvfsd
  144. %{_libexecdir}/gvfsd-ftp
  145. %{_libexecdir}/gvfsd-sftp
  146. %{_libexecdir}/gvfsd-trash
  147. %{_libexecdir}/gvfsd-cdda
  148. %{_libexecdir}/gvfsd-computer
  149. %{_libexecdir}/gvfsd-dav
  150. %{_libexecdir}/gvfsd-http
  151. %{_libexecdir}/gvfsd-localtest
  152. %{_libexecdir}/gvfsd-burn
  153. %{_libexecdir}/gvfsd-dnssd
  154. %{_libexecdir}/gvfsd-network
  155. %{_libexecdir}/gvfsd-metadata
  156. ## %{_libexecdir}/gvfs-hal-volume-monitor
  157. %{_bindir}/gvfs-cat
  158. %{_bindir}/gvfs-copy
  159. %{_bindir}/gvfs-info
  160. %{_bindir}/gvfs-less
  161. %{_bindir}/gvfs-ls
  162. %{_bindir}/gvfs-mkdir
  163. %{_bindir}/gvfs-monitor-dir
  164. %{_bindir}/gvfs-monitor-file
  165. %{_bindir}/gvfs-mount
  166. %{_bindir}/gvfs-move
  167. %{_bindir}/gvfs-open
  168. %{_bindir}/gvfs-rename
  169. %{_bindir}/gvfs-rm
  170. %{_bindir}/gvfs-save
  171. %{_bindir}/gvfs-set-attribute
  172. %{_bindir}/gvfs-trash
  173. %{_bindir}/gvfs-tree
  174. %files devel
  175. %defattr(-, root, root, -)
  176. %dir %{_includedir}/gvfs-client
  177. %dir %{_includedir}/gvfs-client/gvfs
  178. %{_includedir}/gvfs-client/gvfs/gvfsurimapper.h
  179. %{_includedir}/gvfs-client/gvfs/gvfsuriutils.h
  180. %{_libdir}/libgvfscommon.so
  181. %{_libdir}/libgvfscommon-dnssd.so
  182. %files fuse
  183. %defattr(-, root, root, -)
  184. %{_libexecdir}/gvfs-fuse-daemon
  185. %files smb
  186. %defattr(-, root, root, -)
  187. %{_libexecdir}/gvfsd-smb
  188. %{_libexecdir}/gvfsd-smb-browse
  189. %{_datadir}/gvfs/mounts/smb-browse.mount
  190. %{_datadir}/gvfs/mounts/smb.mount
  191. %files archive
  192. %defattr(-, root, root, -)
  193. %dir %{_datadir}/applications/mount-archive.desktop
  194. %{_libexecdir}/gvfsd-archive
  195. %{_datadir}/gvfs/mounts/archive.mount
  196. %files obexftp
  197. %defattr(-, root, root, -)
  198. %{_libexecdir}/gvfsd-obexftp
  199. %{_datadir}/gvfs/mounts/obexftp.mount
  200. %files gphoto2
  201. %defattr(-, root, root, -)
  202. %{_libexecdir}/gvfsd-gphoto2
  203. %{_datadir}/gvfs/mounts/gphoto2.mount
  204. %{_libexecdir}/gvfs-gphoto2-volume-monitor
  205. %{_datadir}/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
  206. %{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor
  207. %changelog
  208. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  209. - new upstream release
  210. - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
  211. - change BuildRequires: hal-devel -> ibgudev1-devel
  212. - add configure option (--disable-hal)
  213. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
  214. - new upstream release
  215. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-1
  216. - new upstream release
  217. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.3-2
  218. - new upstream release
  219. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  220. - new upstream release
  221. * Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-2
  222. - new upstream release
  223. * Thu Oct 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
  224. - new upstream release
  225. - BR: bluez-libs-devel >= 4.15
  226. * Thu Oct 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.1-2
  227. - rebuild with bluez-libs-devel-4.15
  228. * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  229. - new upstream release
  230. * Mon Sep 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  231. - new upstream release
  232. * Sat Sep 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.6-1
  233. - new upstream release
  234. - split out backends to sub packages
  235. * Thu Jul 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.1-1
  236. - new upstream release
  237. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2.3-1vl5
  238. - new upstream release
  239. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2.2-1vl5
  240. - Initial build for Vine Linux
  241. * Fri Mar 28 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.2-1
  242. - Update to 0.2.2
  243. * Tue Mar 25 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.1-4
  244. - Moved fuse stuff to a dedicated package
  245. * Thu Mar 20 2008 Alexander Larsson <alexl@redhat.com> - 0.2.1-3
  246. - Add patch with simple archive backend UI integration
  247. * Tue Mar 19 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.1-2
  248. - Added libarchive dependency for archive backend
  249. - Require new libsmbclient in order to get smb backend working again
  250. * Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.1-1
  251. - Update to 0.2.1 (archive backend temporarily disabled)
  252. * Mon Mar 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0.1-2
  253. - Silence %%post
  254. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0.1-1
  255. - Update to 0.2.0.1
  256. * Thu Mar 6 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.1.11-2
  257. - Add patch that fixes a deadlock when foreign volume is removed
  258. * Tue Mar 4 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.11-1
  259. - Update to 0.1.11
  260. * Tue Mar 04 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.1.10-1
  261. - Update to 0.1.10
  262. * Mon Feb 25 2008 Alexander Larsson <alexl@redhat.com> - 0.1.8-1
  263. - Update to 0.1.8
  264. * Thu Feb 14 2008 Alexander Larsson <alexl@redhat.com> - 0.1.7-3
  265. - Add patch that fixes a smb bug that can cause short reads when copying files
  266. * Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.1.7-2
  267. - Fix double free in hal volume monitor
  268. - Ensure gconf module is built by adding build dep
  269. * Mon Feb 11 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.7-1
  270. - Update to 0.1.7
  271. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.6-1
  272. - Update to 0.1.6
  273. * Mon Jan 28 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.5-1
  274. - Update to 0.1.5
  275. - Reenable http/dav
  276. * Mon Jan 21 2008 Alexander Larsson <alexl@redhat.com> - 0.1.4-2
  277. - Remove the http/dav stuff for now, as we don't have the latest libsoup
  278. * Mon Jan 21 2008 Alexander Larsson <alexl@redhat.com> - 0.1.4-1
  279. - Update to 0.1.4
  280. - Send USR1 in post to reload config
  281. * Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 0.1.2-1
  282. - Update to 0.1.2
  283. * Tue Jan 8 2008 Matthias Clasen <mclasen@redhat.com> 0.1.1-1
  284. - Update to 0.1.1
  285. * Thu Dec 20 2007 Matthias Clasen <mclasen@redhat.com> 0.1.0-1
  286. - Initial packaging