packages: synce-connector/synce-connector.spec - with default udev connector
glen
glen at pld-linux.org
Sat Aug 13 23:06:01 CEST 2011
Author: glen Date: Sat Aug 13 21:06:01 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- with default udev connector
---- Files affected:
packages/synce-connector:
synce-connector.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/synce-connector/synce-connector.spec
diff -u packages/synce-connector/synce-connector.spec:1.3 packages/synce-connector/synce-connector.spec:1.4
--- packages/synce-connector/synce-connector.spec:1.3 Thu Jul 28 22:38:11 2011
+++ packages/synce-connector/synce-connector.spec Sat Aug 13 23:05:56 2011
@@ -1,22 +1,29 @@
# $Revision$, $Date$
# TODO:
# - check connector-dccm requirements
-# - udev? bluetooth?
+# - bluetooth?
#
# Conditional build:
-%bcond_without dbus # build without dbus support
+%bcond_without dbus # build without DBus support
%bcond_without dccm # build without dccm file support
-%bcond_with hal # build without hal support
+%bcond_with hal # build without HAL support
+%bcond_without udev # build without UDEV support
%bcond_without odccm # build without odccm support
+# UDEV disables HAL
+%if %{with udev}
+%undefine with_hal
+%endif
+
%if %{without dbus}
-%undefine with_odccm
-%undefine with_hal
+%undefine with_odccm
+%undefine with_hal
%endif
+
Summary: Connection framework and dccm-implementation for WinCE devices
Name: synce-connector
Version: 0.15.2
-Release: 0.1
+Release: 2
License: GPL v2
Group: Applications/System
Source0: http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz
@@ -25,10 +32,13 @@
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.4
%{?with_dbus:BuildRequires: dbus-glib-devel >= 0.60}
+BuildRequires: gnet-devel
%{?with_hal:BuildRequires: hal-devel >= 0.5.8}
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: synce-libsynce-devel >= 0.11
+%{?with_udev:BuildRequires: udev-devel}
+%{?with_udev:BuildRequires: udev-glib-devel}
Requires: dhcp-client
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -68,12 +78,22 @@
%description dccm
Provides Connection via dccm for WinCE devices.
+%package udev
+Summary: Provides Connection via UDEV for WinCE devices
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+
+%description udev
+Provides Connection via UDEV for WinCE devices.
+
%prep
%setup -q
%build
DHCLIENTPATH=/sbin/dhclient \
%configure \
+ %{?with_udev:--enable-udev} \
+ %{!?with_udev:--disable-udev} \
%if %{with hal}
--with-hal-addon-dir=%{_libdir}/hal/scripts
%endif
@@ -82,10 +102,7 @@
# %{!?with_hal: --disable-hal-support} \
# %{!?with_odccm: --disable-odccm-support}
#
-# --enable-udev Build for udev
# --enable-bluetooth-support Build in bluetooth support
-# --with-hal-addon-dir=PATH Location of the hal addon scripts.
-# --with-udev-dir=PATH Location of the udev config.
%{__make}
@@ -100,7 +117,7 @@
%files
%defattr(644,root,root,755)
%doc AUTHORS README TODO ChangeLog
-%attr(755,root,root) %{_bindir}/synce-unlock.py
+%attr(755,root,root) %{_bindir}/synce-unlock
%attr(755,root,root) %{_libdir}/synce-serial-chat
%dir %{_datadir}/synce-connector
%{_datadir}/synce-connector/dhclient.conf
@@ -115,6 +132,19 @@
%attr(755,root,root) %{_libdir}/hal/scripts/hal-synce-serial
%endif
+%if %{with udev}
+%files udev
+%defattr(644,root,root,755)
+/etc/dbus-1/system.d/org.synce.dccm.conf
+/lib/udev/rules.d/85-synce.rules
+%attr(755,root,root) %{_bindir}/synce-serial
+%attr(755,root,root) /lib/udev/synce-udev-rndis
+%attr(755,root,root) /lib/udev/synce-udev-serial
+%{_datadir}/dbus-1/system-services/org.synce.dccm.service
+%attr(755,root,root) %{_datadir}/synce-connector/udev-synce-rndis
+%attr(755,root,root) %{_datadir}/synce-connector/udev-synce-serial
+%endif
+
%if %{with odccm}
%files odccm
%defattr(644,root,root,755)
@@ -132,6 +162,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2011/08/13 21:05:56 glen
+- with default udev connector
+
Revision 1.3 2011/07/28 20:38:11 baggins
- 0.15.2
- disabled HAL (obsolete)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/synce-connector/synce-connector.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list