]> git.pld-linux.org Git - packages/ekg.git/blobdiff - ekg.spec
-- reverse bcond [without-ncurses]
[packages/ekg.git] / ekg.spec
index 8587c1a9cef79581ecffc58f814c7ebe453acfff..ff920bff8e6997bfea78e64135ac04eb74422b4f 100644 (file)
--- a/ekg.spec
+++ b/ekg.spec
@@ -1,13 +1,16 @@
 #
 # Conditional build:
-# _with_ioctl_daemon - with ioctl_daemon (suid-root!)
+# _with_ioctl_daemon    - with ioctl_daemon (suid-root!)
+# _without_ncurses     - without new experimental ui
+# _with_python          - with python support
+# _without_voip                - without voip support
 #
 Summary:       A client compatible with Gadu-Gadu
 Summary(de):   Einen client kompatibel zu Gadu-Gadu
 Summary(it):   Esperimentale cliente di Gadu-Gadu
 Summary(pl):   Eksperymentalny Klient Gadu-Gadu
 Name:          ekg
-Version:       20020820
+Version:       20020909
 Release:       1
 Epoch:         1
 License:       GPL
@@ -15,10 +18,10 @@ Group:              Applications/Communications
 Source0:       http://dev.null.pl/ekg/%{name}-%{version}.tar.gz
 URL:           http://dev.null.pl/ekg/
 BuildRequires: perl
-BuildRequires: libgsm-devel
 BuildRequires: ncurses-devel
 BuildRequires: readline-devel
-BuildRequires: python-devel
+%{?!_without_voip:BuildRequires: libgsm-devel}
+%{?_with_python:BuildRequires: python-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -94,11 +97,13 @@ Statyczna biblioteka libgadu.
 %setup -q
 
 %build
-perl -pi -e "s/python2.1/python2.2/" configure
 %configure \
        --enable-shared \
        --enable-static \
-       --with-python \
+       --enable-force-readline \
+       %{?_with_python:--with-python} \
+       %{?!_without_ncurses:--enable-ui-ncurses} \
+       %{?_without_voip:--without-libgsm} \
        %{?!debug:--without-debug} \
        %{?!_with_ioctl_daemon:--disable-ioctld}
 %{__make}
This page took 0.033957 seconds and 4 git commands to generate.