rpms/synce/devel synce-README.Fedora, NONE, 1.1 synce.dev, NONE, 1.1 synce.spec, 1.14, 1.15
Andreas Bierfert (awjb)
fedora-extras-commits at redhat.com
Mon Nov 28 21:43:37 UTC 2005
Author: awjb
Update of /cvs/extras/rpms/synce/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11909/devel
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/devel/synce.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- synce.spec 17 Nov 2005 06:50:41 -0000 1.14
+++ synce.spec 28 Nov 2005 21:43:35 -0000 1.15
@@ -2,7 +2,7 @@
Name: synce
Version: 0.9.1
-Release: 4%{?dist}
+Release: 6%{?dist}
Summary: Serial connection support for Pocket PC devices
Group: Applications/Communications
@@ -14,6 +14,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
Patch1: synce-rra-devel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -112,6 +114,15 @@
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
@@ -121,7 +132,7 @@
%files
%defattr(-,root,root,-)
-#%doc README LICENSE
+%doc README.Fedora
#libsynce
%{_libdir}/libsynce.so.0*
@@ -169,6 +180,11 @@
#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,-)
%{_includedir}/*.h
@@ -176,6 +192,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
+
* Tue Sep 27 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.9.1-4
- workaround for libmimedir problem an devel
More information about the scm-commits
mailing list