/[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 19174 by blino, Sat Jan 15 16:58:28 2011 UTC revision 75561 by ahmad, Tue Mar 22 19:42:58 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 2  %define release %mkrel 1
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
 BuildRequires: libhal-devel  
 Suggests: gnome-mount  
 %endif  
50  #gw the dbus service depends on the daemon in the library package  #gw the dbus service depends on the daemon in the library package
51  Requires: %libname = %version  Requires: %libname = %version
52  Suggests: %name-fuse  Suggests: %name-fuse
# Line 151  the iPhone and the iPod TouchP to applic Line 144  the iPhone and the iPod TouchP to applic
144  %apply_patches  %apply_patches
145    
146  %build  %build
147  %configure2_5x --with-dbus-service-dir=%_datadir/dbus-1/services \  %configure2_5x --with-dbus-service-dir=%{_datadir}/dbus-1/services \
148  %if !%{enable_gdu}    --enable-gdu \
   --enable-hal  --disable-gdu \  
 %endif  
   --enable-gconf \  
149  %if %{enable_gphoto2}  %if %{enable_gphoto2}
150   --enable-gphoto2   --enable-gphoto2
151  %else  %else
# Line 167  the iPhone and the iPod TouchP to applic Line 157  the iPhone and the iPod TouchP to applic
157  %install  %install
158  rm -rf %{buildroot}  rm -rf %{buildroot}
159  %makeinstall_std  %makeinstall_std
160  rm -f %buildroot%_libdir/gio/modules/*.la  
161    rm -f %buildroot%{_libdir}/gio/modules/*.la
162    
163  %find_lang gvfs  %find_lang gvfs
164    
# Line 196  if [ "$1" = "0" ]; then Line 187  if [ "$1" = "0" ]; then
187  %endif  %endif
188  fi  fi
189    
190    glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
191    
192    %posttrans
193    glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
194    
195  %files -f gvfs.lang  %files -f gvfs.lang
196  %defattr(-,root,root)  %defattr(-,root,root)
197  %_sysconfdir/bash_completion.d/gvfs  %_sysconfdir/bash_completion.d/gvfs
198  %_bindir/gvfs-*  %{_bindir}/gvfs-*
199  %_datadir/dbus-1/services/gvfs-daemon.service  %{_datadir}/dbus-1/services/gvfs-daemon.service
200  %_datadir/dbus-1/services/gvfs-metadata.service  %{_datadir}/dbus-1/services/gvfs-metadata.service
201  %if %{enable_gdu}  %{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
202  %_datadir/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service  %dir %{_datadir}/gvfs
203  %else  %dir %{_datadir}/gvfs/mounts
204  %_datadir/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service  %dir %{_datadir}/gvfs/remote-volume-monitors
205  %endif  %{_datadir}/gvfs/remote-volume-monitors/gdu.monitor
206  %dir %_datadir/gvfs  %{_datadir}/gvfs/mounts/sftp.mount
207  %dir %_datadir/gvfs/mounts  %{_datadir}/gvfs/mounts/trash.mount
208  %dir %_datadir/gvfs/remote-volume-monitors  %{_datadir}/gvfs/mounts/cdda.mount
209  %if %{enable_gdu}  %{_datadir}/gvfs/mounts/computer.mount
210  %_datadir/gvfs/remote-volume-monitors/gdu.monitor  %{_datadir}/gvfs/mounts/dav.mount
211  %else  %{_datadir}/gvfs/mounts/dav+sd.mount
212  %_datadir/gvfs/remote-volume-monitors/hal.monitor  %{_datadir}/gvfs/mounts/http.mount
213  %endif  %{_datadir}/gvfs/mounts/localtest.mount
214  %_datadir/gvfs/mounts/sftp.mount  %{_datadir}/gvfs/mounts/burn.mount
215  %_datadir/gvfs/mounts/trash.mount  %{_datadir}/gvfs/mounts/dns-sd.mount
216  %_datadir/gvfs/mounts/cdda.mount  %{_datadir}/gvfs/mounts/network.mount
217  %_datadir/gvfs/mounts/computer.mount  %{_datadir}/gvfs/mounts/ftp.mount
218  %_datadir/gvfs/mounts/dav.mount  %{_datadir}/GConf/gsettings/*.convert
219  %_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  
220    
221  %files -n %libname  %files -n %libname
222  %defattr(-,root,root)  %defattr(-,root,root)
223  %_libdir/gio/modules/libgiogconf.so  %{_libdir}/gio/modules/libgioremote-volume-monitor.so
224  %_libdir/gio/modules/libgioremote-volume-monitor.so  %{_libdir}/gio/modules/libgvfsdbus.so
225  %_libdir/gio/modules/libgvfsdbus.so  %{_libexecdir}/gvfs-gdu-volume-monitor
226  %if %{enable_gdu}  
227  %_libexecdir/gvfs-gdu-volume-monitor  %{_libexecdir}/gvfsd
228  %else  %{_libexecdir}/gvfsd-ftp
229  %_libexecdir/gvfs-hal-volume-monitor  %{_libexecdir}/gvfsd-metadata
230  %endif  %{_libexecdir}/gvfsd-sftp
231  %_libexecdir/gvfsd  %{_libexecdir}/gvfsd-trash
232  %_libexecdir/gvfsd-ftp  %{_libexecdir}/gvfsd-cdda
233  %_libexecdir/gvfsd-metadata  %{_libexecdir}/gvfsd-computer
234  %_libexecdir/gvfsd-sftp  %{_libexecdir}/gvfsd-dav
235  %_libexecdir/gvfsd-trash  %{_libexecdir}/gvfsd-http
236  %_libexecdir/gvfsd-cdda  %{_libexecdir}/gvfsd-localtest
237  %_libexecdir/gvfsd-computer  %{_libexecdir}/gvfsd-burn
238  %_libexecdir/gvfsd-dav  %{_libexecdir}/gvfsd-dnssd
239  %_libexecdir/gvfsd-http  %{_libexecdir}/gvfsd-network
240  %_libexecdir/gvfsd-localtest  %{_libdir}/libgvfscommon.so.%{major}*
241  %_libexecdir/gvfsd-burn  %{_libdir}/libgvfscommon-dnssd.so.%{major}*
 %_libexecdir/gvfsd-dnssd  
 %_libexecdir/gvfsd-network  
 %_libdir/libgvfscommon.so.%{major}*  
 %_libdir/libgvfscommon-dnssd.so.%{major}*  
242    
243  %files -n %develname  %files -n %develname
244  %defattr(-,root,root)  %defattr(-,root,root)
245  %doc NEWS ChangeLog AUTHORS TODO  %doc NEWS ChangeLog AUTHORS TODO
246  %_libdir/lib*.so  %{_libdir}/lib*.so
247  %_libdir/lib*.la  %{_libdir}/lib*.la
 #%_includedir/%name/  
248  %_includedir/gvfs-client  %_includedir/gvfs-client
 #%_libdir/pkgconfig/%name*.pc  
 #%doc %_datadir/gtk-doc/html/%name  
249    
250  %files fuse  %files fuse
251  %defattr(-, root, root, -)  %defattr(-, root, root, -)
# Line 276  fi Line 259  fi
259  %{_datadir}/gvfs/mounts/smb-browse.mount  %{_datadir}/gvfs/mounts/smb-browse.mount
260  %{_datadir}/gvfs/mounts/smb.mount  %{_datadir}/gvfs/mounts/smb.mount
261    
   
262  %files archive  %files archive
263  %defattr(-, root, root, -)  %defattr(-, root, root, -)
 #%dir %{_datadir}/applications/mount-archive.desktop  
264  %{_libexecdir}/gvfsd-archive  %{_libexecdir}/gvfsd-archive
265  %{_datadir}/gvfs/mounts/archive.mount  %{_datadir}/gvfs/mounts/archive.mount
266    
# Line 302  fi Line 283  fi
283  %if %{enable_iphone}  %if %{enable_iphone}
284  %files iphone  %files iphone
285  %defattr(-, root, root, -)  %defattr(-, root, root, -)
286  %_libexecdir/gvfs-afc-volume-monitor  %{_libexecdir}/gvfs-afc-volume-monitor
287  %_libexecdir/gvfsd-afc  %{_libexecdir}/gvfsd-afc
288  %_datadir/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service  %{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service
289  %_datadir/gvfs/mounts/afc.mount  %{_datadir}/gvfs/mounts/afc.mount
290  %_datadir/gvfs/remote-volume-monitors/afc.monitor  %{_datadir}/gvfs/remote-volume-monitors/afc.monitor
291  %endif  %endif
   
   

Legend:
Removed from v.19174  
changed lines
  Added in v.75561

  ViewVC Help
Powered by ViewVC 1.1.30