/[packages]/cauldron/gvfs/current/SPECS/gvfs.spec
ViewVC logotype

Diff of /cauldron/gvfs/current/SPECS/gvfs.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 19172 by blino, Sat Jan 15 16:57:52 2011 UTC revision 75484 by ahmad, Tue Mar 22 17:13:16 2011 UTC
# Line 1  Line 1 
1  %define name gvfs  %define name gvfs
2  %define version 1.6.6  %define version 1.7.2
3  %define release %mkrel 1  %define release %mkrel 1
4    
5  %define major 0  %define major 0
# Line 7  Line 7 
7  %define develname %mklibname -d %name  %define develname %mklibname -d %name
8    
9  %define enable_gphoto2 1  %define enable_gphoto2 1
10  %define enable_iphone 1  %define enable_iphone 0
   
 %define enable_gdu 1  
11    
12  %define giolibname %mklibname gio2.0_ 0  %define giolibname %mklibname gio2.0_ 0
13    
# Line 17  Summary: Glib VFS library Line 15  Summary: Glib VFS library
15  Name: %{name}  Name: %{name}
16  Version: %{version}  Version: %{version}
17  Release: %{release}  Release: %{release}
18  Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2  Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gvfs/1.7/%{name}-%{version}.tar.bz2
19  Source1: bash-completion  Source1: bash-completion
20  #gw from Ubuntu, fix music player detection  #gw from Ubuntu, fix music player detection
21  # https://bugs.freedesktop.org/show_bug.cgi?id=24500  # https://bugs.freedesktop.org/show_bug.cgi?id=24500
# Line 25  Patch0: gvfs-music-player-mimetype.patch Line 23  Patch0: gvfs-music-player-mimetype.patch
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
# Line 39  BuildRequires: intltool Line 36  BuildRequires: intltool
36  BuildRequires: gphoto2-devel  BuildRequires: gphoto2-devel
37  %endif  %endif
38  %if %{enable_iphone}  %if %{enable_iphone}
39  BuildRequires: libimobiledevice-devel >= 1.0.0  BuildRequires: libimobiledevice-devel >= 1.1.0
40  %endif  %endif
41  BuildRequires: libgnome-keyring-devel  BuildRequires: libgnome-keyring-devel
42  BuildRequires: avahi-glib-devel  BuildRequires: avahi-glib-devel
# Line 48  BuildRequires: bluez-devel Line 45  BuildRequires: bluez-devel
45  BuildRequires: dbus-glib-devel  BuildRequires: dbus-glib-devel
46  BuildRequires: expat-devel  BuildRequires: expat-devel
47  BuildRequires: gtk-doc  BuildRequires: gtk-doc
 %if %{enable_gdu}  
48  BuildRequires: libgdu-devel >= 2.29.0  BuildRequires: libgdu-devel >= 2.29.0
 %else  
 BuildRequires: libhal-devel  
 Suggests: gnome-mount  
 %endif  
49  #gw the dbus service depends on the daemon in the library package  #gw the dbus service depends on the daemon in the library package
50  Requires: %libname = %version  Requires: %libname = %version
51  Suggests: %name-fuse  Suggests: %name-fuse
# Line 71  This is a Virtual File System library ba Line 63  This is a Virtual File System library ba
63  Group: System/Libraries  Group: System/Libraries
64  Summary: Glib VFS library  Summary: Glib VFS library
65  Requires: %name >= %version  Requires: %name >= %version
66  Requires(post): %giolibname >= 2.23.4-2mdv  Requires(post): %giolibname
67  Requires(postun): %giolibname >= 2.23.4-2mdv  Requires(postun): %giolibname
68    
69  %description -n %{libname}  %description -n %{libname}
70  This is a Virtual File System library based on gio and Glib.  This is a Virtual File System library based on gio and Glib.
# Line 151  the iPhone and the iPod TouchP to applic Line 143  the iPhone and the iPod TouchP to applic
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  %if !%{enable_gdu}    --enable-gdu \
   --enable-hal  --disable-gdu \  
 %endif  
   --enable-gconf \  
148  %if %{enable_gphoto2}  %if %{enable_gphoto2}
149   --enable-gphoto2   --enable-gphoto2
150  %else  %else
# Line 167  the iPhone and the iPod TouchP to applic Line 156  the iPhone and the iPod TouchP to applic
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    
# Line 196  if [ "$1" = "0" ]; then Line 186  if [ "$1" = "0" ]; then
186  %endif  %endif
187  fi  fi
188    
189    glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
190    
191    %posttrans
192    glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
193    
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  %if %{enable_gdu}  %{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
201  %_datadir/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service  %dir %{_datadir}/gvfs
202  %else  %dir %{_datadir}/gvfs/mounts
203  %_datadir/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service  %dir %{_datadir}/gvfs/remote-volume-monitors
204  %endif  %{_datadir}/gvfs/remote-volume-monitors/gdu.monitor
205  %dir %_datadir/gvfs  %{_datadir}/gvfs/mounts/sftp.mount
206  %dir %_datadir/gvfs/mounts  %{_datadir}/gvfs/mounts/trash.mount
207  %dir %_datadir/gvfs/remote-volume-monitors  %{_datadir}/gvfs/mounts/cdda.mount
208  %if %{enable_gdu}  %{_datadir}/gvfs/mounts/computer.mount
209  %_datadir/gvfs/remote-volume-monitors/gdu.monitor  %{_datadir}/gvfs/mounts/dav.mount
210  %else  %{_datadir}/gvfs/mounts/dav+sd.mount
211  %_datadir/gvfs/remote-volume-monitors/hal.monitor  %{_datadir}/gvfs/mounts/http.mount
212  %endif  %{_datadir}/gvfs/mounts/localtest.mount
213  %_datadir/gvfs/mounts/sftp.mount  %{_datadir}/gvfs/mounts/burn.mount
214  %_datadir/gvfs/mounts/trash.mount  %{_datadir}/gvfs/mounts/dns-sd.mount
215  %_datadir/gvfs/mounts/cdda.mount  %{_datadir}/gvfs/mounts/network.mount
216  %_datadir/gvfs/mounts/computer.mount  %{_datadir}/gvfs/mounts/ftp.mount
217  %_datadir/gvfs/mounts/dav.mount  %{_datadir}/GConf/gsettings/*.convert
218  %_datadir/gvfs/mounts/dav+sd.mount  %{_datadir}/glib-2.0/schemas/*.xml
 %_datadir/gvfs/mounts/http.mount  
 %_datadir/gvfs/mounts/localtest.mount  
 %_datadir/gvfs/mounts/burn.mount  
 %_datadir/gvfs/mounts/dns-sd.mount  
 %_datadir/gvfs/mounts/network.mount  
 %_datadir/gvfs/mounts/ftp.mount  
219    
220  %files -n %libname  %files -n %libname
221  %defattr(-,root,root)  %defattr(-,root,root)
222  %_libdir/gio/modules/libgiogconf.so  %{_libdir}/gio/modules/libgioremote-volume-monitor.so
223  %_libdir/gio/modules/libgioremote-volume-monitor.so  %{_libdir}/gio/modules/libgvfsdbus.so
224  %_libdir/gio/modules/libgvfsdbus.so  %{_libexecdir}/gvfs-gdu-volume-monitor
225  %if %{enable_gdu}  
226  %_libexecdir/gvfs-gdu-volume-monitor  %{_libexecdir}/gvfsd
227  %else  %{_libexecdir}/gvfsd-ftp
228  %_libexecdir/gvfs-hal-volume-monitor  %{_libexecdir}/gvfsd-metadata
229  %endif  %{_libexecdir}/gvfsd-sftp
230  %_libexecdir/gvfsd  %{_libexecdir}/gvfsd-trash
231  %_libexecdir/gvfsd-ftp  %{_libexecdir}/gvfsd-cdda
232  %_libexecdir/gvfsd-metadata  %{_libexecdir}/gvfsd-computer
233  %_libexecdir/gvfsd-sftp  %{_libexecdir}/gvfsd-dav
234  %_libexecdir/gvfsd-trash  %{_libexecdir}/gvfsd-http
235  %_libexecdir/gvfsd-cdda  %{_libexecdir}/gvfsd-localtest
236  %_libexecdir/gvfsd-computer  %{_libexecdir}/gvfsd-burn
237  %_libexecdir/gvfsd-dav  %{_libexecdir}/gvfsd-dnssd
238  %_libexecdir/gvfsd-http  %{_libexecdir}/gvfsd-network
239  %_libexecdir/gvfsd-localtest  %{_libdir}/libgvfscommon.so.%{major}*
240  %_libexecdir/gvfsd-burn  %{_libdir}/libgvfscommon-dnssd.so.%{major}*
 %_libexecdir/gvfsd-dnssd  
 %_libexecdir/gvfsd-network  
 %_libdir/libgvfscommon.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
 #%_includedir/%name/  
247  %_includedir/gvfs-client  %_includedir/gvfs-client
 #%_libdir/pkgconfig/%name*.pc  
 #%doc %_datadir/gtk-doc/html/%name  
248    
249  %files fuse  %files fuse
250  %defattr(-, root, root, -)  %defattr(-, root, root, -)
# Line 276  fi Line 258  fi
258  %{_datadir}/gvfs/mounts/smb-browse.mount  %{_datadir}/gvfs/mounts/smb-browse.mount
259  %{_datadir}/gvfs/mounts/smb.mount  %{_datadir}/gvfs/mounts/smb.mount
260    
   
261  %files archive  %files archive
262  %defattr(-, root, root, -)  %defattr(-, root, root, -)
 #%dir %{_datadir}/applications/mount-archive.desktop  
263  %{_libexecdir}/gvfsd-archive  %{_libexecdir}/gvfsd-archive
264  %{_datadir}/gvfs/mounts/archive.mount  %{_datadir}/gvfs/mounts/archive.mount
265    
# Line 302  fi Line 282  fi
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
   
   

Legend:
Removed from v.19172  
changed lines
  Added in v.75484

  ViewVC Help
Powered by ViewVC 1.1.30