rpms/synce-sync-engine/devel synce-config.xml, NONE, 1.1 synce-sync-engine.spec, 1.1, 1.2
Andreas Bierfert (awjb)
fedora-extras-commits at redhat.com
Sat Jan 19 10:56:18 UTC 2008
Author: awjb
Update of /cvs/pkgs/rpms/synce-sync-engine/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12518/devel
Modified Files:
synce-sync-engine.spec
Added Files:
synce-config.xml
Log Message:
- multiple fixes
--- NEW FILE synce-config.xml ---
<?xml version="1.0" ?>
<syncengine-config>
<!--
Global
General SyncEngine configuration.
-->
<Global>
<!--
SlowSyncDisable
When set to 1, will bypass the slow sync database and allow
only normal syncing with the handheld. Useful only really for
debugging - when using sync-engine in anger this should always
be set to 0.
-->
<SlowSyncDisable>0</SlowSyncDisable>
<!--
AuthMethod
This can be one of the following:
- INTERNAL_GUI uses internal GUI auth prog
- INTERNAL_CLI uses internal console auth prog
- [pathname_to_prog] uses external auth prog
Note: INTERNAL_GUI uses GTK to display the box.
INTERNAL_CLI uses the console and will work on systems
without GTK
If this element is not specified, the default will be
INTERNAL_CLI
-->
<AuthMethod>INTERNAL_GUI</AuthMethod>
<!--
AppendDefaultTimezone
When this is 1, SyncEngine will ensure that the default timezone
specifier is always exported to the host, if:
- /etc/timezone exists
- the device does not send a timezone specifier with the event
Setting it to zero disables this completely.
NOT FULLY IMPLEMENTED YET
-->
<AppendDefaultTimezone>0</AppendDefaultTimezone>
<!--
OpensyncXMLFormat specifies the type of format conversion to use
on the data from the handheld. It is one of the following:
- NONE performs no format conversion and exports the data
in AirSync/XML (Use this for debugging or with the
OpenSync AirSync format plugin only)
- OS30 uses OpenSync 0.3x XML schemas. Set this if you are
using OpenSync 0.3x or later with opensync-plugin-0.30later.py
- OS20 (default) uses the pre-0.3x schemas. Set this if using a
version of OpenSync that is pre-0.3x. This mode is likely to
be deprecated and subsequently removed once OpenSync 0.3
formats go mainstream at which point OS30 will become the
default
-->
<OpensyncXMLFormat>OS20</OpensyncXMLFormat>
<!--
FlushIDB
If set to 1 will automatically flush the item database and mapping tables
from memory between syncs. Otherwise will rely on a call from the plugin
to do it.
Default is enabled
-->
<FlushIDB>1</FlushIDB>
</Global>
<!--
Autosync
Control device-triggered synchronization.
-->
<Autosync>
<!--
AutoSyncCommand
The command run by SyncEngine in response to a device-triggered
synchronization. It can be set to any executable program specified
by the user. The default, in the absence of this element, is an
empty path - nothing is run.
-->
<AutoSyncCommand>xterm -e msynctool --sync synce</AutoSyncCommand>
<!--
Disable
Enable or disables device-triggered synchronization. When this is '1',
device-triggered synchronizations will have no effect and AutoSyncCommand
will be ignored. If set to '0' and AutoSyncCommand contains a valid path,
then hte executable specified in AutoSyncCommand will be run when the handheld
triggers an automatic synchronization.
-->
<Disable>1</Disable>
</Autosync>
<!--
FileSync
This controls file synchronization. Note that file synchronization is independent from
PIM data synchronization, and is entirely within SyncEngine (does not use OpenSync).
-->
<FileSync>
<!--
LocalFilePath
The path to the directory on the desktop that will mirror the handheld.
This should point to a valid path to a directory. When first creating the
partnership, ensure this directory is empty.
-->
<LocalFilePath>~/PDAFiles</LocalFilePath>
<!--
Disable
Enables or disables file synchronization. Can be '1' or '0', default is '1'.
'1' disables file synchronization. '0' enables file synchronization.
-->
<Disable>0</Disable>
<!--
LocalUpdateFreq
Additional delay in approximate seconds between local directory scans.
Actual delay is LocalUpdateFreq+10. The default is '10' and should not
need to be reduced below this figure.
Increasing it will increase the delay between local files being written and
them being reflected on the handheld.
-->
<LocalUpdateFreq>10</LocalUpdateFreq>
<!--
ExtraDeleteDelay
Controls the delay between a local object being scheduled for deletion and
the delete occurring. Default is '0' and it should not be necessary to change
this value unless you have a slow handheld.
-->
<ExtraDeleteDelay>0</ExtraDeleteDelay>
<!--
ObjectReportTimeout
Controls the amount of time we wait for the device to make its initial object
list report. Default is '8' and it should not be necessary to change this value
unless you have a slow handheld. OK to increase this, but should not be decreased.
-->
<ObjectReportTimeout>8</ObjectReportTimeout>
</FileSync>
</syncengine-config>
Index: synce-sync-engine.spec
===================================================================
RCS file: /cvs/pkgs/rpms/synce-sync-engine/devel/synce-sync-engine.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- synce-sync-engine.spec 13 Jan 2008 21:30:10 -0000 1.1
+++ synce-sync-engine.spec 19 Jan 2008 10:55:27 -0000 1.2
@@ -3,13 +3,14 @@
Name: synce-sync-engine
Version: 0.11
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Synce synchronization engine
Group: Applications/Communications
License: GPLv2+
URL: http://www.synce.org/
Source0: http://dl.sourceforge.net/sourceforge/synce/sync-engine-%{version}.tar.gz
+Source1: synce-config.xml
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -27,13 +28,23 @@
Requires: udev
Requires: python-sqlite2
Requires: python-rra python-rapi
+
+%description
+Synce synchronization engine.
+
+%package -n libopensync-plugin-synce
+Group: System Environment/Libraries
+Summary: Synce plugin for libopensync
+
+Obsoletes: libopensync-plugin-synce <= 0.22-4
+Provides: libopensync-plugin-synce = 1:%{version}-%{release}
+Requires: synce-sync-engine = %{version}-%{release}
Requires: libopensync-plugin-python >= 0.35
Requires: libopensync-plugin-vformat >= 0.35
-Obsoletes: libopensync-plugin-synce <= 0.22-4
+%description -n libopensync-plugin-synce
+%{summary}
-%description
-Synce synchronization engine for use with libopensync.
%prep
%setup -q -n sync-engine-%{version}
@@ -52,21 +63,32 @@
rm -fr $RPM_BUILD_ROOT%{python_sitelib}/plugins/
+# supply a default config as doc
+cp %{SOURCE1} config.xml
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc CHANGELOG COPYING
+%doc CHANGELOG COPYING config.xml
%{_bindir}/*py
%{_bindir}/sync-engine
%exclude %{_bindir}/*pyc
%exclude %{_bindir}/*pyo
-%{_libdir}/opensync-1.0/python-plugins/*
%{python_sitelib}/SyncEngine/
%{python_sitelib}/SyncEngine-0.11-py2.5.egg-info/
+%files -n libopensync-plugin-synce
+%defattr(-,root,root,-)
+%{_libdir}/opensync-1.0/python-plugins/*
+
%changelog
+* Fri Jan 18 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 0.11-4
+- split opensync plugin
+- include a default config.xml in doc
+
* Sun Jan 13 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- 0.11-3
- minor cleanups
More information about the fedora-extras-commits
mailing list