gvfs-vl.spec 14 KB

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