]> git.pld-linux.org Git - packages/ekg2.git/commitdiff
- added xosd plugin bcond
authorleafnode <leafnode@pld-linux.org>
Thu, 11 Nov 2004 17:33:24 +0000 (17:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- s/perl -pi/sed -i/
- updated to snapshot 20041110

Changed files:
    ekg2.spec -> 1.34

ekg2.spec

index ec9e74b2999da04474b32e4c36d2287ffd987524..7498ef1dc23a07769c794abde77cf52c99f227dd 100644 (file)
--- a/ekg2.spec
+++ b/ekg2.spec
@@ -3,12 +3,13 @@
 %bcond_with    yesterday_snapshot      # Build most current ekg2 snapshot
                                        # (must use ./builder -n5 or plain rpmbuild)
 %bcond_without aspell                  # Don't build in spell-checking support with aspell
+%bcond_without xosd                    # Don't build xosd plugin
 %bcond_with    ioctl_daemon            # With (suid-root) ioctl daemon
 
 %if %{with yesterday_snapshot}
 %define                _snap %(date +%%Y%%m%%d -d yesterday)
 %else
-%define                _snap 20041108
+%define                _snap 20041110
 %endif
 
 Summary:       A client compatible with Gadu-Gadu
@@ -37,7 +38,7 @@ BuildRequires:        libltdl-devel
 BuildRequires: libtool
 BuildRequires: ncurses-devel
 BuildRequires: openssl-devel >= 0.9.7d
-BuildRequires: xosd-devel
+%{?with_xosd:BuildRequires:    xosd-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -56,7 +57,7 @@ Gadu-Gadu jak i Jabbera. Planowana tak
 %prep
 %setup -q -n %{name}-%{_snap}
 
-%{__perl} -pi -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac
+sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac
 
 %build
 %{__libtoolize} --ltdl
@@ -71,7 +72,9 @@ cd ..
 %{__autoheader}
 %{__automake}
 %configure \
-       --with%{!?with_aspell:out}-aspell
+       --with%{!?with_aspell:out}-aspell \
+       --with%{!?with_xosd:out}-xosd
+       
 %{__make}
 
 %install
This page took 0.03045 seconds and 4 git commands to generate.