packages: synce-librapi2/synce-librapi2.spec - really disable udev, deps an...
glen
glen at pld-linux.org
Sat Aug 13 23:54:04 CEST 2011
Author: glen Date: Sat Aug 13 21:54:04 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- really disable udev, deps and more bconds
---- Files affected:
packages/synce-librapi2:
synce-librapi2.spec (1.32 -> 1.33)
---- Diffs:
================================================================
Index: packages/synce-librapi2/synce-librapi2.spec
diff -u packages/synce-librapi2/synce-librapi2.spec:1.32 packages/synce-librapi2/synce-librapi2.spec:1.33
--- packages/synce-librapi2/synce-librapi2.spec:1.32 Thu Jul 28 22:14:49 2011
+++ packages/synce-librapi2/synce-librapi2.spec Sat Aug 13 23:53:59 2011
@@ -3,13 +3,23 @@
# rm libstdc++-devel dependency - required only for tests programs
#
# Conditional build:
+%bcond_without dbus # build without dbus support
%bcond_without python # build without python bindings
+%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_udev
+%endif
Summary: SynCE RAPI library
Summary(pl.UTF-8): Biblioteka SynCE RAPI
Name: synce-librapi2
Version: 0.15.2
-Release: 3
+Release: 4
License: MIT
Group: Libraries
Source0: http://downloads.sourceforge.net/synce/librapi2-%{version}.tar.gz
@@ -17,12 +27,20 @@
URL: http://www.synce.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.4
+%{?with_dbus:BuildRequires: dbus-glib-devel >= 0.60}
+BuildRequires: gettext-devel
+%{?with_hal:BuildRequires: hal-devel}
BuildRequires: libstdc++-devel
BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.559
+%{?with_udev:BuildRequires: udev-devel}
%if %{with python}
BuildRequires: python-Pyrex
BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+# maybe temporaryliy, see https://bugs.launchpad.net/pld-linux/+bug/800148
+BuildRequires: python-modules
%endif
BuildRequires: rpmbuild(macros) >= 1.213
BuildRequires: synce-libsynce-devel >= 0.15
@@ -86,7 +104,12 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{!?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} \
+ %{!?with_python:--disable-python-bindings}%{?with_python:--enable-python-bindings}
+
%{__make}
%install
@@ -155,6 +178,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.33 2011/08/13 21:53:59 glen
+- really disable udev, deps and more bconds
+
Revision 1.32 2011/07/28 20:14:49 baggins
- rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/synce-librapi2/synce-librapi2.spec?r1=1.32&r2=1.33&f=u
More information about the pld-cvs-commit
mailing list