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