/[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 75562 by ahmad, Tue Mar 22 19:51:47 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
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 196  if [ "$1" = "0" ]; then Line 188  if [ "$1" = "0" ]; then
188  %endif  %endif
189  fi  fi
190    
191    glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
192    
193    %posttrans
194    glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
195    
196  %files -f gvfs.lang  %files -f gvfs.lang
197  %defattr(-,root,root)  %defattr(-,root,root)
198  %_sysconfdir/bash_completion.d/gvfs  %_sysconfdir/bash_completion.d/gvfs
199  %_bindir/gvfs-*  %{_bindir}/gvfs-*
200  %_datadir/dbus-1/services/gvfs-daemon.service  %{_datadir}/dbus-1/services/gvfs-daemon.service
201  %_datadir/dbus-1/services/gvfs-metadata.service  %{_datadir}/dbus-1/services/gvfs-metadata.service
202  %if %{enable_gdu}  %{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
203  %_datadir/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service  %dir %{_datadir}/gvfs
204  %else  %dir %{_datadir}/gvfs/mounts
205  %_datadir/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service  %dir %{_datadir}/gvfs/remote-volume-monitors
206  %endif  %{_datadir}/gvfs/remote-volume-monitors/gdu.monitor
207  %dir %_datadir/gvfs  %{_datadir}/gvfs/mounts/sftp.mount
208  %dir %_datadir/gvfs/mounts  %{_datadir}/gvfs/mounts/trash.mount
209  %dir %_datadir/gvfs/remote-volume-monitors  %{_datadir}/gvfs/mounts/cdda.mount
210  %if %{enable_gdu}  %{_datadir}/gvfs/mounts/computer.mount
211  %_datadir/gvfs/remote-volume-monitors/gdu.monitor  %{_datadir}/gvfs/mounts/dav.mount
212  %else  %{_datadir}/gvfs/mounts/dav+sd.mount
213  %_datadir/gvfs/remote-volume-monitors/hal.monitor  %{_datadir}/gvfs/mounts/http.mount
214  %endif  %{_datadir}/gvfs/mounts/localtest.mount
215  %_datadir/gvfs/mounts/sftp.mount  %{_datadir}/gvfs/mounts/burn.mount
216  %_datadir/gvfs/mounts/trash.mount  %{_datadir}/gvfs/mounts/dns-sd.mount
217  %_datadir/gvfs/mounts/cdda.mount  %{_datadir}/gvfs/mounts/network.mount
218  %_datadir/gvfs/mounts/computer.mount  %{_datadir}/gvfs/mounts/ftp.mount
219  %_datadir/gvfs/mounts/dav.mount  %{_datadir}/GConf/gsettings/*.convert
220  %_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  
221    
222  %files -n %libname  %files -n %libname
223  %defattr(-,root,root)  %defattr(-,root,root)
224  %_libdir/gio/modules/libgiogconf.so  %{_libdir}/gio/modules/libgioremote-volume-monitor.so
225  %_libdir/gio/modules/libgioremote-volume-monitor.so  %{_libdir}/gio/modules/libgvfsdbus.so
226  %_libdir/gio/modules/libgvfsdbus.so  %{_libexecdir}/gvfs-gdu-volume-monitor
227  %if %{enable_gdu}  
228  %_libexecdir/gvfs-gdu-volume-monitor  %{_libexecdir}/gvfsd
229  %else  %{_libexecdir}/gvfsd-ftp
230  %_libexecdir/gvfs-hal-volume-monitor  %{_libexecdir}/gvfsd-metadata
231  %endif  %{_libexecdir}/gvfsd-sftp
232  %_libexecdir/gvfsd  %{_libexecdir}/gvfsd-trash
233  %_libexecdir/gvfsd-ftp  %{_libexecdir}/gvfsd-cdda
234  %_libexecdir/gvfsd-metadata  %{_libexecdir}/gvfsd-computer
235  %_libexecdir/gvfsd-sftp  %{_libexecdir}/gvfsd-dav
236  %_libexecdir/gvfsd-trash  %{_libexecdir}/gvfsd-http
237  %_libexecdir/gvfsd-cdda  %{_libexecdir}/gvfsd-localtest
238  %_libexecdir/gvfsd-computer  %{_libexecdir}/gvfsd-burn
239  %_libexecdir/gvfsd-dav  %{_libexecdir}/gvfsd-dnssd
240  %_libexecdir/gvfsd-http  %{_libexecdir}/gvfsd-network
241  %_libexecdir/gvfsd-localtest  %{_libdir}/libgvfscommon.so.%{major}*
242  %_libexecdir/gvfsd-burn  %{_libdir}/libgvfscommon-dnssd.so.%{major}*
 %_libexecdir/gvfsd-dnssd  
 %_libexecdir/gvfsd-network  
 %_libdir/libgvfscommon.so.%{major}*  
 %_libdir/libgvfscommon-dnssd.so.%{major}*  
243    
244  %files -n %develname  %files -n %develname
245  %defattr(-,root,root)  %defattr(-,root,root)
246  %doc NEWS ChangeLog AUTHORS TODO  %doc NEWS ChangeLog AUTHORS TODO
247  %_libdir/lib*.so  %{_libdir}/lib*.so
248  %_libdir/lib*.la  %{_libdir}/lib*.la
 #%_includedir/%name/  
249  %_includedir/gvfs-client  %_includedir/gvfs-client
 #%_libdir/pkgconfig/%name*.pc  
 #%doc %_datadir/gtk-doc/html/%name  
250    
251  %files fuse  %files fuse
252  %defattr(-, root, root, -)  %defattr(-, root, root, -)
# Line 276  fi Line 260  fi
260  %{_datadir}/gvfs/mounts/smb-browse.mount  %{_datadir}/gvfs/mounts/smb-browse.mount
261  %{_datadir}/gvfs/mounts/smb.mount  %{_datadir}/gvfs/mounts/smb.mount
262    
   
263  %files archive  %files archive
264  %defattr(-, root, root, -)  %defattr(-, root, root, -)
 #%dir %{_datadir}/applications/mount-archive.desktop  
265  %{_libexecdir}/gvfsd-archive  %{_libexecdir}/gvfsd-archive
266  %{_datadir}/gvfs/mounts/archive.mount  %{_datadir}/gvfs/mounts/archive.mount
267    
# Line 302  fi Line 284  fi
284  %if %{enable_iphone}  %if %{enable_iphone}
285  %files iphone  %files iphone
286  %defattr(-, root, root, -)  %defattr(-, root, root, -)
287  %_libexecdir/gvfs-afc-volume-monitor  %{_libexecdir}/gvfs-afc-volume-monitor
288  %_libexecdir/gvfsd-afc  %{_libexecdir}/gvfsd-afc
289  %_datadir/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service  %{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service
290  %_datadir/gvfs/mounts/afc.mount  %{_datadir}/gvfs/mounts/afc.mount
291  %_datadir/gvfs/remote-volume-monitors/afc.monitor  %{_datadir}/gvfs/remote-volume-monitors/afc.monitor
292  %endif  %endif
   
   

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

  ViewVC Help
Powered by ViewVC 1.1.30