gvfs-vl.spec 12 KB

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