]>
Commit | Line | Data |
---|---|---|
90581da1 | 1 | Summary: gvfs - userspace virtual filesystem |
be422f41 | 2 | Summary(pl.UTF-8): gvfs - wirtualny system plików w przestrzeni użytkownika |
68c4149a | 3 | Name: gvfs |
249c8916 MB |
4 | Version: 1.18.1 |
5 | Release: 1 | |
27533b72 | 6 | License: LGPL v2+ |
90581da1 | 7 | Group: Libraries |
249c8916 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.18/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 9319e74c892c26eaa3388327fcf0053c | |
6a9ad26a | 10 | Patch0: set_attributes_from_info-v1.patch |
c416b427 ŁK |
11 | BuildRequires: autoconf >= 2.64 |
12 | BuildRequires: automake >= 1:1.11.1 | |
685c36ca | 13 | BuildRequires: avahi-glib-devel >= 0.6.22 |
db835f7c | 14 | BuildRequires: bluez-libs-devel >= 4.0 |
85bc1093 | 15 | BuildRequires: cdparanoia-III-devel >= 1:10 |
27af7ab1 MB |
16 | BuildRequires: dbus-glib-devel |
17 | BuildRequires: expat-devel | |
249c8916 | 18 | BuildRequires: glib2-devel >= 1:2.38.0 |
79159ff7 | 19 | BuildRequires: gnome-online-accounts-devel >= 3.8.0 |
8cc6db05 | 20 | BuildRequires: gtk+3-devel |
68c4149a | 21 | BuildRequires: gtk-doc >= 1.8 |
cf6a7a0a | 22 | BuildRequires: intltool >= 0.40.0 |
2d0558d0 | 23 | BuildRequires: libarchive-devel |
51235d0d | 24 | BuildRequires: libbluray-devel |
90581da1 | 25 | BuildRequires: libcdio-devel >= 0.78.2 |
cc907421 | 26 | BuildRequires: libcdio-paranoia-devel |
48cbb985 | 27 | BuildRequires: libfuse-devel >= 2.8.0 |
c416b427 | 28 | BuildRequires: libgcrypt-devel >= 1.2.2 |
48cbb985 | 29 | BuildRequires: libgphoto2-devel >= 2.4.7 |
249c8916 | 30 | BuildRequires: libimobiledevice-devel >= 1.1.5 |
79159ff7 | 31 | BuildRequires: libmtp-devel >= 1.1.5 |
48cbb985 | 32 | BuildRequires: libplist-devel >= 0.15 |
8cc6db05 | 33 | BuildRequires: libsecret-devel |
85bc1093 | 34 | BuildRequires: libsmbclient-devel >= 3.0 |
79159ff7 | 35 | BuildRequires: libsoup-gnome-devel >= 2.34.0 |
68c4149a | 36 | BuildRequires: libtool |
27af7ab1 | 37 | BuildRequires: libxml2-devel >= 1:2.6.31 |
9331516d | 38 | BuildRequires: openssl-devel |
186d6e5a | 39 | BuildRequires: pkgconfig |
48cbb985 | 40 | BuildRequires: rpmbuild(macros) >= 1.592 |
8cc6db05 | 41 | BuildRequires: systemd-devel >= 44 |
c416b427 | 42 | BuildRequires: tar >= 1:1.22 |
a6df7872 | 43 | BuildRequires: udev-glib-devel >= 138 |
8cc6db05 | 44 | BuildRequires: udisks2-devel >= 1.97.0 |
c416b427 | 45 | BuildRequires: xz |
79159ff7 | 46 | Requires(post,postun): glib2 >= 1:2.36.0 |
68c4149a | 47 | Requires: %{name}-libs = %{version}-%{release} |
8cc6db05 | 48 | Requires: udisks2 >= 1.97.0 |
2c014a25 | 49 | Suggests: obex-data-server >= 0.4 |
51235d0d | 50 | Suggests: usbmuxd |
ec99461d | 51 | Obsoletes: gnome-mount <= 0.8 |
68c4149a PZ |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
90581da1 MB |
54 | %define _libexecdir %{_libdir}/%{name} |
55 | ||
68c4149a | 56 | %description |
90581da1 MB |
57 | gvfs is a userspace virtual filesystem where mount runs as a separate |
58 | processes which you talk to via D-BUS. It contains a gio module that | |
59 | seamlessly adds gvfs support to all applications using the gio API. It | |
60 | also supports exposing the gvfs mounts to non-gio applications using | |
61 | FUSE. | |
68c4149a | 62 | |
be422f41 JB |
63 | %description -l pl.UTF-8 |
64 | gvfs to wirtualny system plik w przestrzeni użytkownika. Montowanie w | |
65 | nim działa jako oddzielny proces, z którym komunikacja odbywa się | |
66 | przez D-BUS. Zawiera moduł gio dodający w sposób przezroczysty obsługę | |
67 | gfvs-a do wszystkich aplikacji używających API gio. Obsługuje także | |
68 | montowania gvfs przy użyciu FUSE z myślą o aplikacjach nie | |
69 | korzystających z gio. | |
70 | ||
68c4149a | 71 | %package libs |
90581da1 MB |
72 | Summary: gvfs libraries |
73 | Summary(pl.UTF-8): Biblioteki gvfs | |
68c4149a | 74 | Group: Libraries |
249c8916 | 75 | Requires: glib2 >= 1:2.38.0 |
68c4149a PZ |
76 | |
77 | %description libs | |
90581da1 MB |
78 | gvfs libraries. |
79 | ||
80 | %description libs -l pl.UTF-8 | |
81 | Biblioteki gvfs. | |
68c4149a PZ |
82 | |
83 | %package devel | |
84 | Summary: Header files for gvfs library | |
85 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gvfs | |
86 | Group: Development/Libraries | |
87 | Requires: %{name}-libs = %{version}-%{release} | |
249c8916 | 88 | Requires: glib2-devel >= 1:2.38.0 |
68c4149a PZ |
89 | |
90 | %description devel | |
91 | Header files for gvfs library. | |
92 | ||
93 | %description devel -l pl.UTF-8 | |
90581da1 | 94 | Pliki nagłówkowe biblioteki gvfs. |
68c4149a | 95 | |
f0f9e76d MB |
96 | %package -n bash-completion-gvfs |
97 | Summary: bash-completion for gvfs | |
98 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gvfs | |
99 | Group: Applications/Shells | |
100 | Requires: bash-completion | |
101 | ||
102 | %description -n bash-completion-gvfs | |
103 | This package provides bash-completion for gvfs. | |
104 | ||
105 | %description -n bash-completion-gvfs -l pl.UTF-8 | |
106 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla gvfs. | |
107 | ||
68c4149a PZ |
108 | %prep |
109 | %setup -q | |
6a9ad26a | 110 | %patch0 -p1 |
68c4149a PZ |
111 | |
112 | %build | |
27533b72 | 113 | %{__intltoolize} |
68c4149a PZ |
114 | %{__libtoolize} |
115 | %{__aclocal} | |
116 | %{__autoconf} | |
117 | %{__autoheader} | |
118 | %{__automake} | |
f0f9e76d | 119 | %configure \ |
51235d0d MB |
120 | --disable-gdu \ |
121 | --disable-hal \ | |
b93fc7b1 | 122 | --disable-silent-rules \ |
f0f9e76d | 123 | --with-bash-completion-dir=%{_sysconfdir}/bash_completion.d |
68c4149a PZ |
124 | %{__make} |
125 | ||
126 | %install | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %{__make} install \ | |
130 | DESTDIR=$RPM_BUILD_ROOT | |
90581da1 | 131 | |
c416b427 | 132 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la |
90581da1 | 133 | |
68c4149a PZ |
134 | %find_lang gvfs |
135 | ||
136 | %clean | |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
b93fc7b1 | 139 | %post |
48cbb985 | 140 | %glib_compile_schemas |
b93fc7b1 MB |
141 | umask 022 |
142 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
143 | exit 0 | |
144 | ||
145 | %postun | |
48cbb985 ŁK |
146 | if [ "$1" = "0" ]; then |
147 | %glib_compile_schemas | |
148 | fi | |
b93fc7b1 MB |
149 | umask 022 |
150 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules | |
151 | exit 0 | |
152 | ||
68c4149a PZ |
153 | %post libs -p /sbin/ldconfig |
154 | %postun libs -p /sbin/ldconfig | |
155 | ||
156 | %files -f gvfs.lang | |
157 | %defattr(644,root,root,755) | |
158 | %doc AUTHORS ChangeLog NEWS README TODO | |
685c36ca MB |
159 | %attr(755,root,root) %{_bindir}/gvfs-cat |
160 | %attr(755,root,root) %{_bindir}/gvfs-copy | |
161 | %attr(755,root,root) %{_bindir}/gvfs-info | |
162 | %attr(755,root,root) %{_bindir}/gvfs-less | |
163 | %attr(755,root,root) %{_bindir}/gvfs-ls | |
c416b427 | 164 | %attr(755,root,root) %{_bindir}/gvfs-mime |
685c36ca MB |
165 | %attr(755,root,root) %{_bindir}/gvfs-mkdir |
166 | %attr(755,root,root) %{_bindir}/gvfs-monitor-dir | |
167 | %attr(755,root,root) %{_bindir}/gvfs-monitor-file | |
168 | %attr(755,root,root) %{_bindir}/gvfs-mount | |
169 | %attr(755,root,root) %{_bindir}/gvfs-move | |
170 | %attr(755,root,root) %{_bindir}/gvfs-open | |
2d0558d0 | 171 | %attr(755,root,root) %{_bindir}/gvfs-rename |
685c36ca MB |
172 | %attr(755,root,root) %{_bindir}/gvfs-rm |
173 | %attr(755,root,root) %{_bindir}/gvfs-save | |
a6df7872 | 174 | %attr(755,root,root) %{_bindir}/gvfs-set-attribute |
685c36ca MB |
175 | %attr(755,root,root) %{_bindir}/gvfs-trash |
176 | %attr(755,root,root) %{_bindir}/gvfs-tree | |
af2cc7d7 | 177 | %attr(755,root,root) %{_libdir}/gio/modules/libgioremote-volume-monitor.so |
685c36ca | 178 | %attr(755,root,root) %{_libdir}/gio/modules/libgvfsdbus.so |
90581da1 | 179 | %dir %{_libexecdir} |
685c36ca | 180 | %attr(755,root,root) %{_libexecdir}/gvfsd |
b93fc7b1 | 181 | %attr(755,root,root) %{_libexecdir}/gvfsd-afc |
c416b427 ŁK |
182 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp |
183 | %attr(755,root,root) %{_libexecdir}/gvfsd-afp-browse | |
2d0558d0 | 184 | %attr(755,root,root) %{_libexecdir}/gvfsd-archive |
685c36ca MB |
185 | %attr(755,root,root) %{_libexecdir}/gvfsd-burn |
186 | %attr(755,root,root) %{_libexecdir}/gvfsd-cdda | |
187 | %attr(755,root,root) %{_libexecdir}/gvfsd-computer | |
188 | %attr(755,root,root) %{_libexecdir}/gvfsd-dav | |
189 | %attr(755,root,root) %{_libexecdir}/gvfsd-dnssd | |
190 | %attr(755,root,root) %{_libexecdir}/gvfsd-ftp | |
8cc6db05 | 191 | %attr(755,root,root) %{_libexecdir}/gvfsd-fuse |
685c36ca MB |
192 | %attr(755,root,root) %{_libexecdir}/gvfsd-gphoto2 |
193 | %attr(755,root,root) %{_libexecdir}/gvfsd-http | |
194 | %attr(755,root,root) %{_libexecdir}/gvfsd-localtest | |
a6df7872 | 195 | %attr(755,root,root) %{_libexecdir}/gvfsd-metadata |
79159ff7 | 196 | %attr(755,root,root) %{_libexecdir}/gvfsd-mtp |
685c36ca | 197 | %attr(755,root,root) %{_libexecdir}/gvfsd-network |
ab019581 | 198 | %attr(755,root,root) %{_libexecdir}/gvfsd-obexftp |
8cc6db05 | 199 | %attr(755,root,root) %{_libexecdir}/gvfsd-recent |
685c36ca MB |
200 | %attr(755,root,root) %{_libexecdir}/gvfsd-sftp |
201 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb | |
202 | %attr(755,root,root) %{_libexecdir}/gvfsd-smb-browse | |
203 | %attr(755,root,root) %{_libexecdir}/gvfsd-trash | |
b93fc7b1 | 204 | %attr(755,root,root) %{_libexecdir}/gvfs-afc-volume-monitor |
79159ff7 | 205 | %attr(755,root,root) %{_libexecdir}/gvfs-goa-volume-monitor |
af2cc7d7 | 206 | %attr(755,root,root) %{_libexecdir}/gvfs-gphoto2-volume-monitor |
79159ff7 | 207 | %attr(755,root,root) %{_libexecdir}/gvfs-mtp-volume-monitor |
51235d0d | 208 | %attr(755,root,root) %{_libexecdir}/gvfs-udisks2-volume-monitor |
68c4149a | 209 | %{_datadir}/dbus-1/services/gvfs-daemon.service |
a6df7872 | 210 | %{_datadir}/dbus-1/services/gvfs-metadata.service |
b93fc7b1 | 211 | %{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service |
af2cc7d7 | 212 | %{_datadir}/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service |
79159ff7 MB |
213 | %{_datadir}/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service |
214 | %{_datadir}/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service | |
51235d0d | 215 | %{_datadir}/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service |
186d6e5a MB |
216 | %dir %{_datadir}/gvfs |
217 | %dir %{_datadir}/gvfs/mounts | |
af2cc7d7 | 218 | %dir %{_datadir}/gvfs/remote-volume-monitors |
b93fc7b1 | 219 | %{_datadir}/gvfs/mounts/afc.mount |
c416b427 ŁK |
220 | %{_datadir}/gvfs/mounts/afp-browse.mount |
221 | %{_datadir}/gvfs/mounts/afp.mount | |
2d0558d0 | 222 | %{_datadir}/gvfs/mounts/archive.mount |
685c36ca MB |
223 | %{_datadir}/gvfs/mounts/burn.mount |
224 | %{_datadir}/gvfs/mounts/cdda.mount | |
225 | %{_datadir}/gvfs/mounts/computer.mount | |
226 | %{_datadir}/gvfs/mounts/dav.mount | |
db835f7c | 227 | %{_datadir}/gvfs/mounts/dav+sd.mount |
685c36ca | 228 | %{_datadir}/gvfs/mounts/dns-sd.mount |
ab019581 | 229 | %{_datadir}/gvfs/mounts/ftp.mount |
685c36ca MB |
230 | %{_datadir}/gvfs/mounts/gphoto2.mount |
231 | %{_datadir}/gvfs/mounts/http.mount | |
232 | %{_datadir}/gvfs/mounts/localtest.mount | |
79159ff7 | 233 | %{_datadir}/gvfs/mounts/mtp.mount |
685c36ca | 234 | %{_datadir}/gvfs/mounts/network.mount |
ab019581 | 235 | %{_datadir}/gvfs/mounts/obexftp.mount |
8cc6db05 | 236 | %{_datadir}/gvfs/mounts/recent.mount |
685c36ca MB |
237 | %{_datadir}/gvfs/mounts/sftp.mount |
238 | %{_datadir}/gvfs/mounts/smb-browse.mount | |
239 | %{_datadir}/gvfs/mounts/smb.mount | |
240 | %{_datadir}/gvfs/mounts/trash.mount | |
b93fc7b1 | 241 | %{_datadir}/gvfs/remote-volume-monitors/afc.monitor |
79159ff7 | 242 | %{_datadir}/gvfs/remote-volume-monitors/goa.monitor |
af2cc7d7 | 243 | %{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor |
79159ff7 | 244 | %{_datadir}/gvfs/remote-volume-monitors/mtp.monitor |
51235d0d | 245 | %{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor |
48cbb985 ŁK |
246 | %{_datadir}/GConf/gsettings/gvfs-dns-sd.convert |
247 | %{_datadir}/GConf/gsettings/gvfs-smb.convert | |
248 | %{_datadir}/glib-2.0/schemas/org.gnome.system.dns_sd.gschema.xml | |
249 | %{_datadir}/glib-2.0/schemas/org.gnome.system.gvfs.enums.xml | |
250 | %{_datadir}/glib-2.0/schemas/org.gnome.system.smb.gschema.xml | |
8cc6db05 MB |
251 | %{_mandir}/man1/*.1* |
252 | %{_mandir}/man7/*.7* | |
79159ff7 | 253 | %{systemdtmpfilesdir}/gvfsd-fuse-tmpfiles.conf |
68c4149a PZ |
254 | |
255 | %files libs | |
256 | %defattr(644,root,root,755) | |
90581da1 | 257 | %attr(755,root,root) %{_libdir}/libgvfscommon.so.*.*.* |
90f957fb | 258 | %attr(755,root,root) %ghost %{_libdir}/libgvfscommon.so.0 |
68c4149a PZ |
259 | |
260 | %files devel | |
261 | %defattr(644,root,root,755) | |
90581da1 | 262 | %attr(755,root,root) %{_libdir}/libgvfscommon.so |
186d6e5a | 263 | %{_libdir}/libgvfscommon.la |
68c4149a | 264 | %{_includedir}/gvfs-client |
f0f9e76d MB |
265 | |
266 | %files -n bash-completion-gvfs | |
267 | %defattr(644,root,root,755) | |
8cc6db05 | 268 | %{_sysconfdir}/bash_completion.d/gvfs |