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