23 |
License: LGPLv2+ |
License: LGPLv2+ |
24 |
Group: System/Libraries |
Group: System/Libraries |
25 |
Url: http://www.gnome.org/ |
Url: http://www.gnome.org/ |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
26 |
BuildRequires: libgudev-devel |
BuildRequires: libgudev-devel |
27 |
BuildRequires: libcdio-devel |
BuildRequires: libcdio-devel |
28 |
BuildRequires: fuse-devel |
BuildRequires: fuse-devel |
143 |
%apply_patches |
%apply_patches |
144 |
|
|
145 |
%build |
%build |
146 |
%configure2_5x --with-dbus-service-dir=%_datadir/dbus-1/services \ |
%configure2_5x --with-dbus-service-dir=%{_datadir}/dbus-1/services \ |
147 |
--enable-gdu \ |
--enable-gdu \ |
148 |
%if %{enable_gphoto2} |
%if %{enable_gphoto2} |
149 |
--enable-gphoto2 |
--enable-gphoto2 |
156 |
%install |
%install |
157 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
158 |
%makeinstall_std |
%makeinstall_std |
159 |
rm -f %buildroot%_libdir/gio/modules/*.la |
|
160 |
|
rm -f %buildroot%{_libdir}/gio/modules/*.la |
161 |
|
|
162 |
%find_lang gvfs |
%find_lang gvfs |
163 |
|
|
194 |
%files -f gvfs.lang |
%files -f gvfs.lang |
195 |
%defattr(-,root,root) |
%defattr(-,root,root) |
196 |
%_sysconfdir/bash_completion.d/gvfs |
%_sysconfdir/bash_completion.d/gvfs |
197 |
%_bindir/gvfs-* |
%{_bindir}/gvfs-* |
198 |
%_datadir/dbus-1/services/gvfs-daemon.service |
%{_datadir}/dbus-1/services/gvfs-daemon.service |
199 |
%_datadir/dbus-1/services/gvfs-metadata.service |
%{_datadir}/dbus-1/services/gvfs-metadata.service |
200 |
%_datadir/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service |
%{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service |
201 |
%dir %_datadir/gvfs |
%dir %{_datadir}/gvfs |
202 |
%dir %_datadir/gvfs/mounts |
%dir %{_datadir}/gvfs/mounts |
203 |
%dir %_datadir/gvfs/remote-volume-monitors |
%dir %{_datadir}/gvfs/remote-volume-monitors |
204 |
%_datadir/gvfs/remote-volume-monitors/gdu.monitor |
%{_datadir}/gvfs/remote-volume-monitors/gdu.monitor |
205 |
%_datadir/gvfs/mounts/sftp.mount |
%{_datadir}/gvfs/mounts/sftp.mount |
206 |
%_datadir/gvfs/mounts/trash.mount |
%{_datadir}/gvfs/mounts/trash.mount |
207 |
%_datadir/gvfs/mounts/cdda.mount |
%{_datadir}/gvfs/mounts/cdda.mount |
208 |
%_datadir/gvfs/mounts/computer.mount |
%{_datadir}/gvfs/mounts/computer.mount |
209 |
%_datadir/gvfs/mounts/dav.mount |
%{_datadir}/gvfs/mounts/dav.mount |
210 |
%_datadir/gvfs/mounts/dav+sd.mount |
%{_datadir}/gvfs/mounts/dav+sd.mount |
211 |
%_datadir/gvfs/mounts/http.mount |
%{_datadir}/gvfs/mounts/http.mount |
212 |
%_datadir/gvfs/mounts/localtest.mount |
%{_datadir}/gvfs/mounts/localtest.mount |
213 |
%_datadir/gvfs/mounts/burn.mount |
%{_datadir}/gvfs/mounts/burn.mount |
214 |
%_datadir/gvfs/mounts/dns-sd.mount |
%{_datadir}/gvfs/mounts/dns-sd.mount |
215 |
%_datadir/gvfs/mounts/network.mount |
%{_datadir}/gvfs/mounts/network.mount |
216 |
%_datadir/gvfs/mounts/ftp.mount |
%{_datadir}/gvfs/mounts/ftp.mount |
217 |
%_datadir/GConf/gsettings/*.convert |
%{_datadir}/GConf/gsettings/*.convert |
218 |
%_datadir/glib-2.0/schemas/*.xml |
%{_datadir}/glib-2.0/schemas/*.xml |
219 |
|
|
220 |
%files -n %libname |
%files -n %libname |
221 |
%defattr(-,root,root) |
%defattr(-,root,root) |
222 |
%_libdir/gio/modules/libgioremote-volume-monitor.so |
%{_libdir}/gio/modules/libgioremote-volume-monitor.so |
223 |
%_libdir/gio/modules/libgvfsdbus.so |
%{_libdir}/gio/modules/libgvfsdbus.so |
224 |
%_libexecdir/gvfs-gdu-volume-monitor |
%{_libexecdir}/gvfs-gdu-volume-monitor |
225 |
|
|
226 |
%_libexecdir/gvfsd |
%{_libexecdir}/gvfsd |
227 |
%_libexecdir/gvfsd-ftp |
%{_libexecdir}/gvfsd-ftp |
228 |
%_libexecdir/gvfsd-metadata |
%{_libexecdir}/gvfsd-metadata |
229 |
%_libexecdir/gvfsd-sftp |
%{_libexecdir}/gvfsd-sftp |
230 |
%_libexecdir/gvfsd-trash |
%{_libexecdir}/gvfsd-trash |
231 |
%_libexecdir/gvfsd-cdda |
%{_libexecdir}/gvfsd-cdda |
232 |
%_libexecdir/gvfsd-computer |
%{_libexecdir}/gvfsd-computer |
233 |
%_libexecdir/gvfsd-dav |
%{_libexecdir}/gvfsd-dav |
234 |
%_libexecdir/gvfsd-http |
%{_libexecdir}/gvfsd-http |
235 |
%_libexecdir/gvfsd-localtest |
%{_libexecdir}/gvfsd-localtest |
236 |
%_libexecdir/gvfsd-burn |
%{_libexecdir}/gvfsd-burn |
237 |
%_libexecdir/gvfsd-dnssd |
%{_libexecdir}/gvfsd-dnssd |
238 |
%_libexecdir/gvfsd-network |
%{_libexecdir}/gvfsd-network |
239 |
%_libdir/libgvfscommon.so.%{major}* |
%{_libdir}/libgvfscommon.so.%{major}* |
240 |
%_libdir/libgvfscommon-dnssd.so.%{major}* |
%{_libdir}/libgvfscommon-dnssd.so.%{major}* |
241 |
|
|
242 |
%files -n %develname |
%files -n %develname |
243 |
%defattr(-,root,root) |
%defattr(-,root,root) |
244 |
%doc NEWS ChangeLog AUTHORS TODO |
%doc NEWS ChangeLog AUTHORS TODO |
245 |
%_libdir/lib*.so |
%{_libdir}/lib*.so |
246 |
%_libdir/lib*.la |
%{_libdir}/lib*.la |
247 |
%_includedir/gvfs-client |
%_includedir/gvfs-client |
248 |
|
|
249 |
%files fuse |
%files fuse |
282 |
%if %{enable_iphone} |
%if %{enable_iphone} |
283 |
%files iphone |
%files iphone |
284 |
%defattr(-, root, root, -) |
%defattr(-, root, root, -) |
285 |
%_libexecdir/gvfs-afc-volume-monitor |
%{_libexecdir}/gvfs-afc-volume-monitor |
286 |
%_libexecdir/gvfsd-afc |
%{_libexecdir}/gvfsd-afc |
287 |
%_datadir/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service |
%{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service |
288 |
%_datadir/gvfs/mounts/afc.mount |
%{_datadir}/gvfs/mounts/afc.mount |
289 |
%_datadir/gvfs/remote-volume-monitors/afc.monitor |
%{_datadir}/gvfs/remote-volume-monitors/afc.monitor |
290 |
%endif |
%endif |