Author: glen                         Date: Sat Aug 13 21:13:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- connector packages are built by synce-connector.spec
- be sure that bconds work, not depend on upstream defaults
- udev deps
- rel 3

---- Files affected:
packages/synce-libsynce:
   synce-libsynce.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/synce-libsynce/synce-libsynce.spec
diff -u packages/synce-libsynce/synce-libsynce.spec:1.20 
packages/synce-libsynce/synce-libsynce.spec:1.21
--- packages/synce-libsynce/synce-libsynce.spec:1.20    Thu Jul 21 13:28:47 2011
+++ packages/synce-libsynce/synce-libsynce.spec Sat Aug 13 23:13:41 2011
@@ -1,23 +1,22 @@
 # $Revision$, $Date$
-# TODO:
-#      - descriptions and names for -connector-*
-#      - check connector-dccm requirement
 #
 # Conditional build:
 %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
 
 %if %{without dbus}
-%undefine with_odccm
-%undefine with_hal
+%undefine      with_odccm
+%undefine      with_hal
+%undefine      with_udev
 %endif
 Summary:       Core SynCE library
 Summary(pl.UTF-8):     Podstawowa biblioteka SynCE
 Name:          synce-libsynce
 Version:       0.15.1
-Release:       2
+Release:       3
 License:       MIT
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/synce/libsynce-%{version}.tar.gz
@@ -28,6 +27,7 @@
 BuildRequires: automake >= 1.4
 %{?with_dbus:BuildRequires:    dbus-glib-devel >= 0.60}
 %{?with_hal:BuildRequires:     hal-devel >= 0.5.8}
+%{?with_udev:BuildRequires:    udev-devel}
 BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -66,37 +66,6 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka libsynce.
 
-%package -n synce-connector-hal
-Summary:       Virtual package which provides connection to a WinCE device
-Group:         Applications/System
-Provides:      synce-connector
-Requires:      %{name} = %{version}-%{release}
-Requires:      synce-hal
-
-%description -n synce-connector-hal
-Virtual package which provides connection to a WinCE device.
-
-%package -n synce-connector-odccm
-Summary:       Virtual package which provides connection to a WinCE device
-Group:         Applications/System
-Provides:      synce-connector
-Requires:      %{name} = %{version}-%{release}
-Requires:      synce-odccm
-
-%description -n synce-connector-odccm
-Virtual package which provides connection to a WinCE device.
-
-%package -n synce-connector-dccm
-Summary:       Virtual package which provides connection to a WinCE device
-Group:         Applications/System
-Provides:      synce-connector
-Requires:      %{name} = %{version}-%{release}
-# check what is actually required
-Requires:      synce-vdccm
-
-%description -n synce-connector-dccm
-Virtual package which provides connection to a WinCE device.
-
 %prep
 %setup -q -n libsynce-%{version}
 %patch0 -p1
@@ -108,9 +77,10 @@
 %{__autoheader}
 %{__automake}
 %configure \
-       %{!?with_dccm: --disable-dccm-file-support} \
-       %{!?with_hal: --disable-hal-support} \
-       %{!?with_odccm: --disable-odccm-support}
+       
%{!?with_dccm:--disable-dccm-file-support}%{?with_dccm:--enable-dccm-file-support}
 \
+       %{!?with_hal:--disable-hal-support}%{?with_hal:--enable-hal-support} \
+       
%{!?with_odccm:--disable-odccm-support}%{?with_odccm:--enable-odccm-support} \
+       %{!?with_udev:--disable-udev-support}%{?with_udev:--enable-udev-support}
 
 %{__make}
 
@@ -145,27 +115,18 @@
 %defattr(644,root,root,755)
 %{_libdir}/libsynce.a
 
-%if %{with hal}
-%files -n synce-connector-hal
-%defattr(644,root,root,755)
-%endif
-
-%if %{with odccm}
-%files -n synce-connector-odccm
-%defattr(644,root,root,755)
-%endif
-
-%if %{with dccm}
-%files -n synce-connector-dccm
-%defattr(644,root,root,755)
-%endif
-
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[email protected]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2011/08/13 21:13:41  glen
+- connector packages are built by synce-connector.spec
+- be sure that bconds work, not depend on upstream defaults
+- udev deps
+- rel 3
+
 Revision 1.20  2011/07/21 11:28:47  baggins
 - rel 2
 - disable HAL, use UDEV only
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/synce-libsynce/synce-libsynce.spec?r1=1.20&r2=1.21&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to