]> git.pld-linux.org Git - packages/gvfs.git/blob - gvfs.spec
b42d38908dba6800a4b729ddbf87b7091d71dd6d
[packages/gvfs.git] / gvfs.spec
1 #
2 # Conditional build:
3 %bcond_without  doc     # docs building and packaging
4 %bcond_without  admin   # admin backend
5 %bcond_without  afc     # AFC backend
6 %bcond_without  afp     # AFP support
7 %bcond_without  archive # archive support
8 %bcond_without  avahi   # DNS-SD / Avahi support
9 %bcond_without  bluray  # bluray metadata support
10 %bcond_without  cdda    # CDDA backend
11 %bcond_without  fuse    # FUSE support
12 %bcond_without  goa     # GOA backend
13 %bcond_without  google  # Google backend
14 %bcond_with     gdu     # GDU (Gnome Disk Utility) volume monitor (3.0.2 <= v < 3.4)
15 %bcond_without  gphoto2 # gphoto2 support
16 %bcond_without  gtk     # GTK+
17 %bcond_without  gudev   # gudev support (if disabled, HAL could be used)
18 %bcond_without  http    # HTTP/DAV backend
19 %bcond_without  keyring # GNOME Keyring support in gvfs and udisks plugin
20 %bcond_without  mtp     # MTP support
21 %bcond_without  nfs     # NFS support
22 %bcond_without  samba   # SMB support
23 %bcond_without  systemd # libsystemd-login support
24 %bcond_without  udev    # udev support (needed also for gphoto2, mtp, udisks2)
25 %bcond_without  udisks2 # libudisks2 support
26
27 %if %{without gudev}
28 %undefine       with_gphoto2
29 %undefine       with_mtp
30 %undefine       with_udisks2
31 %endif
32
33 %ifarch s390 s390x
34 %undefine       with_afc
35 %endif
36
37 Summary:        gvfs - userspace virtual filesystem
38 Summary(pl.UTF-8):      gvfs - wirtualny system plików w przestrzeni użytkownika
39 Name:           gvfs
40 Version:        1.32.1
41 Release:        1
42 License:        LGPL v2+
43 Group:          Libraries
44 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.32/%{name}-%{version}.tar.xz
45 # Source0-md5:  cbe766b46f324e17d7abcfb4a89a1684
46 Patch0:         set_attributes_from_info-v1.patch
47 URL:            https://live.gnome.org/gvfs
48 BuildRequires:  autoconf >= 2.64
49 BuildRequires:  automake >= 1:1.11.1
50 %{?with_avahi:BuildRequires:    avahi-devel >= 0.6.22}
51 %{?with_avahi:BuildRequires:    avahi-glib-devel >= 0.6.22}
52 BuildRequires:  dbus-devel
53 %{?with_doc:BuildRequires:      docbook-dtd42-xml}
54 %{?with_doc:BuildRequires:      docbook-style-xsl}
55 BuildRequires:  gcr-devel >= 3
56 BuildRequires:  gettext-tools >= 0.19.4
57 BuildRequires:  glib2-devel >= 1:2.52.0
58 %{?with_gdu:BuildRequires:      gnome-disk-utility-devel < 3.4}
59 %{?with_gdu:BuildRequires:      gnome-disk-utility-devel >= 3.0.2}
60 %{?with_goa:BuildRequires:      gnome-online-accounts-devel >= 3.8.0}
61 %{?with_google:BuildRequires:   gnome-online-accounts-devel >= 3.18.0}
62 %{?with_gtk:BuildRequires:      gtk+3-devel >= 3.0}
63 %{?with_archive:BuildRequires:  libarchive-devel >= 3.0.22}
64 %{?with_bluray:BuildRequires:   libbluray-devel}
65 %{?with_admin:BuildRequires:    libcap-devel}
66 %{?with_cdda:BuildRequires:     libcdio-paranoia-devel >= 0.78.2}
67 %{?with_fuse:BuildRequires:     libfuse-devel >= 2.8.0}
68 BuildRequires:  libgcrypt-devel >= 1.2.2
69 %{?with_google:BuildRequires:   libgdata-devel >= 0.17.3}
70 %{?with_gphoto2:BuildRequires:  libgphoto2-devel >= 2.5.0}
71 %{?with_afc:BuildRequires:      libimobiledevice-devel >= 1.2.0}
72 %{?with_mtp:BuildRequires:      libmtp-devel >= 1.1.12}
73 %{?with_nfs:BuildRequires:      libnfs-devel >= 1.9.7}
74 %{?with_afc:BuildRequires:      libplist-devel >= 0.15}
75 %{?with_keyring:BuildRequires:  libsecret-devel}
76 %{?with_samba:BuildRequires:    libsmbclient-devel >= 3.4}
77 %{?with_http:BuildRequires:     libsoup-devel >= 2.42.0}
78 BuildRequires:  libtool >= 2:2.2
79 BuildRequires:  libusb-devel >= 1.0.21
80 BuildRequires:  libxml2-devel >= 1:2.6.31
81 %{?with_doc:BuildRequires:      libxslt-progs}
82 BuildRequires:  pkgconfig
83 %{?with_admin:BuildRequires:    polkit-devel}
84 BuildRequires:  rpmbuild(macros) >= 1.592
85 %{?with_systemd:BuildRequires:  systemd-devel >= 206}
86 BuildRequires:  tar >= 1:1.22
87 %{?with_udev:BuildRequires:     udev-devel >= 1:138}
88 %{?with_gudev:BuildRequires:    udev-glib-devel >= 1:147}
89 %{?with_udisks2:BuildRequires:  udisks2-devel >= 1.97.0}
90 BuildRequires:  xz
91 Requires(post,postun):  glib2 >= 1:2.52.0
92 Requires:       %{name}-libs = %{version}-%{release}
93 %{?with_avahi:Requires: avahi-glib >= 0.6.22}
94 %{?with_cdda:Requires:  libcdio-paranoia >= 0.78.2}
95 %{?with_nfs:Requires:   libnfs >= 1.9.7}
96 Requires:       libplist >= 0.15
97 Requires:       libsoup >= 2.42.0
98 Requires:       libusb >= 1.0.21
99 Requires:       libxml2 >= 1:2.6.31
100 %{?with_gudev:Requires: udev-glib >= 1:147}
101 %{?with_udev:Requires:  udev-libs >= 1:138}
102 %{?with_udisks2:Requires:       udisks2 >= 1.97.0}
103 %{?with_afc:Suggests:   %{name}-afc}
104 %{?with_afp:Suggests:   %{name}-afp}
105 %{?with_archive:Suggests:       %{name}-archive}
106 %{?with_fuse:Suggests:  %{name}-fuse}
107 %{?with_goa:Suggests:   %{name}-goa}
108 %{?with_google:Suggests:        %{name}-google}
109 %{?with_gphoto2:Suggests:       %{name}-gphoto2}
110 %{?with_mtp:Suggests:   %{name}-mtp}
111 %{?with_samba:Suggests: %{name}-smb}
112 Obsoletes:      bash-completion-gvfs
113 Obsoletes:      gnome-mount <= 0.8
114 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
115
116 %define         _libexecdir     %{_libdir}/%{name}
117
118 %description
119 gvfs is a userspace virtual filesystem where mount runs as a separate
120 processes which you talk to via D-BUS. It contains a gio module that
121 seamlessly adds gvfs support to all applications using the gio API.
122
123 %description -l pl.UTF-8
124 gvfs to wirtualny system plik w przestrzeni użytkownika. Montowanie w
125 nim działa jako oddzielny proces, z którym komunikacja odbywa się
126 przez D-BUS. Zawiera moduł gio dodający w sposób przezroczysty obsługę
127 gfvs-a do wszystkich aplikacji używających API gio.
128
129 %package libs
130 Summary:        Common GVFS shared libraries
131 Summary(pl.UTF-8):      Wspólne biblioteki współdzielone GVFS
132 Group:          Libraries
133 Requires:       glib2 >= 1:2.52.0
134 Conflicts:      gvfs < 1.22.3-2
135
136 %description libs
137 Common GVFS (private) shared libraries.
138
139 %description libs -l pl.UTF-8
140 Wspólne (prywatne) biblioteki współdzielone GVFS.
141
142 %package devel
143 Summary:        Header files for gvfs library
144 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki gvfs
145 Group:          Development/Libraries
146 Requires:       %{name}-libs = %{version}-%{release}
147 Requires:       glib2-devel >= 1:2.52.0
148
149 %description devel
150 Header files for gvfs library.
151
152 %description devel -l pl.UTF-8
153 Pliki nagłówkowe biblioteki gvfs.
154
155 %package afc
156 Summary:        AFC support for gvfs
157 Summary(pl.UTF-8):      Obsługa AFC dla gvfs
158 Group:          Libraries
159 Requires:       %{name} = %{version}-%{release}
160 Requires:       libimobiledevice >= 1.2.0
161 Requires:       usbmuxd
162
163 %description afc
164 This package provides support for reading files on mobile devices
165 including phones and music players to applications using gvfs.
166
167 %description afc -l pl.UTF-8
168 Ten pakiet zapewnia obsługę odczytu plików na urządzeniach
169 przenośnych, w tym telefonach i odtwarzaczach muzyki dla aplikacji
170 wykorzystujących gvfs.
171
172 %package afp
173 Summary:        AFP support for gvfs
174 Summary(pl.UTF-8):      Obsługa AFP dla gvfs
175 Group:          Libraries
176 Requires:       %{name} = %{version}-%{release}
177
178 %description afp
179 This package provides support for reading and writing files on Mac OS
180 X and original Mac OS network shares via Apple Filing Protocol to
181 applications using gvfs.
182
183 %description afp -l pl.UTF-8
184 Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach
185 sieciowych Mac OS X oraz oryginalnego Mac OS poprzez Apple Filing
186 Protocol dla aplikacji wykorzystujących gvfs.
187
188 %package archive
189 Summary:        Archiving support for gvfs
190 Summary(pl.UTF-8):      Obsługa archiwów dla gvfs
191 Group:          Libraries
192 Requires:       %{name} = %{version}-%{release}
193 Requires:       libarchive >= 3.0.22
194
195 %description archive
196 This package provides support for accessing files inside Zip and Tar
197 archives, as well as ISO images, to applications using gvfs.
198
199 %description archive -l pl.UTF-8
200 Ten pakiet zapewnia dostęp do plików wewnątrz archiwów Zip i Tar oraz
201 obrazów ISO dla aplikacji wykorzystujących gvfs.
202
203 %package fuse
204 Summary:        FUSE support for gvfs
205 Summary(pl.UTF-8):      Obsługa FUSE dla gvfs
206 Group:          Libraries
207 Requires:       %{name} = %{version}-%{release}
208 Requires:       libfuse >= 2.8.0
209
210 %description fuse
211 This package provides support for applications not using gio to access
212 the gvfs filesystems.
213
214 %description fuse -l pl.UTF-8
215 Ten pakiet zapewnia obsługę aplikacji nie używających gio do dostępu
216 do systemów plików gvfs.
217
218 %package goa
219 Summary:        GOA support for gvfs
220 Summary(pl.UTF-8):      Obsługa GOA dla gvfs
221 Group:          Libraries
222 Requires:       %{name} = %{version}-%{release}
223 Requires:       gnome-online-accounts-libs >= 3.8.0
224
225 %description goa
226 This package provides seamless integration with gnome-online-accounts
227 file services.
228
229 %description goa -l pl.UTF-8
230 Ten pakiet zapewnia przezroczystą integrację z usługami plikowymi
231 gnome-online-accounts.
232
233 %package google
234 Summary:        Google Drive support for gvfs
235 Summary(pl.UTF-8):      Obsługa Google Drive dla gvfs
236 Group:          Libraries
237 Requires:       %{name} = %{version}-%{release}
238 Requires:       gnome-online-accounts-libs >= 3.18.0
239 Requires:       libgdata >= 0.17.3
240
241 %description google
242 This package provides support for Google Drive to applications using
243 gvfs.
244
245 %description google -l pl.UTF-8
246 Ten pakiet zapewnia obsługę Google Drive dla aplikacji
247 wykorzystujących gvfs.
248
249 %package gphoto2
250 Summary:        gphoto2 support for gvfs
251 Summary(pl.UTF-8):      Obsługa gphoto2 dla gvfs
252 Group:          Libraries
253 Requires:       %{name} = %{version}-%{release}
254
255 %description gphoto2
256 This package provides support for reading and writing files on PTP
257 based cameras (Picture Transfer Protocol) and MTP based media players
258 (Media Transfer Protocol) to applications using gvfs.
259
260 %description gphoto2 -l pl.UTF-8
261 Ten pakiet zapewnia obsługę odczytu i zapisu plików na aparatach
262 obsługujących protokół PTP (Picture Transfer Protocol) oraz
263 odtwarzaczach multimedialnych obsługujących protokół MTP (Media
264 Transfer Protocol) dla aplikacji wykorzystujących gvfs.
265
266 %package mtp
267 Summary:        MTP support for gvfs
268 Summary(pl.UTF-8):      Obsługa MTP dla gvfs
269 Group:          Libraries
270 Requires:       %{name} = %{version}-%{release}
271 Requires:       libmtp >= 1.1.12
272
273 %description mtp
274 This package provides support for reading and writing files on MTP
275 based devices (Media Transfer Protocol) to applications using gvfs.
276
277 %description mtp -l pl.UTF-8
278 Ten pakiet zapewnia obsługę odczytu i zapisu plików na urządzeniach
279 obsługujących protokół MTP (Media Transfer Protocol) dla aplikacji
280 wykorzystujących gvfs.
281
282 %package smb
283 Summary:        Windows fileshare support for gvfs
284 Summary(pl.UTF-8):      Obsługa udziałów sieciowych Windows dla gvfs
285 Group:          Libraries
286 Requires:       %{name} = %{version}-%{release}
287
288 %description smb
289 This package provides support for reading and writing files on Windows
290 shares (SMB) to applications using gvfs.
291
292 %description smb -l pl.UTF-8
293 Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach
294 sieciowych Windows (SMB) dla aplikacji wykorzystujących gvfs.
295
296 %prep
297 %setup -q
298 %patch0 -p1
299
300 %build
301 %{__libtoolize}
302 %{__aclocal}
303 %{__autoconf}
304 %{__autoheader}
305 %{__automake}
306 %configure \
307         SSH_PROGRAM=/usr/bin/ssh \
308         %{__enable_disable admin} \
309         %{__enable_disable afc} \
310         %{__enable_disable afp} \
311         %{__enable_disable archive} \
312         %{__enable_disable avahi} \
313         %{__enable_disable bluray} \
314         %{__enable_disable cdda} \
315         %{__enable_disable doc documentation} \
316         %{__enable_disable fuse} \
317         %{__enable_disable gdu} \
318         %{__enable_disable goa} \
319         %{__enable_disable google} \
320         %{__enable_disable gphoto2} \
321         %{__enable_disable gtk} \
322         %{__enable_disable gudev} \
323         %{__enable_disable http} \
324         %{__enable_disable keyring} \
325         %{__enable_disable mtp libmtp} \
326         %{__enable_disable nfs} \
327         %{__enable_disable samba} \
328         %{__enable_disable systemd libsystemd-login} \
329         %{__enable_disable udev} \
330         %{__enable_disable udisks2} \
331         --disable-silent-rules
332
333 %{__make}
334
335 %install
336 rm -rf $RPM_BUILD_ROOT
337
338 install -d $RPM_BUILD_ROOT%{bash_compdir}
339 %{__make} install \
340         DESTDIR=$RPM_BUILD_ROOT
341
342 %{__rm} $RPM_BUILD_ROOT%{_libdir}/{gio/modules,gvfs}/*.la
343
344 %find_lang gvfs
345
346 %clean
347 rm -rf $RPM_BUILD_ROOT
348
349 # Reload .mount files
350 %define reload_mount_files killall -USR1 gvfsd >/dev/null 2>&1 || :;
351
352 %post
353 %glib_compile_schemas
354 umask 022
355 %{_bindir}/gio-querymodules %{_libdir}/gio/modules
356 %reload_mount_files
357
358 %postun
359 if [ "$1" = "0" ]; then
360         %glib_compile_schemas
361 fi
362 umask 022
363 %{_bindir}/gio-querymodules %{_libdir}/gio/modules
364 exit 0
365
366 # Reload .mount files when single subpackage is installed:
367 %post afc
368 %reload_mount_files
369
370 %post archive
371 %reload_mount_files
372
373 %post goa
374 %reload_mount_files
375
376 %post google
377 %reload_mount_files
378
379 %post gphoto2
380 %reload_mount_files
381
382 %post mtp
383 %reload_mount_files
384
385 %post smb
386 %glib_compile_schemas
387 %reload_mount_files
388
389 %postun smb
390 if [ "$1" = "0" ]; then
391         %glib_compile_schemas
392 fi
393
394 %files -f gvfs.lang
395 %defattr(644,root,root,755)
396 %doc AUTHORS ChangeLog NEWS README
397 %attr(755,root,root) %{_bindir}/gvfs-cat
398 %attr(755,root,root) %{_bindir}/gvfs-copy
399 %attr(755,root,root) %{_bindir}/gvfs-info
400 %attr(755,root,root) %{_bindir}/gvfs-less
401 %attr(755,root,root) %{_bindir}/gvfs-ls
402 %attr(755,root,root) %{_bindir}/gvfs-mime
403 %attr(755,root,root) %{_bindir}/gvfs-mkdir
404 %attr(755,root,root) %{_bindir}/gvfs-monitor-dir
405 %attr(755,root,root) %{_bindir}/gvfs-monitor-file
406 %attr(755,root,root) %{_bindir}/gvfs-mount
407 %attr(755,root,root) %{_bindir}/gvfs-move
408 %attr(755,root,root) %{_bindir}/gvfs-open
409 %attr(755,root,root) %{_bindir}/gvfs-rename
410 %attr(755,root,root) %{_bindir}/gvfs-rm
411 %attr(755,root,root) %{_bindir}/gvfs-save
412 %attr(755,root,root) %{_bindir}/gvfs-set-attribute
413 %attr(755,root,root) %{_bindir}/gvfs-trash
414 %attr(755,root,root) %{_bindir}/gvfs-tree
415 %attr(755,root,root) %{_libdir}/gio/modules/libgioremote-volume-monitor.so
416 %attr(755,root,root) %{_libdir}/gio/modules/libgvfsdbus.so
417 #%dir %{_libexecdir}  # equal %{_libdir}/%{name}, packaged in -libs
418 %attr(755,root,root) %{_libexecdir}/gvfsd
419 %attr(755,root,root) %{_libexecdir}/gvfsd-burn
420 %attr(755,root,root) %{_libexecdir}/gvfsd-computer
421 %attr(755,root,root) %{_libexecdir}/gvfsd-ftp
422 %attr(755,root,root) %{_libexecdir}/gvfsd-localtest
423 %attr(755,root,root) %{_libexecdir}/gvfsd-metadata
424 %attr(755,root,root) %{_libexecdir}/gvfsd-network
425 %attr(755,root,root) %{_libexecdir}/gvfsd-sftp
426 %attr(755,root,root) %{_libexecdir}/gvfsd-trash
427 %{_datadir}/dbus-1/services/org.gtk.vfs.Daemon.service
428 %{_datadir}/dbus-1/services/org.gtk.vfs.Metadata.service
429 %dir %{_datadir}/gvfs
430 %dir %{_datadir}/gvfs/mounts
431 %dir %{_datadir}/gvfs/remote-volume-monitors
432 %{_datadir}/gvfs/mounts/burn.mount
433 %{_datadir}/gvfs/mounts/computer.mount
434 %{_datadir}/gvfs/mounts/ftp.mount
435 %{_datadir}/gvfs/mounts/ftps.mount
436 %{_datadir}/gvfs/mounts/localtest.mount
437 %{_datadir}/gvfs/mounts/network.mount
438 %{_datadir}/gvfs/mounts/sftp.mount
439 %{_datadir}/gvfs/mounts/trash.mount
440 %{_datadir}/glib-2.0/schemas/org.gnome.system.gvfs.enums.xml
441 %{systemduserunitdir}/gvfs-daemon.service
442 %{systemduserunitdir}/gvfs-metadata.service
443
444 # admin
445 %if %{with admin}
446 %attr(755,root,root) %{_libexecdir}/gvfsd-admin
447 %{_datadir}/gvfs/mounts/admin.mount
448 %{_datadir}/polkit-1/actions/org.gtk.vfs.file-operations.policy
449 %{_datadir}/polkit-1/rules.d/org.gtk.vfs.file-operations.rules
450 %endif
451
452 # cdda
453 %if %{with cdda}
454 %attr(755,root,root) %{_libexecdir}/gvfsd-cdda
455 %{_datadir}/gvfs/mounts/cdda.mount
456 %endif
457
458 # http
459 %if %{with http}
460 %attr(755,root,root) %{_libexecdir}/gvfsd-dav
461 %attr(755,root,root) %{_libexecdir}/gvfsd-http
462 %{_datadir}/gvfs/mounts/http.mount
463 %{_datadir}/gvfs/mounts/dav.mount
464 %{?with_avahi:%{_datadir}/gvfs/mounts/dav+sd.mount}
465 %endif
466
467 # gtk
468 %if %{with gtk}
469 %attr(755,root,root) %{_libexecdir}/gvfsd-recent
470 %{_datadir}/gvfs/mounts/recent.mount
471 %endif
472
473 # nfs
474 %if %{with nfs}
475 %attr(755,root,root) %{_libexecdir}/gvfsd-nfs
476 %{_datadir}/gvfs/mounts/nfs.mount
477 %endif
478
479 # udisks2
480 %if %{with udisks2}
481 %attr(755,root,root) %{_libexecdir}/gvfs-udisks2-volume-monitor
482 %{_datadir}/dbus-1/services/org.gtk.vfs.UDisks2VolumeMonitor.service
483 %{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor
484 %{systemduserunitdir}/gvfs-udisks2-volume-monitor.service
485 %endif
486
487 # avahi
488 %if %{with avahi}
489 %attr(755,root,root) %{_libexecdir}/gvfsd-dnssd
490 %{_datadir}/gvfs/mounts/dns-sd.mount
491 %{_datadir}/GConf/gsettings/gvfs-dns-sd.convert
492 %{_datadir}/glib-2.0/schemas/org.gnome.system.dns_sd.gschema.xml
493 %endif
494
495 %if %{with doc}
496 %{_mandir}/man1/gvfs-*.1*
497 %{_mandir}/man1/gvfsd.1*
498 %{_mandir}/man1/gvfsd-metadata.1*
499 %{_mandir}/man7/gvfs.7*
500 %endif
501
502 %files libs
503 %defattr(644,root,root,755)
504 %dir %{_libdir}/%{name}
505 %attr(755,root,root) %{_libdir}/%{name}/libgvfscommon.so
506 %attr(755,root,root) %{_libdir}/%{name}/libgvfsdaemon.so
507
508 %files devel
509 %defattr(644,root,root,755)
510 %{_includedir}/gvfs-client
511
512 %if %{with afc}
513 %files afc
514 %defattr(644,root,root,755)
515 %attr(755,root,root) %{_libexecdir}/gvfs-afc-volume-monitor
516 %attr(755,root,root) %{_libexecdir}/gvfsd-afc
517 %{_datadir}/dbus-1/services/org.gtk.vfs.AfcVolumeMonitor.service
518 %{_datadir}/gvfs/mounts/afc.mount
519 %{_datadir}/gvfs/remote-volume-monitors/afc.monitor
520 %{systemduserunitdir}/gvfs-afc-volume-monitor.service
521 %endif
522
523 %if %{with afp}
524 %files afp
525 %defattr(644,root,root,755)
526 %attr(755,root,root) %{_libexecdir}/gvfsd-afp
527 %attr(755,root,root) %{_libexecdir}/gvfsd-afp-browse
528 %{_datadir}/gvfs/mounts/afp-browse.mount
529 %{_datadir}/gvfs/mounts/afp.mount
530 %endif
531
532 %if %{with archive}
533 %files archive
534 %defattr(644,root,root,755)
535 %attr(755,root,root) %{_libexecdir}/gvfsd-archive
536 %{_datadir}/gvfs/mounts/archive.mount
537 %endif
538
539 %if %{with fuse}
540 %files fuse
541 %defattr(644,root,root,755)
542 %attr(755,root,root) %{_libexecdir}/gvfsd-fuse
543 %if %{with doc}
544 %{_mandir}/man1/gvfsd-fuse.1*
545 %endif
546 %if %{with systemd}
547 # FIXME: reusing USE_LIBSYSTEMD_LOGIN as systemd has no universal header or pkg-config file
548 %{systemdtmpfilesdir}/gvfsd-fuse-tmpfiles.conf
549 %endif
550 %endif
551
552 %if %{with goa}
553 %files goa
554 %defattr(644,root,root,755)
555 %attr(755,root,root) %{_libexecdir}/gvfs-goa-volume-monitor
556 %{_datadir}/dbus-1/services/org.gtk.vfs.GoaVolumeMonitor.service
557 %{_datadir}/gvfs/remote-volume-monitors/goa.monitor
558 %{systemduserunitdir}/gvfs-goa-volume-monitor.service
559 %endif
560
561 %if %{with google}
562 %files google
563 %defattr(644,root,root,755)
564 %attr(755,root,root) %{_libexecdir}/gvfsd-google
565 %{_datadir}/gvfs/mounts/google.mount
566 %endif
567
568 %if %{with gphoto2}
569 %files gphoto2
570 %defattr(644,root,root,755)
571 %attr(755,root,root) %{_libexecdir}/gvfs-gphoto2-volume-monitor
572 %attr(755,root,root) %{_libexecdir}/gvfsd-gphoto2
573 %{_datadir}/dbus-1/services/org.gtk.vfs.GPhoto2VolumeMonitor.service
574 %{_datadir}/gvfs/mounts/gphoto2.mount
575 %{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor
576 %{systemduserunitdir}/gvfs-gphoto2-volume-monitor.service
577 %endif
578
579 %if %{with mtp}
580 %files mtp
581 %defattr(644,root,root,755)
582 %attr(755,root,root) %{_libexecdir}/gvfs-mtp-volume-monitor
583 %attr(755,root,root) %{_libexecdir}/gvfsd-mtp
584 %{_datadir}/dbus-1/services/org.gtk.vfs.MTPVolumeMonitor.service
585 %{_datadir}/gvfs/mounts/mtp.mount
586 %{_datadir}/gvfs/remote-volume-monitors/mtp.monitor
587 %{systemduserunitdir}/gvfs-mtp-volume-monitor.service
588 %endif
589
590 %if %{with samba}
591 %files smb
592 %defattr(644,root,root,755)
593 %attr(755,root,root) %{_libexecdir}/gvfsd-smb
594 %attr(755,root,root) %{_libexecdir}/gvfsd-smb-browse
595 %{_datadir}/gvfs/mounts/smb-browse.mount
596 %{_datadir}/gvfs/mounts/smb.mount
597 %{_datadir}/glib-2.0/schemas/org.gnome.system.smb.gschema.xml
598 %{_datadir}/GConf/gsettings/gvfs-smb.convert
599 %endif
This page took 0.161192 seconds and 2 git commands to generate.