packages: synce-gvfs/synce-gvfs.spec - builds

glen glen at pld-linux.org
Fri Jul 9 07:44:01 CEST 2010


Author: glen                         Date: Fri Jul  9 05:44:01 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- builds

---- Files affected:
packages/synce-gvfs:
   synce-gvfs.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/synce-gvfs/synce-gvfs.spec
diff -u packages/synce-gvfs/synce-gvfs.spec:1.3 packages/synce-gvfs/synce-gvfs.spec:1.4
--- packages/synce-gvfs/synce-gvfs.spec:1.3	Fri Jul  9 07:00:15 2010
+++ packages/synce-gvfs/synce-gvfs.spec	Fri Jul  9 07:43:56 2010
@@ -1,8 +1,11 @@
 # $Revision$, $Date$
 # TODO:
-#	- doesn't work (Mount failed: DBus error org.freedesktop.DBus.Error.InvalidArgs: 
+#	- doesn't work (Mount failed: DBus error org.freedesktop.DBus.Error.InvalidArgs:
 #         Argument 5 is specified to be of type "s", but is actually of type "b")
 #	- probably bogus BR: libstdc++-devel
+# NOTES
+# - gvfs interface is still experimental and has no public interface, therefore
+#   source it's source is needed to build. see README for details
 #
 Summary:	GVFS module for accessing Windows CE and Pocket PC devices
 Summary(pl.UTF-8):	Moduł GVFS służący do dostępu do urządzeń Windows CE i Pocket PC
@@ -11,16 +14,20 @@
 Release:	0.1
 License:	LGPL v2
 Group:		Applications/Communications
-Source0:	http://dl.sourceforge.net/synce/%{name}-%{version}.tar.gz
+Source0:	http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz
 # Source0-md5:	78c4133f0a43859c0fa45ead9c44f62c
+Source1:	http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.6/gvfs-1.6.2.tar.bz2
+# Source1-md5:	6ed1d943d1c1b8b15a6b180a6cd51043
 URL:		http://www.synce.org/
 BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.18
 BuildRequires:	gvfs-devel
 BuildRequires:	intltool
 BuildRequires:	libstdc++-devel
 BuildRequires:	pkgconfig
-BuildRequires:	synce-librapi2-devel
+BuildRequires:	synce-librapi2-devel >= 0.12
 %requires_eq_to	synce-librapi2 synce-librapi2-devel
+Requires(post,postun):  shared-mime-info
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,10 +39,13 @@
 Pocket PC. Jest on częścią projektu SynCE: <http://www.synce.org/>.
 
 %prep
-%setup -q
+%setup -q -a1
 
 %build
+GVFS_SOURCE=$(echo gvfs-*)
 %configure \
+	--with-gvfs-source=$GVFS_SOURCE \
+	--disable-update-mime-database \
 	--disable-static
 %{__make}
 
@@ -48,12 +58,19 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_mime_database
+
+%postun
+%update_mime_database
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/gvfsd-synce
 %{_iconsdir}/gnome/*/apps/synce-gvfs.png
 %{_datadir}/gvfs/mounts/synce.mount
+%{_datadir}/mime/packages/synce-gvfs.xml
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -61,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/07/09 05:43:56  glen
+- builds
+
 Revision 1.3  2010/07/09 05:00:15  glen
 - 0.4 tarball (for 0.15 release)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/synce-gvfs/synce-gvfs.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list