build without libotr support on SLE10 (libotr is too old there)
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=8
This commit is contained in:
parent
b45533ff4e
commit
b62398a1ad
12
bitlbee.spec
12
bitlbee.spec
@ -1,6 +1,10 @@
|
||||
# norootforbuild
|
||||
# vim: set ts=4 sw=4 et:
|
||||
|
||||
%if 0%{?suse_version} >= 1100
|
||||
%define with_otr 1
|
||||
%endif
|
||||
|
||||
Name: bitlbee
|
||||
Version: 3.0
|
||||
Release: 0
|
||||
@ -14,7 +18,6 @@ License: GNU General Public License version 2 (GPL v2)
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
Requires: xinetd
|
||||
BuildRequires: make gcc glibc-devel pkgconfig gnutls-devel libgcrypt-devel
|
||||
BuildRequires: libotr-devel
|
||||
BuildRequires: zlib-devel glib2-devel lzo-devel glib2-devel
|
||||
%if 0%{?suse_version} >= 1010
|
||||
BuildRequires: xmlto
|
||||
@ -22,6 +25,9 @@ BuildRequires: xmlto
|
||||
%if 0%{?suse_version} >= 1030
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%if 0%{?with_libotr:1}
|
||||
BuildRequires: libotr-devel
|
||||
%endif
|
||||
PreReq: /usr/sbin/groupadd /usr/sbin/useradd
|
||||
|
||||
%description
|
||||
@ -67,7 +73,11 @@ CXXFLAGS="%{optflags} -fno-strict-aliasing" \
|
||||
--config="%{_localstatedir}/lib/%{name}" \
|
||||
--ipcsocket="%{_localstatedir}/run/%{name}.sock" \
|
||||
--purple=0 \
|
||||
%if 0%{?with_libotr:1}
|
||||
--otr=1 \
|
||||
%else
|
||||
--otr=0 \
|
||||
%endif
|
||||
--msn=1 \
|
||||
--jabber=1 \
|
||||
--twitter=1 \
|
||||
|
Loading…
Reference in New Issue
Block a user