]>
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 |
1ee36261 | 38 | Version: 1.18.3 |
cf1f9688 | 39 | Release: 5 |
27533b72 | 40 | License: LGPL v2+ |
90581da1 | 41 | Group: Libraries |
249c8916 | 42 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.18/%{name}-%{version}.tar.xz |
1ee36261 | 43 | # Source0-md5: 3620baa478f1748bd32d2f47bcbe30d0 |
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} | |
74 | %{?with_http:BuildRequires: libsoup-gnome-devel >= 2.34.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 |
68c4149a | 87 | Requires: %{name}-libs = %{version}-%{release} |
e6dd543d ER |
88 | %{?with_avahi:Requires: avahi-glib >= 0.6.22} |
89 | %{?with_cdda:Requires: cdparanoia-III-libs >= 1:10} | |
90 | %{?with_cdda:Requires: libcdio-paranoia >= 0.78.2} | |
dd7c5bae JB |
91 | Requires: libplist >= 0.15 |
92 | Requires: libsoup-gnome >= 2.34.0 | |
93 | Requires: libxml2 >= 1:2.6.31 | |
94 | Requires: udev-libs >= 1:138 | |
e6dd543d ER |
95 | %{?with_udisks2:Requires: udisks2 >= 1.97.0} |
96 | %{?with_afc:Suggests: %{name}-afc} | |
97 | %{?with_afp:Suggests: %{name}-afp} | |
98 | %{?with_archive:Suggests: %{name}-archive} | |
99 | %{?with_fuse:Suggests: %{name}-fuse} | |
100 | %{?with_goa:Suggests: %{name}-goa} | |
101 | %{?with_gphoto2:Suggests: %{name}-gphoto2} | |
102 | %{?with_mtp:Suggests: %{name}-mtp} | |
103 | %{?with_samba:Suggests: %{name}-smb} | |
104 | %{?with_obexftp:Suggests: obex-data-server >= 0.4} | |
ec99461d | 105 | Obsoletes: gnome-mount <= 0.8 |
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 | 121 | %package libs |
90581da1 MB |
122 | Summary: gvfs libraries |
123 | Summary(pl.UTF-8): Biblioteki gvfs | |
68c4149a | 124 | Group: Libraries |
249c8916 | 125 | Requires: glib2 >= 1:2.38.0 |
68c4149a PZ |
126 | |
127 | %description libs | |
90581da1 MB |
128 | gvfs libraries. |
129 | ||
130 | %description libs -l pl.UTF-8 | |
131 | Biblioteki gvfs. | |
68c4149a PZ |
132 | |
133 | %package devel | |
134 | Summary: Header files for gvfs library | |
135 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gvfs | |
136 | Group: Development/Libraries | |
137 | Requires: %{name}-libs = %{version}-%{release} | |
249c8916 | 138 | Requires: glib2-devel >= 1:2.38.0 |
68c4149a PZ |
139 | |
140 | %description devel | |
141 | Header files for gvfs library. | |
142 | ||
143 | %description devel -l pl.UTF-8 | |
90581da1 | 144 | Pliki nagłówkowe biblioteki gvfs. |
68c4149a | 145 | |
8bc27445 JB |
146 | %package afc |
147 | Summary: AFC support for gvfs | |
148 | Summary(pl.UTF-8): Obsługa AFC dla gvfs | |
cf1f9688 ER |
149 | Group: Libraries |
150 | Requires: %{name} = %{version}-%{release} | |
8bc27445 JB |
151 | Requires: libimobiledevice >= 1.1.5 |
152 | Requires: usbmuxd | |
cf1f9688 | 153 | |
8bc27445 JB |
154 | %description afc |
155 | This package provides support for reading files on mobile devices | |
156 | including phones and music players to applications using gvfs. | |
cf1f9688 | 157 | |
8bc27445 JB |
158 | %description afc -l pl.UTF-8 |
159 | Ten pakiet zapewnia obsługę odczytu plików na urządzeniach | |
160 | przenośnych, w tym telefonach i odtwarzaczach muzyki dla aplikacji | |
161 | wykorzystujących gvfs. | |
6f3eec29 | 162 | |
8bc27445 JB |
163 | %package afp |
164 | Summary: AFP support for gvfs | |
165 | Summary(pl.UTF-8): Obsługa AFP dla gvfs | |
cf1f9688 ER |
166 | Group: Libraries |
167 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 | 168 | |
8bc27445 JB |
169 | %description afp |
170 | This package provides support for reading and writing files on Mac OS | |
171 | X and original Mac OS network shares via Apple Filing Protocol to | |
172 | applications using gvfs. | |
cf1f9688 | 173 | |
8bc27445 | 174 | %description afp -l pl.UTF-8 |
6f3eec29 | 175 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach |
8bc27445 JB |
176 | sieciowych Mac OS X oraz oryginalnego Mac OS poprzez Apple Filing |
177 | Protocol dla aplikacji wykorzystujących gvfs. | |
6f3eec29 | 178 | |
cf1f9688 ER |
179 | %package archive |
180 | Summary: Archiving support for gvfs | |
6f3eec29 | 181 | Summary(pl.UTF-8): Obsługa archiwów dla gvfs |
cf1f9688 ER |
182 | Group: Libraries |
183 | Requires: %{name} = %{version}-%{release} | |
184 | Requires: libarchive >= 3.0.22 | |
185 | ||
186 | %description archive | |
187 | This package provides support for accessing files inside Zip and Tar | |
188 | archives, as well as ISO images, to applications using gvfs. | |
189 | ||
6f3eec29 JB |
190 | %description archive -l pl.UTF-8 |
191 | Ten pakiet zapewnia dostęp do plików wewnątrz archiwów Zip i Tar oraz | |
192 | obrazów ISO dla aplikacji wykorzystujących gvfs. | |
193 | ||
8bc27445 JB |
194 | %package fuse |
195 | Summary: FUSE support for gvfs | |
196 | Summary(pl.UTF-8): Obsługa FUSE dla gvfs | |
197 | Group: Libraries | |
198 | Requires: %{name} = %{version}-%{release} | |
199 | Requires: libfuse | |
200 | ||
201 | %description fuse | |
202 | This package provides support for applications not using gio to access | |
203 | the gvfs filesystems. | |
204 | ||
205 | %description fuse -l pl.UTF-8 | |
206 | Ten pakiet zapewnia obsługę aplikacji nie używających gio do dostępu | |
207 | do systemów plików gvfs. | |
208 | ||
209 | %package goa | |
210 | Summary: GOA support for gvfs | |
211 | Summary(pl.UTF-8): Obsługa GOA dla gvfs | |
212 | Group: Libraries | |
213 | Requires: %{name} = %{version}-%{release} | |
214 | Requires: gnome-online-accounts-libs >= 3.8.0 | |
215 | ||
216 | %description goa | |
217 | This package provides seamless integration with gnome-online-accounts | |
218 | file services. | |
219 | ||
220 | %description goa -l pl.UTF-8 | |
221 | Ten pakiet zapewnia przezroczystą integrację z usługami plikowymi | |
222 | gnome-online-accounts. | |
223 | ||
cf1f9688 ER |
224 | %package gphoto2 |
225 | Summary: gphoto2 support for gvfs | |
6f3eec29 | 226 | Summary(pl.UTF-8): Obsługa gphoto2 dla gvfs |
cf1f9688 ER |
227 | Group: Libraries |
228 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 ER |
229 | |
230 | %description gphoto2 | |
231 | This package provides support for reading and writing files on PTP | |
232 | based cameras (Picture Transfer Protocol) and MTP based media players | |
233 | (Media Transfer Protocol) to applications using gvfs. | |
234 | ||
6f3eec29 JB |
235 | %description gphoto2 -l pl.UTF-8 |
236 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na aparatach | |
237 | obsługujących protokół PTP (Picture Transfer Protocol) oraz | |
238 | odtwarzaczach multimedialnych obsługujących protokół MTP (Media | |
239 | Transfer Protocol) dla aplikacji wykorzystujących gvfs. | |
240 | ||
cf1f9688 ER |
241 | %package mtp |
242 | Summary: MTP support for gvfs | |
6f3eec29 | 243 | Summary(pl.UTF-8): Obsługa MTP dla gvfs |
cf1f9688 ER |
244 | Group: Libraries |
245 | Requires: %{name} = %{version}-%{release} | |
e6dd543d | 246 | Requires: libmtp >= 1.1.6 |
cf1f9688 ER |
247 | |
248 | %description mtp | |
249 | This package provides support for reading and writing files on MTP | |
250 | based devices (Media Transfer Protocol) to applications using gvfs. | |
251 | ||
6f3eec29 JB |
252 | %description mtp -l pl.UTF-8 |
253 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na urządzeniach | |
254 | obsługujących protokół MTP (Media Transfer Protocol) dla aplikacji | |
255 | wykorzystujących gvfs. | |
256 | ||
8bc27445 JB |
257 | %package smb |
258 | Summary: Windows fileshare support for gvfs | |
259 | Summary(pl.UTF-8): Obsługa udziałów sieciowych Windows dla gvfs | |
cf1f9688 ER |
260 | Group: Libraries |
261 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 | 262 | |
8bc27445 JB |
263 | %description smb |
264 | This package provides support for reading and writing files on Windows | |
265 | shares (SMB) to applications using gvfs. | |
cf1f9688 | 266 | |
8bc27445 JB |
267 | %description smb -l pl.UTF-8 |
268 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach | |
269 | sieciowych Windows (SMB) dla aplikacji wykorzystujących gvfs. | |
270 | ||
271 | %package -n bash-completion-gvfs | |
272 | Summary: bash-completion for gvfs | |
273 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gvfs | |
274 | Group: Applications/Shells | |
275 | Requires: %{name} = %{version}-%{release} | |
276 | Requires: bash-completion >= 2 | |
277 | ||
278 | %description -n bash-completion-gvfs | |
279 | This package provides bash-completion for gvfs. | |
280 | ||
281 | %description -n bash-completion-gvfs -l pl.UTF-8 | |
282 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla gvfs. | |
6f3eec29 | 283 | |
68c4149a PZ |
284 | %prep |
285 | %setup -q | |
6a9ad26a | 286 | %patch0 -p1 |
68c4149a PZ |
287 | |
288 | %build | |
27533b72 | 289 | %{__intltoolize} |
68c4149a PZ |
290 | %{__libtoolize} |
291 | %{__aclocal} | |
292 | %{__autoconf} | |
293 | %{__autoheader} | |
294 | %{__automake} | |
f0f9e76d | 295 | %configure \ |
e6dd543d ER |
296 | SSH_PROGRAM=/usr/bin/ssh \ |
297 | %{__enable_disable afc} \ | |
298 | %{__enable_disable afp} \ | |
299 | %{__enable_disable archive} \ | |
300 | %{__enable_disable avahi} \ | |
301 | %{__enable_disable bluray} \ | |
302 | %{__enable_disable cdda} \ | |
12da82a5 | 303 | %{__enable_disable doc documentation} \ |
e6dd543d ER |
304 | %{__enable_disable fuse} \ |
305 | %{__enable_disable gdu} \ | |
306 | %{__enable_disable goa} \ | |
307 | %{__enable_disable gphoto2} \ | |
308 | %{__enable_disable gtk} \ | |
309 | %{__enable_disable gudev} \ | |
310 | %{__enable_disable http} \ | |
311 | %{__enable_disable keyring} \ | |
12da82a5 | 312 | %{__enable_disable mtp libmtp} \ |
e6dd543d ER |
313 | %{__enable_disable obexftp} \ |
314 | %{__enable_disable samba} \ | |
315 | %{__enable_disable systemd libsystemd-login} \ | |
316 | %{__enable_disable udev} \ | |
317 | %{__enable_disable udisks2} \ | |
51235d0d | 318 | --disable-hal \ |
dd7c5bae JB |
319 | --disable-silent-rules |
320 | ||
68c4149a PZ |
321 | %{__make} |
322 | ||
323 | %install | |
324 | rm -rf $RPM_BUILD_ROOT | |
68c4149a PZ |
325 | %{__make} install \ |
326 | DESTDIR=$RPM_BUILD_ROOT | |
90581da1 | 327 | |
c416b427 | 328 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la |
90581da1 | 329 | |
68c4149a PZ |
330 | %find_lang gvfs |
331 | ||
332 | %clean | |
333 | rm -rf $RPM_BUILD_ROOT | |
334 | ||
b93fc7b1 | 335 | %post |
48cbb985 | 336 | %glib_compile_schemas |
b93fc7b1 MB |
337 | umask 022 |
338 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
cf1f9688 ER |
339 | # Reload .mount files: |
340 | killall -USR1 gvfsd >/dev/null 2>&1 || : | |
b93fc7b1 MB |
341 | |
342 | %postun | |
48cbb985 ŁK |
343 | if [ "$1" = "0" ]; then |
344 | %glib_compile_schemas | |
345 | fi | |
b93fc7b1 MB |
346 | umask 022 |
347 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
348 | exit 0 | |
349 | ||
68c4149a PZ |
350 | %post libs -p /sbin/ldconfig |
351 | %postun libs -p /sbin/ldconfig | |
352 | ||
cf1f9688 | 353 | # Reload .mount files when single subpackage is installed: |
8bc27445 | 354 | %post afc |
cf1f9688 ER |
355 | killall -USR1 gvfsd >/dev/null 2>&1 || : |
356 | ||
8bc27445 | 357 | %post archive |
cf1f9688 ER |
358 | killall -USR1 gvfsd >/dev/null 2>&1 || : |
359 | ||
8bc27445 | 360 | %post goa |
cf1f9688 ER |
361 | killall -USR1 gvfsd >/dev/null 2>&1 || : |
362 | ||
8bc27445 | 363 | %post gphoto2 |
cf1f9688 ER |
364 | killall -USR1 gvfsd >/dev/null 2>&1 || : |
365 | ||
8bc27445 | 366 | %post mtp |
cf1f9688 ER |
367 | killall -USR1 gvfsd >/dev/null 2>&1 || : |
368 | ||
8bc27445 | 369 | %post smb |
cf1f9688 ER |
370 | killall -USR1 gvfsd >/dev/null 2>&1 || : |
371 | ||
68c4149a PZ |
372 | %files -f gvfs.lang |
373 | %defattr(644,root,root,755) | |
374 | %doc AUTHORS ChangeLog NEWS README TODO | |
685c36ca MB |
375 | %attr(755,root,root) %{_bindir}/gvfs-cat |
376 | %attr(755,root,root) %{_bindir}/gvfs-copy | |
377 | %attr(755,root,root) %{_bindir}/gvfs-info | |
378 | %attr(755,root,root) %{_bindir}/gvfs-less | |
379 | %attr(755,root,root) %{_bindir}/gvfs-ls | |
c416b427 | 380 | %attr(755,root,root) %{_bindir}/gvfs-mime |
685c36ca MB |
381 | %attr(755,root,root) %{_bindir}/gvfs-mkdir |
382 | %attr(755,root,root) %{_bindir}/gvfs-monitor-dir | |
383 | %attr(755,root,root) %{_bindir}/gvfs-monitor-file | |
384 | %attr(755,root,root) %{_bindir}/gvfs-mount | |
385 | %attr(755,root,root) %{_bindir}/gvfs-move | |
386 | %attr(755,root,root) %{_bindir}/gvfs-open | |
2d0558d0 | 387 | %attr(755,root,root) %{_bindir}/gvfs-rename |
685c36ca MB |
388 | %attr(755,root,root) %{_bindir}/gvfs-rm |
389 | %attr(755,root,root) %{_bindir}/gvfs-save | |
a6df7872 | 390 | %attr(755,root,root) %{_bindir}/gvfs-set-attribute |
685c36ca MB |
391 | %attr(755,root,root) %{_bindir}/gvfs-trash |
392 | %attr(755,root,root) %{_bindir}/gvfs-tree | |
af2cc7d7 | 393 | %attr(755,root,root) %{_libdir}/gio/modules/libgioremote-volume-monitor.so |
685c36ca | 394 | %attr(755,root,root) %{_libdir}/gio/modules/libgvfsdbus.so |
90581da1 | 395 | %dir %{_libexecdir} |
685c36ca MB |
396 | %attr(755,root,root) %{_libexecdir}/gvfsd |
397 | %attr(755,root,root) %{_libexecdir}/gvfsd-burn | |
e6dd543d | 398 | %{?with_cdda:%attr(755,root,root) %{_libexecdir}/gvfsd-cdda} |
685c36ca | 399 | %attr(755,root,root) %{_libexecdir}/gvfsd-computer |
e6dd543d ER |
400 | %{?with_http:%attr(755,root,root) %{_libexecdir}/gvfsd-dav} |
401 | %{?with_avahi:%attr(755,root,root) %{_libexecdir}/gvfsd-dnssd} | |
685c36ca | 402 | %attr(755,root,root) %{_libexecdir}/gvfsd-ftp |
e6dd543d | 403 | %{?with_http:%attr(755,root,root) %{_libexecdir}/gvfsd-http} |
685c36ca | 404 | %attr(755,root,root) %{_libexecdir}/gvfsd-localtest |
a6df7872 | 405 | %attr(755,root,root) %{_libexecdir}/gvfsd-metadata |
685c36ca | 406 | %attr(755,root,root) %{_libexecdir}/gvfsd-network |
e6dd543d ER |
407 | %{?with_obexftp:%attr(755,root,root) %{_libexecdir}/gvfsd-obexftp} |
408 | %{?with_gtk:%attr(755,root,root) %{_libexecdir}/gvfsd-recent} | |
685c36ca | 409 | %attr(755,root,root) %{_libexecdir}/gvfsd-sftp |
685c36ca | 410 | %attr(755,root,root) %{_libexecdir}/gvfsd-trash |
e6dd543d | 411 | %{?with_udisks2:%attr(755,root,root) %{_libexecdir}/gvfs-udisks2-volume-monitor} |
68c4149a | 412 | %{_datadir}/dbus-1/services/gvfs-daemon.service |
a6df7872 | 413 | %{_datadir}/dbus-1/services/gvfs-metadata.service |
e6dd543d | 414 | %{?with_udisks2:%{_datadir}/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service} |
186d6e5a MB |
415 | %dir %{_datadir}/gvfs |
416 | %dir %{_datadir}/gvfs/mounts | |
af2cc7d7 | 417 | %dir %{_datadir}/gvfs/remote-volume-monitors |
685c36ca | 418 | %{_datadir}/gvfs/mounts/burn.mount |
e6dd543d | 419 | %{?with_cdda:%{_datadir}/gvfs/mounts/cdda.mount} |
685c36ca | 420 | %{_datadir}/gvfs/mounts/computer.mount |
e6dd543d | 421 | %{?with_http:%{_datadir}/gvfs/mounts/dav.mount} |
1e7f5020 | 422 | %{?with_http:%{?with_avahi:%{_datadir}/gvfs/mounts/dav+sd.mount}} |
e6dd543d | 423 | %{?with_avahi:%{_datadir}/gvfs/mounts/dns-sd.mount} |
ab019581 | 424 | %{_datadir}/gvfs/mounts/ftp.mount |
e6dd543d | 425 | %{?with_http:%{_datadir}/gvfs/mounts/http.mount} |
685c36ca MB |
426 | %{_datadir}/gvfs/mounts/localtest.mount |
427 | %{_datadir}/gvfs/mounts/network.mount | |
e6dd543d ER |
428 | %{?with_obexftp:%{_datadir}/gvfs/mounts/obexftp.mount} |
429 | %{?with_gtk:%{_datadir}/gvfs/mounts/recent.mount} | |
685c36ca | 430 | %{_datadir}/gvfs/mounts/sftp.mount |
685c36ca | 431 | %{_datadir}/gvfs/mounts/trash.mount |
e6dd543d ER |
432 | %{?with_udisks2:%{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor} |
433 | %{?with_avahi:%{_datadir}/GConf/gsettings/gvfs-dns-sd.convert} | |
434 | %{?with_avahi:%{_datadir}/glib-2.0/schemas/org.gnome.system.dns_sd.gschema.xml} | |
48cbb985 | 435 | %{_datadir}/glib-2.0/schemas/org.gnome.system.gvfs.enums.xml |
80e40ff0 | 436 | %if %{with doc} |
dd7c5bae JB |
437 | %{_mandir}/man1/gvfs-*.1* |
438 | %{_mandir}/man1/gvfsd.1* | |
dd7c5bae JB |
439 | %{_mandir}/man1/gvfsd-metadata.1* |
440 | %{_mandir}/man7/gvfs.7* | |
80e40ff0 | 441 | %endif |
68c4149a PZ |
442 | |
443 | %files libs | |
444 | %defattr(644,root,root,755) | |
90581da1 | 445 | %attr(755,root,root) %{_libdir}/libgvfscommon.so.*.*.* |
90f957fb | 446 | %attr(755,root,root) %ghost %{_libdir}/libgvfscommon.so.0 |
68c4149a PZ |
447 | |
448 | %files devel | |
449 | %defattr(644,root,root,755) | |
90581da1 | 450 | %attr(755,root,root) %{_libdir}/libgvfscommon.so |
186d6e5a | 451 | %{_libdir}/libgvfscommon.la |
68c4149a | 452 | %{_includedir}/gvfs-client |
f0f9e76d | 453 | |
8bc27445 JB |
454 | %if %{with afc} |
455 | %files afc | |
cf1f9688 | 456 | %defattr(644,root,root,755) |
8bc27445 JB |
457 | %attr(755,root,root) %{_libexecdir}/gvfs-afc-volume-monitor |
458 | %attr(755,root,root) %{_libexecdir}/gvfsd-afc | |
459 | %{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service | |
460 | %{_datadir}/gvfs/mounts/afc.mount | |
461 | %{_datadir}/gvfs/remote-volume-monitors/afc.monitor | |
e6dd543d | 462 | %endif |
cf1f9688 | 463 | |
8bc27445 JB |
464 | %if %{with afp} |
465 | %files afp | |
cf1f9688 | 466 | %defattr(644,root,root,755) |
8bc27445 JB |
467 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp |
468 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp-browse | |
469 | %{_datadir}/gvfs/mounts/afp-browse.mount | |
470 | %{_datadir}/gvfs/mounts/afp.mount | |
e6dd543d | 471 | %endif |
cf1f9688 | 472 | |
e6dd543d | 473 | %if %{with archive} |
cf1f9688 ER |
474 | %files archive |
475 | %defattr(644,root,root,755) | |
476 | %attr(755,root,root) %{_libexecdir}/gvfsd-archive | |
477 | %{_datadir}/gvfs/mounts/archive.mount | |
e6dd543d | 478 | %endif |
cf1f9688 | 479 | |
8bc27445 JB |
480 | %if %{with fuse} |
481 | %files fuse | |
482 | %defattr(644,root,root,755) | |
483 | %attr(755,root,root) %{_libexecdir}/gvfsd-fuse | |
80e40ff0 | 484 | %if %{with doc} |
8bc27445 | 485 | %{_mandir}/man1/gvfsd-fuse.1* |
80e40ff0 | 486 | %endif |
1e7f5020 ER |
487 | %if %{with systemd} |
488 | # FIXME: reusing USE_LIBSYSTEMD_LOGIN as systemd has no universal header or pkg-config file | |
8bc27445 JB |
489 | %{systemdtmpfilesdir}/gvfsd-fuse-tmpfiles.conf |
490 | %endif | |
1e7f5020 | 491 | %endif |
8bc27445 JB |
492 | |
493 | %if %{with goa} | |
494 | %files goa | |
495 | %defattr(644,root,root,755) | |
496 | %attr(755,root,root) %{_libexecdir}/gvfs-goa-volume-monitor | |
497 | %{_datadir}/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service | |
498 | %{_datadir}/gvfs/remote-volume-monitors/goa.monitor | |
499 | %endif | |
500 | ||
e6dd543d | 501 | %if %{with gphoto2} |
cf1f9688 ER |
502 | %files gphoto2 |
503 | %defattr(644,root,root,755) | |
504 | %attr(755,root,root) %{_libexecdir}/gvfs-gphoto2-volume-monitor | |
505 | %attr(755,root,root) %{_libexecdir}/gvfsd-gphoto2 | |
506 | %{_datadir}/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service | |
507 | %{_datadir}/gvfs/mounts/gphoto2.mount | |
508 | %{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor | |
e6dd543d | 509 | %endif |
cf1f9688 | 510 | |
e6dd543d | 511 | %if %{with mtp} |
cf1f9688 ER |
512 | %files mtp |
513 | %defattr(644,root,root,755) | |
514 | %attr(755,root,root) %{_libexecdir}/gvfs-mtp-volume-monitor | |
515 | %attr(755,root,root) %{_libexecdir}/gvfsd-mtp | |
516 | %{_datadir}/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service | |
517 | %{_datadir}/gvfs/mounts/mtp.mount | |
518 | %{_datadir}/gvfs/remote-volume-monitors/mtp.monitor | |
e6dd543d | 519 | %endif |
cf1f9688 | 520 | |
8bc27445 JB |
521 | %if %{with samba} |
522 | %files smb | |
cf1f9688 | 523 | %defattr(644,root,root,755) |
8bc27445 JB |
524 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb |
525 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb-browse | |
526 | %{_datadir}/gvfs/mounts/smb-browse.mount | |
527 | %{_datadir}/gvfs/mounts/smb.mount | |
528 | %{_datadir}/glib-2.0/schemas/org.gnome.system.smb.gschema.xml | |
529 | %{_datadir}/GConf/gsettings/gvfs-smb.convert | |
e6dd543d | 530 | %endif |
8bc27445 JB |
531 | |
532 | %files -n bash-completion-gvfs | |
533 | %defattr(644,root,root,755) | |
534 | %{_datadir}/bash-completion/completions/gvfs |