rpms/synce/FC-4 synce-README.Fedora, NONE, 1.1 synce.dev, NONE, 1.1 synce.spec, 1.9, 1.10

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Mon Nov 28 21:43:32 UTC 2005


Author: awjb

Update of /cvs/extras/rpms/synce/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11909/FC-4

Modified Files:
	synce.spec 
Added Files:
	synce-README.Fedora synce.dev 
Log Message:
- fix #174391



--- NEW FILE synce-README.Fedora ---
To configure the connection of your handheld through SynCE,
plug it in, run "dccm" as your desktop user, and the run
"synce-serial-config ipaq" as root.
Unplug the device, and plug it back. It should connect
automatically from now on.


--- NEW FILE synce.dev ---
#!/bin/sh

if [ "$ACTION" = "add" ] ; then
    /usr/bin/logger -p kern.info -t synce "iPAQ plugged, starting connection..."
    # start the connection, and remove empty lines from output (to keep the log clean)
    synce-serial-start | grep -v "^$" | /usr/bin/logger -p kern.info -t synce
elif [ "$ACTION" = "remove" ] ; then
    /usr/bin/logger -p kern.info -t synce "iPAQ removed"
fi


Index: synce.spec
===================================================================
RCS file: /cvs/extras/rpms/synce/FC-4/synce.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- synce.spec	21 Aug 2005 00:31:55 -0000	1.9
+++ synce.spec	28 Nov 2005 21:43:30 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           synce
 Version:        0.9.1
-Release:        3%{?dist}
+Release:        5%{?dist}
 Summary:        Serial connection support for Pocket PC devices
 
 Group:          Applications/Communications
@@ -12,6 +12,8 @@
 Source3:        http://dl.sf.net/synce/synce-rra-%{version}.tar.gz
 Source4:        http://dl.sf.net/synce/synce-librapi2-%{version}.tar.gz
 Source5:        http://dl.sf.net/synce/libmimedir-0.4.tar.gz
+Source6:        synce.dev
+Source7:        synce-README.Fedora
 Patch0:         synce-rra-Makefile.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -106,6 +108,16 @@
 
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 
+# Enable autoconnect
+install -p -m 755 -D %{SOURCE6} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/scripts/synce.dev
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/dev.d/ipaq/
+ln -s ../../udev/scripts/synce.dev $RPM_BUILD_ROOT/%{_sysconfdir}/dev.d/ipaq/synce.dev
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/
+echo 'DRIVER="ipaq", NAME="ipaq", SYMLINK="ttyUSB%%n"' > \
+    $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/50-ipaq.rules
+
+cp %{SOURCE7} README.Fedora
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -115,7 +127,7 @@
 
 %files
 %defattr(-,root,root,-)
-#%doc README LICENSE
+%doc README.Fedora
 
 #libsynce
 %{_libdir}/libsynce.so.0*
@@ -162,6 +174,10 @@
 %{_mandir}/man8/synce-serial-*
 #libmimedir
 %{_libdir}/libmimedir.so
+#autoconnect
+%{_sysconfdir}/udev/rules.d/50-ipaq.rules
+%{_sysconfdir}/udev/scripts/synce.dev
+%{_sysconfdir}/dev.d/ipaq/
 
 %files devel
 %defattr(-,root,root,-)
@@ -170,6 +186,13 @@
 %{_datadir}/aclocal/*.m4
 
 %changelog
+* Mon Nov 28 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.9.1-6
+- move fedora readme to external file
+
+* Mon Nov 28 2005 Aurelien Bompard <gauret[AT]free.fr> 0.9.1-5
+- enable automatic connection of the device
+
 * Sun Aug 21 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 0.9.1-3
 - fix dep problem




More information about the fedora-extras-commits mailing list