/[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 75585 by ahmad, Tue Mar 22 20:36:19 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 2
4    
5  %define major 0  %define major 0
6  %define libname %mklibname %name %major  %define libname %mklibname %name %major
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
49  %else  BuildRequires: sqlite3-devel
50  BuildRequires: libhal-devel  BuildRequires: libproxy-devel
 Suggests: gnome-mount  
 %endif  
51  #gw the dbus service depends on the daemon in the library package  #gw the dbus service depends on the daemon in the library package
52  Requires: %libname = %version  Requires: %libname = %version
53  Suggests: %name-fuse  Suggests: %name-fuse
# Line 71  This is a Virtual File System library ba Line 65  This is a Virtual File System library ba
65  Group: System/Libraries  Group: System/Libraries
66  Summary: Glib VFS library  Summary: Glib VFS library
67  Requires: %name >= %version  Requires: %name >= %version
68  Requires(post): %giolibname >= 2.23.4-2mdv  Requires(post): %giolibname
69  Requires(postun): %giolibname >= 2.23.4-2mdv  Requires(postun): %giolibname
70    
71  %description -n %{libname}  %description -n %{libname}
72  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 145  the iPhone and the iPod TouchP to applic
145  %apply_patches  %apply_patches
146    
147  %build  %build
148  %configure2_5x --with-dbus-service-dir=%_datadir/dbus-1/services \  %configure2_5x --with-dbus-service-dir=%{_datadir}/dbus-1/services \
149  %if !%{enable_gdu}    --enable-gdu \
   --enable-hal  --disable-gdu \  
 %endif  
   --enable-gconf \  
150  %if %{enable_gphoto2}  %if %{enable_gphoto2}
151   --enable-gphoto2   --enable-gphoto2
152  %else  %else
# Line 167  the iPhone and the iPod TouchP to applic Line 158  the iPhone and the iPod TouchP to applic
158  %install  %install
159  rm -rf %{buildroot}  rm -rf %{buildroot}
160  %makeinstall_std  %makeinstall_std
161  rm -f %buildroot%_libdir/gio/modules/*.la  
162    rm -f %buildroot%{_libdir}/gio/modules/*.la
163    
164  %find_lang gvfs  %find_lang gvfs
165    
# Line 199  fi Line 191  fi
191  %files -f gvfs.lang  %files -f gvfs.lang
192  %defattr(-,root,root)  %defattr(-,root,root)
193  %_sysconfdir/bash_completion.d/gvfs  %_sysconfdir/bash_completion.d/gvfs
194  %_bindir/gvfs-*  %{_bindir}/gvfs-*
195  %_datadir/dbus-1/services/gvfs-daemon.service  %{_datadir}/dbus-1/services/gvfs-daemon.service
196  %_datadir/dbus-1/services/gvfs-metadata.service  %{_datadir}/dbus-1/services/gvfs-metadata.service
197  %if %{enable_gdu}  %{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
198  %_datadir/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service  %dir %{_datadir}/gvfs
199  %else  %dir %{_datadir}/gvfs/mounts
200  %_datadir/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service  %dir %{_datadir}/gvfs/remote-volume-monitors
201  %endif  %{_datadir}/gvfs/remote-volume-monitors/gdu.monitor
202  %dir %_datadir/gvfs  %{_datadir}/gvfs/mounts/sftp.mount
203  %dir %_datadir/gvfs/mounts  %{_datadir}/gvfs/mounts/trash.mount
204  %dir %_datadir/gvfs/remote-volume-monitors  %{_datadir}/gvfs/mounts/cdda.mount
205  %if %{enable_gdu}  %{_datadir}/gvfs/mounts/computer.mount
206  %_datadir/gvfs/remote-volume-monitors/gdu.monitor  %{_datadir}/gvfs/mounts/dav.mount
207  %else  %{_datadir}/gvfs/mounts/dav+sd.mount
208  %_datadir/gvfs/remote-volume-monitors/hal.monitor  %{_datadir}/gvfs/mounts/http.mount
209  %endif  %{_datadir}/gvfs/mounts/localtest.mount
210  %_datadir/gvfs/mounts/sftp.mount  %{_datadir}/gvfs/mounts/burn.mount
211  %_datadir/gvfs/mounts/trash.mount  %{_datadir}/gvfs/mounts/dns-sd.mount
212  %_datadir/gvfs/mounts/cdda.mount  %{_datadir}/gvfs/mounts/network.mount
213  %_datadir/gvfs/mounts/computer.mount  %{_datadir}/gvfs/mounts/ftp.mount
214  %_datadir/gvfs/mounts/dav.mount  %{_datadir}/GConf/gsettings/*.convert
215  %_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  
216    
217  %files -n %libname  %files -n %libname
218  %defattr(-,root,root)  %defattr(-,root,root)
219  %_libdir/gio/modules/libgiogconf.so  %{_libdir}/gio/modules/libgioremote-volume-monitor.so
220  %_libdir/gio/modules/libgioremote-volume-monitor.so  %{_libdir}/gio/modules/libgvfsdbus.so
221  %_libdir/gio/modules/libgvfsdbus.so  %{_libexecdir}/gvfs-gdu-volume-monitor
222  %if %{enable_gdu}  
223  %_libexecdir/gvfs-gdu-volume-monitor  %{_libexecdir}/gvfsd
224  %else  %{_libexecdir}/gvfsd-ftp
225  %_libexecdir/gvfs-hal-volume-monitor  %{_libexecdir}/gvfsd-metadata
226  %endif  %{_libexecdir}/gvfsd-sftp
227  %_libexecdir/gvfsd  %{_libexecdir}/gvfsd-trash
228  %_libexecdir/gvfsd-ftp  %{_libexecdir}/gvfsd-cdda
229  %_libexecdir/gvfsd-metadata  %{_libexecdir}/gvfsd-computer
230  %_libexecdir/gvfsd-sftp  %{_libexecdir}/gvfsd-dav
231  %_libexecdir/gvfsd-trash  %{_libexecdir}/gvfsd-http
232  %_libexecdir/gvfsd-cdda  %{_libexecdir}/gvfsd-localtest
233  %_libexecdir/gvfsd-computer  %{_libexecdir}/gvfsd-burn
234  %_libexecdir/gvfsd-dav  %{_libexecdir}/gvfsd-dnssd
235  %_libexecdir/gvfsd-http  %{_libexecdir}/gvfsd-network
236  %_libexecdir/gvfsd-localtest  %{_libdir}/libgvfscommon.so.%{major}*
237  %_libexecdir/gvfsd-burn  %{_libdir}/libgvfscommon-dnssd.so.%{major}*
 %_libexecdir/gvfsd-dnssd  
 %_libexecdir/gvfsd-network  
 %_libdir/libgvfscommon.so.%{major}*  
 %_libdir/libgvfscommon-dnssd.so.%{major}*  
238    
239  %files -n %develname  %files -n %develname
240  %defattr(-,root,root)  %defattr(-,root,root)
241  %doc NEWS ChangeLog AUTHORS TODO  %doc NEWS ChangeLog AUTHORS TODO
242  %_libdir/lib*.so  %{_libdir}/lib*.so
243  %_libdir/lib*.la  %{_libdir}/lib*.la
 #%_includedir/%name/  
244  %_includedir/gvfs-client  %_includedir/gvfs-client
 #%_libdir/pkgconfig/%name*.pc  
 #%doc %_datadir/gtk-doc/html/%name  
245    
246  %files fuse  %files fuse
247  %defattr(-, root, root, -)  %defattr(-, root, root, -)
# Line 276  fi Line 255  fi
255  %{_datadir}/gvfs/mounts/smb-browse.mount  %{_datadir}/gvfs/mounts/smb-browse.mount
256  %{_datadir}/gvfs/mounts/smb.mount  %{_datadir}/gvfs/mounts/smb.mount
257    
   
258  %files archive  %files archive
259  %defattr(-, root, root, -)  %defattr(-, root, root, -)
 #%dir %{_datadir}/applications/mount-archive.desktop  
260  %{_libexecdir}/gvfsd-archive  %{_libexecdir}/gvfsd-archive
261  %{_datadir}/gvfs/mounts/archive.mount  %{_datadir}/gvfs/mounts/archive.mount
262    
# Line 302  fi Line 279  fi
279  %if %{enable_iphone}  %if %{enable_iphone}
280  %files iphone  %files iphone
281  %defattr(-, root, root, -)  %defattr(-, root, root, -)
282  %_libexecdir/gvfs-afc-volume-monitor  %{_libexecdir}/gvfs-afc-volume-monitor
283  %_libexecdir/gvfsd-afc  %{_libexecdir}/gvfsd-afc
284  %_datadir/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service  %{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service
285  %_datadir/gvfs/mounts/afc.mount  %{_datadir}/gvfs/mounts/afc.mount
286  %_datadir/gvfs/remote-volume-monitors/afc.monitor  %{_datadir}/gvfs/remote-volume-monitors/afc.monitor
287  %endif  %endif
   
   

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

  ViewVC Help
Powered by ViewVC 1.1.30