gvfs-vl.spec 13 KB

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