]>
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 | |
1344f1e5 | 12 | %bcond_with gdu # GDU (Gnome Disk Utility) volume monitor (3.0.2 <= v < 3.4) |
8bc27445 JB |
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 | |
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 | |
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 |
9aa9a64d ŁK |
38 | Version: 1.24.2 |
39 | Release: 1 | |
27533b72 | 40 | License: LGPL v2+ |
90581da1 | 41 | Group: Libraries |
4ff90830 | 42 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.24/%{name}-%{version}.tar.xz |
9aa9a64d | 43 | # Source0-md5: 83ed317eb2a5264715d4273e90a5cfd8 |
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} | |
e6dd543d ER |
50 | %{?with_cdda:BuildRequires: cdparanoia-III-devel >= 1:10} |
51 | BuildRequires: dbus-devel | |
80e40ff0 ER |
52 | %{?with_doc:BuildRequires: docbook-dtd42-xml} |
53 | %{?with_doc:BuildRequires: docbook-style-xsl} | |
7201fd4b | 54 | BuildRequires: gettext-tools |
4ff90830 | 55 | BuildRequires: glib2-devel >= 1:2.43.2 |
1344f1e5 | 56 | %{?with_gdu:BuildRequires: gnome-disk-utility-devel < 3.4} |
c75b318f | 57 | %{?with_gdu:BuildRequires: gnome-disk-utility-devel >= 3.0.2} |
e6dd543d ER |
58 | %{?with_goa:BuildRequires: gnome-online-accounts-devel >= 3.8.0} |
59 | %{?with_gtk:BuildRequires: gtk+3-devel >= 3.0} | |
cf6a7a0a | 60 | BuildRequires: intltool >= 0.40.0 |
e6dd543d ER |
61 | %{?with_archive:BuildRequires: libarchive-devel >= 3.0.22} |
62 | %{?with_bluray:BuildRequires: libbluray-devel} | |
63 | %{?with_cdda:BuildRequires: libcdio-paranoia-devel >= 0.78.2} | |
e6dd543d | 64 | %{?with_fuse:BuildRequires: libfuse-devel >= 2.8.0} |
80e40ff0 | 65 | BuildRequires: libgcrypt-devel >= 1.2.2 |
e6dd543d ER |
66 | %{?with_gphoto2:BuildRequires: libgphoto2-devel >= 2.5.0} |
67 | %{?with_afc:BuildRequires: libimobiledevice-devel >= 1.1.5} | |
68 | %{?with_mtp:BuildRequires: libmtp-devel >= 1.1.6} | |
4ff90830 | 69 | %{?with_nfs:BuildRequires: libnfs-devel >= 1.9.7} |
e6dd543d | 70 | %{?with_afc:BuildRequires: libplist-devel >= 0.15} |
e6dd543d | 71 | %{?with_keyring:BuildRequires: libsecret-devel} |
c7157770 | 72 | %{?with_samba:BuildRequires: libsmbclient-devel >= 3.4} |
0b6993f0 | 73 | %{?with_http:BuildRequires: libsoup-devel >= 2.42.0} |
dd7c5bae | 74 | BuildRequires: libtool >= 2:2.2 |
e6dd543d ER |
75 | %{?with_http:BuildRequires: libxml2-devel >= 1:2.6.31} |
76 | %{?with_doc:BuildRequires: libxslt-progs} | |
186d6e5a | 77 | BuildRequires: pkgconfig |
48cbb985 | 78 | BuildRequires: rpmbuild(macros) >= 1.592 |
e6dd543d | 79 | %{?with_systemd:BuildRequires: systemd-devel >= 44} |
c416b427 | 80 | BuildRequires: tar >= 1:1.22 |
e6dd543d | 81 | %{?with_udev:BuildRequires: udev-devel >= 1:138} |
c7157770 | 82 | %{?with_gudev:BuildRequires: udev-glib-devel >= 1:147} |
e6dd543d | 83 | %{?with_udisks2:BuildRequires: udisks2-devel >= 1.97.0} |
c416b427 | 84 | BuildRequires: xz |
4ff90830 | 85 | Requires(post,postun): glib2 >= 1:2.43.2 |
1c242dad | 86 | Requires: %{name}-libs = %{version}-%{release} |
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} | |
4ff90830 | 90 | %{?with_nfs:Requires: libnfs >= 1.9.7} |
dd7c5bae | 91 | Requires: libplist >= 0.15 |
1344f1e5 | 92 | Requires: libsoup >= 2.42.0 |
dd7c5bae | 93 | Requires: libxml2 >= 1:2.6.31 |
c7157770 JB |
94 | %{?with_gudev:Requires: udev-glib >= 1:147} |
95 | %{?with_udev:Requires: udev-libs >= 1:138} | |
e6dd543d ER |
96 | %{?with_udisks2:Requires: udisks2 >= 1.97.0} |
97 | %{?with_afc:Suggests: %{name}-afc} | |
98 | %{?with_afp:Suggests: %{name}-afp} | |
99 | %{?with_archive:Suggests: %{name}-archive} | |
100 | %{?with_fuse:Suggests: %{name}-fuse} | |
101 | %{?with_goa:Suggests: %{name}-goa} | |
102 | %{?with_gphoto2:Suggests: %{name}-gphoto2} | |
103 | %{?with_mtp:Suggests: %{name}-mtp} | |
104 | %{?with_samba:Suggests: %{name}-smb} | |
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 | |
1c242dad JB |
121 | %package libs |
122 | Summary: Common GVFS shared libraries | |
123 | Summary(pl.UTF-8): Wspólne biblioteki współdzielone GVFS | |
124 | Group: Libraries | |
4ff90830 | 125 | Requires: glib2 >= 1:2.43.2 |
1c242dad JB |
126 | Conflicts: gvfs < 1.22.3-2 |
127 | ||
128 | %description libs | |
129 | Common GVFS (private) shared libraries. | |
130 | ||
131 | %description libs -l pl.UTF-8 | |
132 | Wspólne (prywatne) biblioteki współdzielone GVFS. | |
133 | ||
68c4149a PZ |
134 | %package devel |
135 | Summary: Header files for gvfs library | |
136 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gvfs | |
137 | Group: Development/Libraries | |
1c242dad | 138 | Requires: %{name}-libs = %{version}-%{release} |
4ff90830 | 139 | Requires: glib2-devel >= 1:2.43.2 |
68c4149a PZ |
140 | |
141 | %description devel | |
142 | Header files for gvfs library. | |
143 | ||
144 | %description devel -l pl.UTF-8 | |
90581da1 | 145 | Pliki nagłówkowe biblioteki gvfs. |
68c4149a | 146 | |
8bc27445 JB |
147 | %package afc |
148 | Summary: AFC support for gvfs | |
149 | Summary(pl.UTF-8): Obsługa AFC dla gvfs | |
cf1f9688 ER |
150 | Group: Libraries |
151 | Requires: %{name} = %{version}-%{release} | |
8bc27445 JB |
152 | Requires: libimobiledevice >= 1.1.5 |
153 | Requires: usbmuxd | |
cf1f9688 | 154 | |
8bc27445 JB |
155 | %description afc |
156 | This package provides support for reading files on mobile devices | |
157 | including phones and music players to applications using gvfs. | |
cf1f9688 | 158 | |
8bc27445 JB |
159 | %description afc -l pl.UTF-8 |
160 | Ten pakiet zapewnia obsługę odczytu plików na urządzeniach | |
161 | przenośnych, w tym telefonach i odtwarzaczach muzyki dla aplikacji | |
162 | wykorzystujących gvfs. | |
6f3eec29 | 163 | |
8bc27445 JB |
164 | %package afp |
165 | Summary: AFP support for gvfs | |
166 | Summary(pl.UTF-8): Obsługa AFP dla gvfs | |
cf1f9688 ER |
167 | Group: Libraries |
168 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 | 169 | |
8bc27445 JB |
170 | %description afp |
171 | This package provides support for reading and writing files on Mac OS | |
172 | X and original Mac OS network shares via Apple Filing Protocol to | |
173 | applications using gvfs. | |
cf1f9688 | 174 | |
8bc27445 | 175 | %description afp -l pl.UTF-8 |
6f3eec29 | 176 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach |
8bc27445 JB |
177 | sieciowych Mac OS X oraz oryginalnego Mac OS poprzez Apple Filing |
178 | Protocol dla aplikacji wykorzystujących gvfs. | |
6f3eec29 | 179 | |
cf1f9688 ER |
180 | %package archive |
181 | Summary: Archiving support for gvfs | |
6f3eec29 | 182 | Summary(pl.UTF-8): Obsługa archiwów dla gvfs |
cf1f9688 ER |
183 | Group: Libraries |
184 | Requires: %{name} = %{version}-%{release} | |
185 | Requires: libarchive >= 3.0.22 | |
186 | ||
187 | %description archive | |
188 | This package provides support for accessing files inside Zip and Tar | |
189 | archives, as well as ISO images, to applications using gvfs. | |
190 | ||
6f3eec29 JB |
191 | %description archive -l pl.UTF-8 |
192 | Ten pakiet zapewnia dostęp do plików wewnątrz archiwów Zip i Tar oraz | |
193 | obrazów ISO dla aplikacji wykorzystujących gvfs. | |
194 | ||
8bc27445 JB |
195 | %package fuse |
196 | Summary: FUSE support for gvfs | |
197 | Summary(pl.UTF-8): Obsługa FUSE dla gvfs | |
198 | Group: Libraries | |
199 | Requires: %{name} = %{version}-%{release} | |
200 | Requires: libfuse | |
201 | ||
202 | %description fuse | |
203 | This package provides support for applications not using gio to access | |
204 | the gvfs filesystems. | |
205 | ||
206 | %description fuse -l pl.UTF-8 | |
207 | Ten pakiet zapewnia obsługę aplikacji nie używających gio do dostępu | |
208 | do systemów plików gvfs. | |
209 | ||
210 | %package goa | |
211 | Summary: GOA support for gvfs | |
212 | Summary(pl.UTF-8): Obsługa GOA dla gvfs | |
213 | Group: Libraries | |
214 | Requires: %{name} = %{version}-%{release} | |
215 | Requires: gnome-online-accounts-libs >= 3.8.0 | |
216 | ||
217 | %description goa | |
218 | This package provides seamless integration with gnome-online-accounts | |
219 | file services. | |
220 | ||
221 | %description goa -l pl.UTF-8 | |
222 | Ten pakiet zapewnia przezroczystą integrację z usługami plikowymi | |
223 | gnome-online-accounts. | |
224 | ||
cf1f9688 ER |
225 | %package gphoto2 |
226 | Summary: gphoto2 support for gvfs | |
6f3eec29 | 227 | Summary(pl.UTF-8): Obsługa gphoto2 dla gvfs |
cf1f9688 ER |
228 | Group: Libraries |
229 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 ER |
230 | |
231 | %description gphoto2 | |
232 | This package provides support for reading and writing files on PTP | |
233 | based cameras (Picture Transfer Protocol) and MTP based media players | |
234 | (Media Transfer Protocol) to applications using gvfs. | |
235 | ||
6f3eec29 JB |
236 | %description gphoto2 -l pl.UTF-8 |
237 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na aparatach | |
238 | obsługujących protokół PTP (Picture Transfer Protocol) oraz | |
239 | odtwarzaczach multimedialnych obsługujących protokół MTP (Media | |
240 | Transfer Protocol) dla aplikacji wykorzystujących gvfs. | |
241 | ||
cf1f9688 ER |
242 | %package mtp |
243 | Summary: MTP support for gvfs | |
6f3eec29 | 244 | Summary(pl.UTF-8): Obsługa MTP dla gvfs |
cf1f9688 ER |
245 | Group: Libraries |
246 | Requires: %{name} = %{version}-%{release} | |
e6dd543d | 247 | Requires: libmtp >= 1.1.6 |
cf1f9688 ER |
248 | |
249 | %description mtp | |
250 | This package provides support for reading and writing files on MTP | |
251 | based devices (Media Transfer Protocol) to applications using gvfs. | |
252 | ||
6f3eec29 JB |
253 | %description mtp -l pl.UTF-8 |
254 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na urządzeniach | |
255 | obsługujących protokół MTP (Media Transfer Protocol) dla aplikacji | |
256 | wykorzystujących gvfs. | |
257 | ||
8bc27445 JB |
258 | %package smb |
259 | Summary: Windows fileshare support for gvfs | |
260 | Summary(pl.UTF-8): Obsługa udziałów sieciowych Windows dla gvfs | |
cf1f9688 ER |
261 | Group: Libraries |
262 | Requires: %{name} = %{version}-%{release} | |
cf1f9688 | 263 | |
8bc27445 JB |
264 | %description smb |
265 | This package provides support for reading and writing files on Windows | |
266 | shares (SMB) to applications using gvfs. | |
cf1f9688 | 267 | |
8bc27445 JB |
268 | %description smb -l pl.UTF-8 |
269 | Ten pakiet zapewnia obsługę odczytu i zapisu plików na udziałach | |
270 | sieciowych Windows (SMB) dla aplikacji wykorzystujących gvfs. | |
271 | ||
272 | %package -n bash-completion-gvfs | |
273 | Summary: bash-completion for gvfs | |
274 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gvfs | |
275 | Group: Applications/Shells | |
276 | Requires: %{name} = %{version}-%{release} | |
277 | Requires: bash-completion >= 2 | |
278 | ||
279 | %description -n bash-completion-gvfs | |
280 | This package provides bash-completion for gvfs. | |
281 | ||
282 | %description -n bash-completion-gvfs -l pl.UTF-8 | |
283 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla gvfs. | |
6f3eec29 | 284 | |
68c4149a PZ |
285 | %prep |
286 | %setup -q | |
6a9ad26a | 287 | %patch0 -p1 |
68c4149a PZ |
288 | |
289 | %build | |
27533b72 | 290 | %{__intltoolize} |
68c4149a PZ |
291 | %{__libtoolize} |
292 | %{__aclocal} | |
293 | %{__autoconf} | |
294 | %{__autoheader} | |
295 | %{__automake} | |
f0f9e76d | 296 | %configure \ |
e6dd543d ER |
297 | SSH_PROGRAM=/usr/bin/ssh \ |
298 | %{__enable_disable afc} \ | |
299 | %{__enable_disable afp} \ | |
300 | %{__enable_disable archive} \ | |
301 | %{__enable_disable avahi} \ | |
302 | %{__enable_disable bluray} \ | |
303 | %{__enable_disable cdda} \ | |
12da82a5 | 304 | %{__enable_disable doc documentation} \ |
e6dd543d ER |
305 | %{__enable_disable fuse} \ |
306 | %{__enable_disable gdu} \ | |
307 | %{__enable_disable goa} \ | |
308 | %{__enable_disable gphoto2} \ | |
309 | %{__enable_disable gtk} \ | |
310 | %{__enable_disable gudev} \ | |
311 | %{__enable_disable http} \ | |
312 | %{__enable_disable keyring} \ | |
12da82a5 | 313 | %{__enable_disable mtp libmtp} \ |
4ff90830 | 314 | %{__enable_disable nfs} \ |
e6dd543d ER |
315 | %{__enable_disable samba} \ |
316 | %{__enable_disable systemd libsystemd-login} \ | |
317 | %{__enable_disable udev} \ | |
318 | %{__enable_disable udisks2} \ | |
51235d0d | 319 | --disable-hal \ |
dd7c5bae JB |
320 | --disable-silent-rules |
321 | ||
68c4149a PZ |
322 | %{__make} |
323 | ||
324 | %install | |
325 | rm -rf $RPM_BUILD_ROOT | |
92e483e9 ŁK |
326 | |
327 | install -d $RPM_BUILD_ROOT%{bash_compdir} | |
68c4149a PZ |
328 | %{__make} install \ |
329 | DESTDIR=$RPM_BUILD_ROOT | |
90581da1 | 330 | |
0b6993f0 | 331 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/{gio/modules,gvfs}/*.la |
90581da1 | 332 | |
68c4149a PZ |
333 | %find_lang gvfs |
334 | ||
335 | %clean | |
336 | rm -rf $RPM_BUILD_ROOT | |
337 | ||
b93fc7b1 | 338 | %post |
48cbb985 | 339 | %glib_compile_schemas |
b93fc7b1 MB |
340 | umask 022 |
341 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
cf1f9688 ER |
342 | # Reload .mount files: |
343 | killall -USR1 gvfsd >/dev/null 2>&1 || : | |
b93fc7b1 MB |
344 | |
345 | %postun | |
48cbb985 ŁK |
346 | if [ "$1" = "0" ]; then |
347 | %glib_compile_schemas | |
348 | fi | |
b93fc7b1 MB |
349 | umask 022 |
350 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
351 | exit 0 | |
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 |
7e6cd0f7 | 370 | %glib_compile_schemas |
cf1f9688 ER |
371 | killall -USR1 gvfsd >/dev/null 2>&1 || : |
372 | ||
7e6cd0f7 ER |
373 | %postun smb |
374 | if [ "$1" = "0" ]; then | |
375 | %glib_compile_schemas | |
376 | fi | |
377 | ||
68c4149a PZ |
378 | %files -f gvfs.lang |
379 | %defattr(644,root,root,755) | |
380 | %doc AUTHORS ChangeLog NEWS README TODO | |
685c36ca MB |
381 | %attr(755,root,root) %{_bindir}/gvfs-cat |
382 | %attr(755,root,root) %{_bindir}/gvfs-copy | |
383 | %attr(755,root,root) %{_bindir}/gvfs-info | |
384 | %attr(755,root,root) %{_bindir}/gvfs-less | |
385 | %attr(755,root,root) %{_bindir}/gvfs-ls | |
c416b427 | 386 | %attr(755,root,root) %{_bindir}/gvfs-mime |
685c36ca MB |
387 | %attr(755,root,root) %{_bindir}/gvfs-mkdir |
388 | %attr(755,root,root) %{_bindir}/gvfs-monitor-dir | |
389 | %attr(755,root,root) %{_bindir}/gvfs-monitor-file | |
390 | %attr(755,root,root) %{_bindir}/gvfs-mount | |
391 | %attr(755,root,root) %{_bindir}/gvfs-move | |
392 | %attr(755,root,root) %{_bindir}/gvfs-open | |
2d0558d0 | 393 | %attr(755,root,root) %{_bindir}/gvfs-rename |
685c36ca MB |
394 | %attr(755,root,root) %{_bindir}/gvfs-rm |
395 | %attr(755,root,root) %{_bindir}/gvfs-save | |
a6df7872 | 396 | %attr(755,root,root) %{_bindir}/gvfs-set-attribute |
685c36ca MB |
397 | %attr(755,root,root) %{_bindir}/gvfs-trash |
398 | %attr(755,root,root) %{_bindir}/gvfs-tree | |
af2cc7d7 | 399 | %attr(755,root,root) %{_libdir}/gio/modules/libgioremote-volume-monitor.so |
685c36ca | 400 | %attr(755,root,root) %{_libdir}/gio/modules/libgvfsdbus.so |
1c242dad | 401 | #%dir %{_libexecdir} # equal %{_libdir}/%{name}, packaged in -libs |
685c36ca MB |
402 | %attr(755,root,root) %{_libexecdir}/gvfsd |
403 | %attr(755,root,root) %{_libexecdir}/gvfsd-burn | |
685c36ca | 404 | %attr(755,root,root) %{_libexecdir}/gvfsd-computer |
685c36ca | 405 | %attr(755,root,root) %{_libexecdir}/gvfsd-ftp |
685c36ca | 406 | %attr(755,root,root) %{_libexecdir}/gvfsd-localtest |
a6df7872 | 407 | %attr(755,root,root) %{_libexecdir}/gvfsd-metadata |
685c36ca MB |
408 | %attr(755,root,root) %{_libexecdir}/gvfsd-network |
409 | %attr(755,root,root) %{_libexecdir}/gvfsd-sftp | |
685c36ca | 410 | %attr(755,root,root) %{_libexecdir}/gvfsd-trash |
68c4149a | 411 | %{_datadir}/dbus-1/services/gvfs-daemon.service |
a6df7872 | 412 | %{_datadir}/dbus-1/services/gvfs-metadata.service |
186d6e5a MB |
413 | %dir %{_datadir}/gvfs |
414 | %dir %{_datadir}/gvfs/mounts | |
af2cc7d7 | 415 | %dir %{_datadir}/gvfs/remote-volume-monitors |
685c36ca | 416 | %{_datadir}/gvfs/mounts/burn.mount |
685c36ca | 417 | %{_datadir}/gvfs/mounts/computer.mount |
ab019581 | 418 | %{_datadir}/gvfs/mounts/ftp.mount |
685c36ca MB |
419 | %{_datadir}/gvfs/mounts/localtest.mount |
420 | %{_datadir}/gvfs/mounts/network.mount | |
421 | %{_datadir}/gvfs/mounts/sftp.mount | |
685c36ca | 422 | %{_datadir}/gvfs/mounts/trash.mount |
48cbb985 | 423 | %{_datadir}/glib-2.0/schemas/org.gnome.system.gvfs.enums.xml |
e63293ba ER |
424 | |
425 | # cdda | |
426 | %if %{with cdda} | |
427 | %attr(755,root,root) %{_libexecdir}/gvfsd-cdda | |
428 | %{_datadir}/gvfs/mounts/cdda.mount | |
429 | %endif | |
430 | ||
431 | # http | |
432 | %if %{with http} | |
433 | %attr(755,root,root) %{_libexecdir}/gvfsd-dav | |
434 | %attr(755,root,root) %{_libexecdir}/gvfsd-http | |
435 | %{_datadir}/gvfs/mounts/http.mount | |
436 | %{_datadir}/gvfs/mounts/dav.mount | |
437 | %{?with_avahi:%{_datadir}/gvfs/mounts/dav+sd.mount} | |
438 | %endif | |
439 | ||
e63293ba ER |
440 | # gtk |
441 | %if %{with gtk} | |
442 | %attr(755,root,root) %{_libexecdir}/gvfsd-recent | |
443 | %{_datadir}/gvfs/mounts/recent.mount | |
444 | %endif | |
445 | ||
4ff90830 JB |
446 | # nfs |
447 | %if %{with nfs} | |
448 | %attr(755,root,root) %{_libexecdir}/gvfsd-nfs | |
449 | %{_datadir}/gvfs/mounts/nfs.mount | |
450 | %endif | |
451 | ||
e63293ba ER |
452 | # udisks2 |
453 | %if %{with udisks2} | |
454 | %attr(755,root,root) %{_libexecdir}/gvfs-udisks2-volume-monitor | |
455 | %{_datadir}/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service | |
456 | %{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor | |
457 | %endif | |
458 | ||
459 | # avahi | |
460 | %if %{with avahi} | |
461 | %attr(755,root,root) %{_libexecdir}/gvfsd-dnssd | |
462 | %{_datadir}/gvfs/mounts/dns-sd.mount | |
463 | %{_datadir}/GConf/gsettings/gvfs-dns-sd.convert | |
464 | %{_datadir}/glib-2.0/schemas/org.gnome.system.dns_sd.gschema.xml | |
465 | %endif | |
466 | ||
80e40ff0 | 467 | %if %{with doc} |
dd7c5bae JB |
468 | %{_mandir}/man1/gvfs-*.1* |
469 | %{_mandir}/man1/gvfsd.1* | |
dd7c5bae JB |
470 | %{_mandir}/man1/gvfsd-metadata.1* |
471 | %{_mandir}/man7/gvfs.7* | |
80e40ff0 | 472 | %endif |
68c4149a | 473 | |
1c242dad JB |
474 | %files libs |
475 | %defattr(644,root,root,755) | |
476 | %dir %{_libdir}/%{name} | |
477 | %attr(755,root,root) %{_libdir}/%{name}/libgvfscommon.so | |
478 | %attr(755,root,root) %{_libdir}/%{name}/libgvfsdaemon.so | |
479 | ||
68c4149a PZ |
480 | %files devel |
481 | %defattr(644,root,root,755) | |
482 | %{_includedir}/gvfs-client | |
f0f9e76d | 483 | |
8bc27445 JB |
484 | %if %{with afc} |
485 | %files afc | |
cf1f9688 | 486 | %defattr(644,root,root,755) |
8bc27445 JB |
487 | %attr(755,root,root) %{_libexecdir}/gvfs-afc-volume-monitor |
488 | %attr(755,root,root) %{_libexecdir}/gvfsd-afc | |
489 | %{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service | |
490 | %{_datadir}/gvfs/mounts/afc.mount | |
491 | %{_datadir}/gvfs/remote-volume-monitors/afc.monitor | |
e6dd543d | 492 | %endif |
cf1f9688 | 493 | |
8bc27445 JB |
494 | %if %{with afp} |
495 | %files afp | |
cf1f9688 | 496 | %defattr(644,root,root,755) |
8bc27445 JB |
497 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp |
498 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp-browse | |
499 | %{_datadir}/gvfs/mounts/afp-browse.mount | |
500 | %{_datadir}/gvfs/mounts/afp.mount | |
e6dd543d | 501 | %endif |
cf1f9688 | 502 | |
e6dd543d | 503 | %if %{with archive} |
cf1f9688 ER |
504 | %files archive |
505 | %defattr(644,root,root,755) | |
506 | %attr(755,root,root) %{_libexecdir}/gvfsd-archive | |
507 | %{_datadir}/gvfs/mounts/archive.mount | |
e6dd543d | 508 | %endif |
cf1f9688 | 509 | |
8bc27445 JB |
510 | %if %{with fuse} |
511 | %files fuse | |
512 | %defattr(644,root,root,755) | |
513 | %attr(755,root,root) %{_libexecdir}/gvfsd-fuse | |
80e40ff0 | 514 | %if %{with doc} |
8bc27445 | 515 | %{_mandir}/man1/gvfsd-fuse.1* |
80e40ff0 | 516 | %endif |
1e7f5020 ER |
517 | %if %{with systemd} |
518 | # FIXME: reusing USE_LIBSYSTEMD_LOGIN as systemd has no universal header or pkg-config file | |
8bc27445 JB |
519 | %{systemdtmpfilesdir}/gvfsd-fuse-tmpfiles.conf |
520 | %endif | |
1e7f5020 | 521 | %endif |
8bc27445 JB |
522 | |
523 | %if %{with goa} | |
524 | %files goa | |
525 | %defattr(644,root,root,755) | |
526 | %attr(755,root,root) %{_libexecdir}/gvfs-goa-volume-monitor | |
527 | %{_datadir}/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service | |
528 | %{_datadir}/gvfs/remote-volume-monitors/goa.monitor | |
529 | %endif | |
530 | ||
e6dd543d | 531 | %if %{with gphoto2} |
cf1f9688 ER |
532 | %files gphoto2 |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_libexecdir}/gvfs-gphoto2-volume-monitor | |
535 | %attr(755,root,root) %{_libexecdir}/gvfsd-gphoto2 | |
536 | %{_datadir}/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service | |
537 | %{_datadir}/gvfs/mounts/gphoto2.mount | |
538 | %{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor | |
e6dd543d | 539 | %endif |
cf1f9688 | 540 | |
e6dd543d | 541 | %if %{with mtp} |
cf1f9688 ER |
542 | %files mtp |
543 | %defattr(644,root,root,755) | |
544 | %attr(755,root,root) %{_libexecdir}/gvfs-mtp-volume-monitor | |
545 | %attr(755,root,root) %{_libexecdir}/gvfsd-mtp | |
546 | %{_datadir}/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service | |
547 | %{_datadir}/gvfs/mounts/mtp.mount | |
548 | %{_datadir}/gvfs/remote-volume-monitors/mtp.monitor | |
e6dd543d | 549 | %endif |
cf1f9688 | 550 | |
8bc27445 JB |
551 | %if %{with samba} |
552 | %files smb | |
cf1f9688 | 553 | %defattr(644,root,root,755) |
8bc27445 JB |
554 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb |
555 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb-browse | |
556 | %{_datadir}/gvfs/mounts/smb-browse.mount | |
557 | %{_datadir}/gvfs/mounts/smb.mount | |
558 | %{_datadir}/glib-2.0/schemas/org.gnome.system.smb.gschema.xml | |
559 | %{_datadir}/GConf/gsettings/gvfs-smb.convert | |
e6dd543d | 560 | %endif |
8bc27445 JB |
561 | |
562 | %files -n bash-completion-gvfs | |
563 | %defattr(644,root,root,755) | |
92e483e9 ŁK |
564 | %{bash_compdir}/gvfs-cat |
565 | %{bash_compdir}/gvfs-copy | |
566 | %{bash_compdir}/gvfs-info | |
567 | %{bash_compdir}/gvfs-less | |
568 | %{bash_compdir}/gvfs-ls | |
569 | %{bash_compdir}/gvfs-mkdir | |
570 | %{bash_compdir}/gvfs-monitor-dir | |
571 | %{bash_compdir}/gvfs-monitor-file | |
572 | %{bash_compdir}/gvfs-move | |
573 | %{bash_compdir}/gvfs-open | |
574 | %{bash_compdir}/gvfs-rename | |
575 | %{bash_compdir}/gvfs-rm | |
576 | %{bash_compdir}/gvfs-save | |
577 | %{bash_compdir}/gvfs-set-attribute | |
578 | %{bash_compdir}/gvfs-trash | |
579 | %{bash_compdir}/gvfs-tree |