]>
Commit | Line | Data |
---|---|---|
e6dd543d ER |
1 | # |
2 | # Conditional build: | |
8bc27445 | 3 | %bcond_without doc # docs building and packaging |
77cefd3e | 4 | %bcond_without admin # admin backend |
8bc27445 JB |
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 | |
e2b8b020 | 12 | %bcond_without goa # GOA backend (needed also for google) |
0d3ab9ec | 13 | %bcond_without google # Google backend |
8bc27445 | 14 | %bcond_without gphoto2 # gphoto2 support |
e2b8b020 | 15 | %bcond_without gudev # gudev support (needed for gphoto2, mtp, udisks2) |
8bc27445 | 16 | %bcond_without http # HTTP/DAV backend |
1344f1e5 | 17 | %bcond_without keyring # GNOME Keyring support in gvfs and udisks plugin |
8bc27445 | 18 | %bcond_without mtp # MTP support |
4ff90830 | 19 | %bcond_without nfs # NFS support |
8bc27445 JB |
20 | %bcond_without samba # SMB support |
21 | %bcond_without systemd # libsystemd-login support | |
8bc27445 | 22 | %bcond_without udisks2 # libudisks2 support |
e6dd543d ER |
23 | |
24 | %if %{without gudev} | |
25 | %undefine with_gphoto2 | |
26 | %undefine with_mtp | |
1e7f5020 | 27 | %undefine with_udisks2 |
e6dd543d | 28 | %endif |
e2b8b020 JB |
29 | %if %{without goa} |
30 | %undefine with_google | |
31 | %endif | |
e6dd543d ER |
32 | |
33 | %ifarch s390 s390x | |
34 | %undefine with_afc | |
35 | %endif | |
36 | ||
90581da1 | 37 | Summary: gvfs - userspace virtual filesystem |
be422f41 | 38 | Summary(pl.UTF-8): gvfs - wirtualny system plików w przestrzeni użytkownika |
68c4149a | 39 | Name: gvfs |
33b26965 | 40 | Version: 1.50.2 |
86838514 | 41 | Release: 1 |
27533b72 | 42 | License: LGPL v2+ |
90581da1 | 43 | Group: Libraries |
86838514 | 44 | Source0: https://download.gnome.org/sources/gvfs/1.50/%{name}-%{version}.tar.xz |
33b26965 | 45 | # Source0-md5: 7de73da14e0834c1e39d3b66a3e5b559 |
f5b47f45 | 46 | URL: https://wiki.gnome.org/Projects/gvfs |
e6dd543d ER |
47 | %{?with_avahi:BuildRequires: avahi-devel >= 0.6.22} |
48 | %{?with_avahi:BuildRequires: avahi-glib-devel >= 0.6.22} | |
e6dd543d | 49 | BuildRequires: dbus-devel |
80e40ff0 ER |
50 | %{?with_doc:BuildRequires: docbook-dtd42-xml} |
51 | %{?with_doc:BuildRequires: docbook-style-xsl} | |
0d3ab9ec | 52 | BuildRequires: gcr-devel >= 3 |
e37b74b8 | 53 | BuildRequires: gettext-tools >= 0.19.4 |
86838514 | 54 | BuildRequires: glib2-devel >= 1:2.70.0 |
d1347c89 | 55 | %{?with_goa:BuildRequires: gnome-online-accounts-devel >= 3.18.0} |
69f402c1 | 56 | BuildRequires: gsettings-desktop-schemas-devel >= 3.33.0 |
639ea144 | 57 | BuildRequires: gtk+3-devel >= 3.0 |
e6dd543d ER |
58 | %{?with_archive:BuildRequires: libarchive-devel >= 3.0.22} |
59 | %{?with_bluray:BuildRequires: libbluray-devel} | |
77cefd3e | 60 | %{?with_admin:BuildRequires: libcap-devel} |
e6dd543d | 61 | %{?with_cdda:BuildRequires: libcdio-paranoia-devel >= 0.78.2} |
e2b8b020 | 62 | %{?with_fuse:BuildRequires: libfuse3-devel >= 3.0.0} |
80e40ff0 | 63 | BuildRequires: libgcrypt-devel >= 1.2.2 |
409288ec | 64 | %{?with_google:BuildRequires: libgdata-devel >= 0.18.0} |
e6dd543d | 65 | %{?with_gphoto2:BuildRequires: libgphoto2-devel >= 2.5.0} |
77cefd3e | 66 | %{?with_afc:BuildRequires: libimobiledevice-devel >= 1.2.0} |
69f402c1 | 67 | %{?with_mtp:BuildRequires: libmtp-devel >= 1.1.15} |
e0e341f3 | 68 | %{?with_nfs:BuildRequires: libnfs-devel >= 1.9.8} |
e6dd543d | 69 | %{?with_afc:BuildRequires: libplist-devel >= 0.15} |
e6dd543d | 70 | %{?with_keyring:BuildRequires: libsecret-devel} |
c7157770 | 71 | %{?with_samba:BuildRequires: libsmbclient-devel >= 3.4} |
86838514 | 72 | %{?with_http:BuildRequires: libsoup3-devel >= 3.0.0} |
dd7c5bae | 73 | BuildRequires: libtool >= 2:2.2 |
cb820687 | 74 | BuildRequires: libusb-devel >= 1.0.21 |
77cefd3e | 75 | BuildRequires: libxml2-devel >= 1:2.6.31 |
e6dd543d | 76 | %{?with_doc:BuildRequires: libxslt-progs} |
86838514 | 77 | BuildRequires: meson >= 0.56.0 |
69f402c1 | 78 | BuildRequires: ninja >= 1.5 |
f5b47f45 | 79 | # find_program('ssh') for sftp |
9101291f | 80 | BuildRequires: openssh-clients |
186d6e5a | 81 | BuildRequires: pkgconfig |
d1347c89 | 82 | %{?with_admin:BuildRequires: polkit-devel >= 0.114} |
409288ec | 83 | BuildRequires: rpmbuild(macros) >= 1.736 |
e2b8b020 | 84 | %{?with_systemd:BuildRequires: systemd-devel >= 1:206} |
c416b427 | 85 | BuildRequires: tar >= 1:1.22 |
639ea144 | 86 | BuildRequires: udev-devel >= 1:138 |
c7157770 | 87 | %{?with_gudev:BuildRequires: udev-glib-devel >= 1:147} |
e6dd543d | 88 | %{?with_udisks2:BuildRequires: udisks2-devel >= 1.97.0} |
c416b427 | 89 | BuildRequires: xz |
86838514 | 90 | Requires(post,postun): glib2 >= 1:2.70.0 |
1c242dad | 91 | Requires: %{name}-libs = %{version}-%{release} |
e6dd543d | 92 | %{?with_avahi:Requires: avahi-glib >= 0.6.22} |
69f402c1 | 93 | Requires: gsettings-desktop-schemas >= 3.33.0 |
e6dd543d | 94 | %{?with_cdda:Requires: libcdio-paranoia >= 0.78.2} |
e0e341f3 | 95 | %{?with_nfs:Requires: libnfs >= 1.9.8} |
d441fb53 | 96 | %{?with_http:Requires: libsoup3 >= 3.0.0} |
cb820687 | 97 | Requires: libusb >= 1.0.21 |
dd7c5bae | 98 | Requires: libxml2 >= 1:2.6.31 |
d1347c89 | 99 | Requires: polkit-libs >= 0.114 |
c7157770 | 100 | %{?with_gudev:Requires: udev-glib >= 1:147} |
639ea144 | 101 | Requires: udev-libs >= 1:138 |
e6dd543d ER |
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} | |
0d3ab9ec | 108 | %{?with_google:Suggests: %{name}-google} |
e6dd543d ER |
109 | %{?with_gphoto2:Suggests: %{name}-gphoto2} |
110 | %{?with_mtp:Suggests: %{name}-mtp} | |
111 | %{?with_samba:Suggests: %{name}-smb} | |
cb820687 | 112 | Obsoletes: bash-completion-gvfs |
ec99461d | 113 | Obsoletes: gnome-mount <= 0.8 |
68c4149a PZ |
114 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
115 | ||
90581da1 MB |
116 | %define _libexecdir %{_libdir}/%{name} |
117 | ||
68c4149a | 118 | %description |
90581da1 MB |
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 | |
cf1f9688 | 121 | seamlessly adds gvfs support to all applications using the gio API. |
68c4149a | 122 | |
be422f41 JB |
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ę | |
d05f7866 | 127 | gfvs-a do wszystkich aplikacji używających API gio. |
be422f41 | 128 | |
1c242dad JB |
129 | %package libs |
130 | Summary: Common GVFS shared libraries | |
131 | Summary(pl.UTF-8): Wspólne biblioteki współdzielone GVFS | |
132 | Group: Libraries | |
86838514 | 133 | Requires: glib2 >= 1:2.70.0 |
1c242dad JB |
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 | ||
68c4149a PZ |
142 | %package devel |
143 | Summary: Header files for gvfs library | |
144 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gvfs | |
145 | Group: Development/Libraries | |
1c242dad | 146 | Requires: %{name}-libs = %{version}-%{release} |
86838514 | 147 | Requires: glib2-devel >= 1:2.70.0 |
68c4149a PZ |
148 | |
149 | %description devel | |
150 | Header files for gvfs library. | |
151 | ||
152 | %description devel -l pl.UTF-8 | |
90581da1 | 153 | Pliki nagłówkowe biblioteki gvfs. |
68c4149a | 154 | |
8bc27445 JB |
155 | %package afc |
156 | Summary: AFC support for gvfs | |
157 | Summary(pl.UTF-8): Obsługa AFC dla gvfs | |
cf1f9688 ER |
158 | Group: Libraries |
159 | Requires: %{name} = %{version}-%{release} | |
77cefd3e | 160 | Requires: libimobiledevice >= 1.2.0 |
f5b47f45 | 161 | Requires: libplist >= 0.15 |
8bc27445 | 162 | Requires: usbmuxd |
cf1f9688 | 163 | |
8bc27445 JB |
164 | %description afc |
165 | This package provides support for reading files on mobile devices | |
166 | including phones and music players to applications using gvfs. | |
cf1f9688 | 167 | |
8bc27445 JB |
168 | %description afc -l pl.UTF-8 |
169 | Ten pakiet zapewnia obsługę odczytu plików na urządzeniach | |
170 | przenośnych, w tym telefonach i odtwarzaczach muzyki dla aplikacji | |
171 | wykorzystujących gvfs. | |
6f3eec29 | 172 | |
8bc27445 JB |
173 | %package afp |
174 | Summary: AFP support for gvfs | |
175 | Summary(pl.UTF-8): Obsługa AFP dla gvfs | |
cf1f9688 ER |
176 | Group: Libraries |
177 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 | 178 | |
8bc27445 JB |
179 | %description afp |
180 | This package provides support for reading and writing files on Mac OS | |
181 | X and original Mac OS network shares via Apple Filing Protocol to | |
182 | applications using gvfs. | |
cf1f9688 | 183 | |
8bc27445 | 184 | %description afp -l pl.UTF-8 |
6f3eec29 | 185 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach |
8bc27445 JB |
186 | sieciowych Mac OS X oraz oryginalnego Mac OS poprzez Apple Filing |
187 | Protocol dla aplikacji wykorzystujących gvfs. | |
6f3eec29 | 188 | |
cf1f9688 ER |
189 | %package archive |
190 | Summary: Archiving support for gvfs | |
6f3eec29 | 191 | Summary(pl.UTF-8): Obsługa archiwów dla gvfs |
cf1f9688 ER |
192 | Group: Libraries |
193 | Requires: %{name} = %{version}-%{release} | |
194 | Requires: libarchive >= 3.0.22 | |
195 | ||
196 | %description archive | |
197 | This package provides support for accessing files inside Zip and Tar | |
198 | archives, as well as ISO images, to applications using gvfs. | |
199 | ||
6f3eec29 JB |
200 | %description archive -l pl.UTF-8 |
201 | Ten pakiet zapewnia dostęp do plików wewnątrz archiwów Zip i Tar oraz | |
202 | obrazów ISO dla aplikacji wykorzystujących gvfs. | |
203 | ||
8bc27445 JB |
204 | %package fuse |
205 | Summary: FUSE support for gvfs | |
206 | Summary(pl.UTF-8): Obsługa FUSE dla gvfs | |
207 | Group: Libraries | |
208 | Requires: %{name} = %{version}-%{release} | |
69f402c1 | 209 | Requires: libfuse3 |
8bc27445 JB |
210 | |
211 | %description fuse | |
212 | This package provides support for applications not using gio to access | |
213 | the gvfs filesystems. | |
214 | ||
215 | %description fuse -l pl.UTF-8 | |
216 | Ten pakiet zapewnia obsługę aplikacji nie używających gio do dostępu | |
217 | do systemów plików gvfs. | |
218 | ||
219 | %package goa | |
220 | Summary: GOA support for gvfs | |
221 | Summary(pl.UTF-8): Obsługa GOA dla gvfs | |
222 | Group: Libraries | |
223 | Requires: %{name} = %{version}-%{release} | |
d1347c89 | 224 | Requires: gnome-online-accounts-libs >= 3.18.0 |
8bc27445 JB |
225 | |
226 | %description goa | |
227 | This package provides seamless integration with gnome-online-accounts | |
228 | file services. | |
229 | ||
230 | %description goa -l pl.UTF-8 | |
231 | Ten pakiet zapewnia przezroczystą integrację z usługami plikowymi | |
232 | gnome-online-accounts. | |
233 | ||
0d3ab9ec JB |
234 | %package google |
235 | Summary: Google Drive support for gvfs | |
236 | Summary(pl.UTF-8): Obsługa Google Drive dla gvfs | |
237 | Group: Libraries | |
238 | Requires: %{name} = %{version}-%{release} | |
239 | Requires: gnome-online-accounts-libs >= 3.18.0 | |
409288ec | 240 | Requires: libgdata >= 0.18.0 |
0d3ab9ec JB |
241 | |
242 | %description google | |
243 | This package provides support for Google Drive to applications using | |
244 | gvfs. | |
245 | ||
246 | %description google -l pl.UTF-8 | |
247 | Ten pakiet zapewnia obsługę Google Drive dla aplikacji | |
248 | wykorzystujących gvfs. | |
249 | ||
cf1f9688 ER |
250 | %package gphoto2 |
251 | Summary: gphoto2 support for gvfs | |
6f3eec29 | 252 | Summary(pl.UTF-8): Obsługa gphoto2 dla gvfs |
cf1f9688 ER |
253 | Group: Libraries |
254 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 ER |
255 | |
256 | %description gphoto2 | |
257 | This package provides support for reading and writing files on PTP | |
258 | based cameras (Picture Transfer Protocol) and MTP based media players | |
259 | (Media Transfer Protocol) to applications using gvfs. | |
260 | ||
6f3eec29 JB |
261 | %description gphoto2 -l pl.UTF-8 |
262 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na aparatach | |
263 | obsługujących protokół PTP (Picture Transfer Protocol) oraz | |
264 | odtwarzaczach multimedialnych obsługujących protokół MTP (Media | |
265 | Transfer Protocol) dla aplikacji wykorzystujących gvfs. | |
266 | ||
cf1f9688 ER |
267 | %package mtp |
268 | Summary: MTP support for gvfs | |
6f3eec29 | 269 | Summary(pl.UTF-8): Obsługa MTP dla gvfs |
cf1f9688 ER |
270 | Group: Libraries |
271 | Requires: %{name} = %{version}-%{release} | |
69f402c1 | 272 | Requires: libmtp >= 1.1.15 |
a6f2a210 | 273 | Suggests: udev-libmtp |
cf1f9688 ER |
274 | |
275 | %description mtp | |
276 | This package provides support for reading and writing files on MTP | |
277 | based devices (Media Transfer Protocol) to applications using gvfs. | |
278 | ||
6f3eec29 JB |
279 | %description mtp -l pl.UTF-8 |
280 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na urządzeniach | |
281 | obsługujących protokół MTP (Media Transfer Protocol) dla aplikacji | |
282 | wykorzystujących gvfs. | |
283 | ||
8bc27445 JB |
284 | %package smb |
285 | Summary: Windows fileshare support for gvfs | |
286 | Summary(pl.UTF-8): Obsługa udziałów sieciowych Windows dla gvfs | |
cf1f9688 ER |
287 | Group: Libraries |
288 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 | 289 | |
8bc27445 JB |
290 | %description smb |
291 | This package provides support for reading and writing files on Windows | |
292 | shares (SMB) to applications using gvfs. | |
cf1f9688 | 293 | |
8bc27445 JB |
294 | %description smb -l pl.UTF-8 |
295 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach | |
296 | sieciowych Windows (SMB) dla aplikacji wykorzystujących gvfs. | |
297 | ||
68c4149a PZ |
298 | %prep |
299 | %setup -q | |
300 | ||
301 | %build | |
1c0eacdf JP |
302 | %meson build \ |
303 | -Dadmin=%{?with_admin:true}%{!?with_admin:false} \ | |
304 | -Dafc=%{?with_afc:true}%{!?with_afc:false} \ | |
305 | -Dafp=%{?with_afp:true}%{!?with_afp:false} \ | |
306 | -Darchive=%{?with_archive:true}%{!?with_archive:false} \ | |
639ea144 | 307 | -Ddnssd=%{?with_avahi:true}%{!?with_avahi:false} \ |
1c0eacdf JP |
308 | -Dbluray=%{?with_bluray:true}%{!?with_bluray:false} \ |
309 | -Dcdda=%{?with_cdda:true}%{!?with_cdda:false} \ | |
1c0eacdf | 310 | -Dfuse=%{?with_fuse:true}%{!?with_fuse:false} \ |
1c0eacdf JP |
311 | -Dgoa=%{?with_goa:true}%{!?with_goa:false} \ |
312 | -Dgoogle=%{?with_google:true}%{!?with_google:false} \ | |
313 | -Dgphoto2=%{?with_gphoto2:true}%{!?with_gphoto2:false} \ | |
1c0eacdf JP |
314 | -Dgudev=%{?with_gudev:true}%{!?with_gudev:false} \ |
315 | -Dhttp=%{?with_http:true}%{!?with_http:false} \ | |
316 | -Dkeyring=%{?with_keyring:true}%{!?with_keyring:false} \ | |
639ea144 | 317 | -Dmtp=%{?with_mtp:true}%{!?with_mtp:false} \ |
e2b8b020 | 318 | -Dman=%{?with_doc:true}%{!?with_doc:false} \ |
1c0eacdf | 319 | -Dnfs=%{?with_nfs:true}%{!?with_nfs:false} \ |
c588ce39 | 320 | -Dsmb=%{?with_samba:true}%{!?with_samba:false} \ |
1c0eacdf | 321 | -Dlogind=%{?with_systemd:true}%{!?with_systemd:false} \ |
1c0eacdf JP |
322 | -Dudisks2=%{?with_udisks2:true}%{!?with_udisks2:false} |
323 | ||
409288ec | 324 | %ninja_build -C build |
68c4149a PZ |
325 | |
326 | %install | |
327 | rm -rf $RPM_BUILD_ROOT | |
92e483e9 | 328 | |
03cd8e13 | 329 | install -d $RPM_BUILD_ROOT{%{bash_compdir},%{_datadir}/gvfs/remote-volume-monitors} |
409288ec | 330 | %ninja_install -C build |
90581da1 | 331 | |
68c4149a PZ |
332 | %find_lang gvfs |
333 | ||
334 | %clean | |
335 | rm -rf $RPM_BUILD_ROOT | |
336 | ||
58ca55e5 ER |
337 | # Reload .mount files |
338 | %define reload_mount_files killall -USR1 gvfsd >/dev/null 2>&1 || :; | |
339 | ||
b93fc7b1 | 340 | %post |
48cbb985 | 341 | %glib_compile_schemas |
b93fc7b1 MB |
342 | umask 022 |
343 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
58ca55e5 | 344 | %reload_mount_files |
b93fc7b1 MB |
345 | |
346 | %postun | |
48cbb985 ŁK |
347 | if [ "$1" = "0" ]; then |
348 | %glib_compile_schemas | |
349 | fi | |
b93fc7b1 MB |
350 | umask 022 |
351 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
352 | exit 0 | |
353 | ||
cf1f9688 | 354 | # Reload .mount files when single subpackage is installed: |
8bc27445 | 355 | %post afc |
58ca55e5 | 356 | %reload_mount_files |
cf1f9688 | 357 | |
8bc27445 | 358 | %post archive |
58ca55e5 | 359 | %reload_mount_files |
cf1f9688 | 360 | |
8bc27445 | 361 | %post goa |
58ca55e5 | 362 | %reload_mount_files |
cf1f9688 | 363 | |
0d3ab9ec | 364 | %post google |
58ca55e5 | 365 | %reload_mount_files |
0d3ab9ec | 366 | |
8bc27445 | 367 | %post gphoto2 |
58ca55e5 | 368 | %reload_mount_files |
cf1f9688 | 369 | |
8bc27445 | 370 | %post mtp |
58ca55e5 | 371 | %reload_mount_files |
cf1f9688 | 372 | |
8bc27445 | 373 | %post smb |
7e6cd0f7 | 374 | %glib_compile_schemas |
58ca55e5 | 375 | %reload_mount_files |
cf1f9688 | 376 | |
7e6cd0f7 ER |
377 | %postun smb |
378 | if [ "$1" = "0" ]; then | |
379 | %glib_compile_schemas | |
380 | fi | |
381 | ||
68c4149a PZ |
382 | %files -f gvfs.lang |
383 | %defattr(644,root,root,755) | |
1c0eacdf | 384 | %doc CONTRIBUTING.md NEWS README.md |
af2cc7d7 | 385 | %attr(755,root,root) %{_libdir}/gio/modules/libgioremote-volume-monitor.so |
685c36ca | 386 | %attr(755,root,root) %{_libdir}/gio/modules/libgvfsdbus.so |
1c242dad | 387 | #%dir %{_libexecdir} # equal %{_libdir}/%{name}, packaged in -libs |
685c36ca MB |
388 | %attr(755,root,root) %{_libexecdir}/gvfsd |
389 | %attr(755,root,root) %{_libexecdir}/gvfsd-burn | |
685c36ca | 390 | %attr(755,root,root) %{_libexecdir}/gvfsd-computer |
685c36ca | 391 | %attr(755,root,root) %{_libexecdir}/gvfsd-ftp |
685c36ca | 392 | %attr(755,root,root) %{_libexecdir}/gvfsd-localtest |
a6df7872 | 393 | %attr(755,root,root) %{_libexecdir}/gvfsd-metadata |
685c36ca MB |
394 | %attr(755,root,root) %{_libexecdir}/gvfsd-network |
395 | %attr(755,root,root) %{_libexecdir}/gvfsd-sftp | |
685c36ca | 396 | %attr(755,root,root) %{_libexecdir}/gvfsd-trash |
0d3ab9ec JB |
397 | %{_datadir}/dbus-1/services/org.gtk.vfs.Daemon.service |
398 | %{_datadir}/dbus-1/services/org.gtk.vfs.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 |
0d3ab9ec | 405 | %{_datadir}/gvfs/mounts/ftps.mount |
685c36ca MB |
406 | %{_datadir}/gvfs/mounts/localtest.mount |
407 | %{_datadir}/gvfs/mounts/network.mount | |
408 | %{_datadir}/gvfs/mounts/sftp.mount | |
685c36ca | 409 | %{_datadir}/gvfs/mounts/trash.mount |
48cbb985 | 410 | %{_datadir}/glib-2.0/schemas/org.gnome.system.gvfs.enums.xml |
0d3ab9ec JB |
411 | %{systemduserunitdir}/gvfs-daemon.service |
412 | %{systemduserunitdir}/gvfs-metadata.service | |
e63293ba | 413 | |
77cefd3e MB |
414 | # admin |
415 | %if %{with admin} | |
416 | %attr(755,root,root) %{_libexecdir}/gvfsd-admin | |
417 | %{_datadir}/gvfs/mounts/admin.mount | |
418 | %{_datadir}/polkit-1/actions/org.gtk.vfs.file-operations.policy | |
419 | %{_datadir}/polkit-1/rules.d/org.gtk.vfs.file-operations.rules | |
420 | %endif | |
421 | ||
e63293ba ER |
422 | # cdda |
423 | %if %{with cdda} | |
424 | %attr(755,root,root) %{_libexecdir}/gvfsd-cdda | |
425 | %{_datadir}/gvfs/mounts/cdda.mount | |
426 | %endif | |
427 | ||
428 | # http | |
429 | %if %{with http} | |
430 | %attr(755,root,root) %{_libexecdir}/gvfsd-dav | |
431 | %attr(755,root,root) %{_libexecdir}/gvfsd-http | |
432 | %{_datadir}/gvfs/mounts/http.mount | |
433 | %{_datadir}/gvfs/mounts/dav.mount | |
434 | %{?with_avahi:%{_datadir}/gvfs/mounts/dav+sd.mount} | |
435 | %endif | |
436 | ||
e63293ba | 437 | # gtk |
e63293ba ER |
438 | %attr(755,root,root) %{_libexecdir}/gvfsd-recent |
439 | %{_datadir}/gvfs/mounts/recent.mount | |
e63293ba | 440 | |
4ff90830 JB |
441 | # nfs |
442 | %if %{with nfs} | |
443 | %attr(755,root,root) %{_libexecdir}/gvfsd-nfs | |
444 | %{_datadir}/gvfs/mounts/nfs.mount | |
445 | %endif | |
446 | ||
e63293ba ER |
447 | # udisks2 |
448 | %if %{with udisks2} | |
449 | %attr(755,root,root) %{_libexecdir}/gvfs-udisks2-volume-monitor | |
0d3ab9ec | 450 | %{_datadir}/dbus-1/services/org.gtk.vfs.UDisks2VolumeMonitor.service |
e63293ba | 451 | %{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor |
0d3ab9ec | 452 | %{systemduserunitdir}/gvfs-udisks2-volume-monitor.service |
e63293ba ER |
453 | %endif |
454 | ||
455 | # avahi | |
456 | %if %{with avahi} | |
457 | %attr(755,root,root) %{_libexecdir}/gvfsd-dnssd | |
458 | %{_datadir}/gvfs/mounts/dns-sd.mount | |
459 | %{_datadir}/GConf/gsettings/gvfs-dns-sd.convert | |
460 | %{_datadir}/glib-2.0/schemas/org.gnome.system.dns_sd.gschema.xml | |
461 | %endif | |
462 | ||
80e40ff0 | 463 | %if %{with doc} |
dd7c5bae | 464 | %{_mandir}/man1/gvfsd.1* |
dd7c5bae JB |
465 | %{_mandir}/man1/gvfsd-metadata.1* |
466 | %{_mandir}/man7/gvfs.7* | |
80e40ff0 | 467 | %endif |
68c4149a | 468 | |
1c242dad JB |
469 | %files libs |
470 | %defattr(644,root,root,755) | |
471 | %dir %{_libdir}/%{name} | |
472 | %attr(755,root,root) %{_libdir}/%{name}/libgvfscommon.so | |
473 | %attr(755,root,root) %{_libdir}/%{name}/libgvfsdaemon.so | |
474 | ||
68c4149a PZ |
475 | %files devel |
476 | %defattr(644,root,root,755) | |
477 | %{_includedir}/gvfs-client | |
f0f9e76d | 478 | |
8bc27445 JB |
479 | %if %{with afc} |
480 | %files afc | |
cf1f9688 | 481 | %defattr(644,root,root,755) |
8bc27445 JB |
482 | %attr(755,root,root) %{_libexecdir}/gvfs-afc-volume-monitor |
483 | %attr(755,root,root) %{_libexecdir}/gvfsd-afc | |
0d3ab9ec | 484 | %{_datadir}/dbus-1/services/org.gtk.vfs.AfcVolumeMonitor.service |
8bc27445 | 485 | %{_datadir}/gvfs/mounts/afc.mount |
1c0eacdf | 486 | %{_datadir}/gvfs/mounts/ftpis.mount |
8bc27445 | 487 | %{_datadir}/gvfs/remote-volume-monitors/afc.monitor |
0d3ab9ec | 488 | %{systemduserunitdir}/gvfs-afc-volume-monitor.service |
e6dd543d | 489 | %endif |
cf1f9688 | 490 | |
8bc27445 JB |
491 | %if %{with afp} |
492 | %files afp | |
cf1f9688 | 493 | %defattr(644,root,root,755) |
8bc27445 JB |
494 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp |
495 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp-browse | |
496 | %{_datadir}/gvfs/mounts/afp-browse.mount | |
497 | %{_datadir}/gvfs/mounts/afp.mount | |
e6dd543d | 498 | %endif |
cf1f9688 | 499 | |
e6dd543d | 500 | %if %{with archive} |
cf1f9688 ER |
501 | %files archive |
502 | %defattr(644,root,root,755) | |
503 | %attr(755,root,root) %{_libexecdir}/gvfsd-archive | |
504 | %{_datadir}/gvfs/mounts/archive.mount | |
e6dd543d | 505 | %endif |
cf1f9688 | 506 | |
8bc27445 JB |
507 | %if %{with fuse} |
508 | %files fuse | |
509 | %defattr(644,root,root,755) | |
510 | %attr(755,root,root) %{_libexecdir}/gvfsd-fuse | |
80e40ff0 | 511 | %if %{with doc} |
8bc27445 | 512 | %{_mandir}/man1/gvfsd-fuse.1* |
80e40ff0 | 513 | %endif |
1e7f5020 ER |
514 | %if %{with systemd} |
515 | # FIXME: reusing USE_LIBSYSTEMD_LOGIN as systemd has no universal header or pkg-config file | |
8bc27445 JB |
516 | %{systemdtmpfilesdir}/gvfsd-fuse-tmpfiles.conf |
517 | %endif | |
1e7f5020 | 518 | %endif |
8bc27445 JB |
519 | |
520 | %if %{with goa} | |
521 | %files goa | |
522 | %defattr(644,root,root,755) | |
523 | %attr(755,root,root) %{_libexecdir}/gvfs-goa-volume-monitor | |
0d3ab9ec | 524 | %{_datadir}/dbus-1/services/org.gtk.vfs.GoaVolumeMonitor.service |
8bc27445 | 525 | %{_datadir}/gvfs/remote-volume-monitors/goa.monitor |
0d3ab9ec JB |
526 | %{systemduserunitdir}/gvfs-goa-volume-monitor.service |
527 | %endif | |
528 | ||
529 | %if %{with google} | |
530 | %files google | |
531 | %defattr(644,root,root,755) | |
532 | %attr(755,root,root) %{_libexecdir}/gvfsd-google | |
533 | %{_datadir}/gvfs/mounts/google.mount | |
8bc27445 JB |
534 | %endif |
535 | ||
e6dd543d | 536 | %if %{with gphoto2} |
cf1f9688 ER |
537 | %files gphoto2 |
538 | %defattr(644,root,root,755) | |
539 | %attr(755,root,root) %{_libexecdir}/gvfs-gphoto2-volume-monitor | |
540 | %attr(755,root,root) %{_libexecdir}/gvfsd-gphoto2 | |
0d3ab9ec | 541 | %{_datadir}/dbus-1/services/org.gtk.vfs.GPhoto2VolumeMonitor.service |
cf1f9688 ER |
542 | %{_datadir}/gvfs/mounts/gphoto2.mount |
543 | %{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor | |
0d3ab9ec | 544 | %{systemduserunitdir}/gvfs-gphoto2-volume-monitor.service |
e6dd543d | 545 | %endif |
cf1f9688 | 546 | |
e6dd543d | 547 | %if %{with mtp} |
cf1f9688 ER |
548 | %files mtp |
549 | %defattr(644,root,root,755) | |
550 | %attr(755,root,root) %{_libexecdir}/gvfs-mtp-volume-monitor | |
551 | %attr(755,root,root) %{_libexecdir}/gvfsd-mtp | |
0d3ab9ec | 552 | %{_datadir}/dbus-1/services/org.gtk.vfs.MTPVolumeMonitor.service |
cf1f9688 ER |
553 | %{_datadir}/gvfs/mounts/mtp.mount |
554 | %{_datadir}/gvfs/remote-volume-monitors/mtp.monitor | |
0d3ab9ec | 555 | %{systemduserunitdir}/gvfs-mtp-volume-monitor.service |
e6dd543d | 556 | %endif |
cf1f9688 | 557 | |
8bc27445 JB |
558 | %if %{with samba} |
559 | %files smb | |
cf1f9688 | 560 | %defattr(644,root,root,755) |
8bc27445 JB |
561 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb |
562 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb-browse | |
563 | %{_datadir}/gvfs/mounts/smb-browse.mount | |
564 | %{_datadir}/gvfs/mounts/smb.mount | |
565 | %{_datadir}/glib-2.0/schemas/org.gnome.system.smb.gschema.xml | |
566 | %{_datadir}/GConf/gsettings/gvfs-smb.convert | |
e6dd543d | 567 | %endif |