gvfs-vl.spec 12 KB

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