[packages/synce-gnomevfs] - up to the last version (0.13)

qboosh qboosh at pld-linux.org
Sat Feb 7 21:17:02 CET 2015


commit 17c806576436c84aa0c840b432495cf090ac8fb1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 7 21:19:31 2015 +0100

    - up to the last version (0.13)

 synce-gnomevfs.spec | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/synce-gnomevfs.spec b/synce-gnomevfs.spec
index 409794d..6f8074d 100644
--- a/synce-gnomevfs.spec
+++ b/synce-gnomevfs.spec
@@ -2,20 +2,26 @@
 Summary:	GnomeVFS module for accessing Windows CE and Pocket PC devices
 Summary(pl.UTF-8):	Moduł GnomeVFS służący do dostępu do urządzeń Windows CE i Pocket PC
 Name:		synce-gnomevfs
-Version:	0.12
-Release:	2
+Version:	0.13
+Release:	1
 License:	MIT
 Group:		Applications/Communications
 Source0:	http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz
-# Source0-md5:	b460273d980c6ce0289f0beca9484f78
+# Source0-md5:	6069ead295f8d26362a1fab6083b40a8
 Patch0:		%{name}-no_cxx.patch
 URL:		http://www.synce.org/
 BuildRequires:	automake
+BuildRequires:	glib2-devel >= 2.0
 BuildRequires:	gnome-vfs2-devel >= 2.14.0
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.559
-BuildRequires:	synce-librapi2-devel >= %{version}
+BuildRequires:	rpmbuild(macros) >= 1.596
+BuildRequires:	synce-librapi2-devel >= 0.12
+BuildRequires:	synce-libsynce-devel >= 0.12
+Requires(post,postun):	gtk-update-icon-cache
+Requires(post,postun):	shared-mime-info
+Requires:	hicolor-icon-theme
 %requires_ge_to	synce-librapi2 synce-librapi2-devel
+%requires_ge_to	synce-libsynce synce-libsynce-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,7 +41,7 @@ Windows CE i Pocket PC. Jest on częścią projektu SynCE:
 %build
 cp -f /usr/share/automake/config.* .
 %configure \
-	--disable-static
+	--disable-update-mime-database
 %{__make}
 
 %install
@@ -50,6 +56,14 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+%update_mime_database
+
+%postun
+%update_icon_cache hicolor
+%update_mime_database
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog LICENSE README
@@ -57,7 +71,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/libsyncevfs.so
 %attr(755,root,root) %{_libdir}/synce-trayicon/modules/gnomevfs-trayicon-module.so
 %{_sysconfdir}/gnome-vfs-2.0/modules/synce-module.conf
-%{_iconsdir}/hicolor/*/apps/synce-gnomevfs.png
+%{_datadir}/mime/packages/synce-gnomevfs.xml
+%{_iconsdir}/hicolor/48x48/apps/synce-gnomevfs.png
 # dir shared with synce-rra, synce-software-manager, synce-trayicon
 %dir %{_datadir}/synce
 %attr(755,root,root) %{_datadir}/synce/synce-in-computer-folder.sh
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/synce-gnomevfs.git/commitdiff/17c806576436c84aa0c840b432495cf090ac8fb1



More information about the pld-cvs-commit mailing list