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