]> git.pld-linux.org Git - packages/bitlbee.git/commitdiff
- purple bcond, for completeness
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 15 Apr 2012 09:35:29 +0000 (09:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bitlbee.spec -> 1.14

bitlbee.spec

index 7ea05bfd189d35286303b17548d78c1d37fa562b..7821e5ee40fc4933a0998be0dcd166c6b5fb04da 100644 (file)
@@ -3,12 +3,13 @@
 #
 # Conditional build:
 %bcond_without otr             # build without OTR
+%bcond_with            purple  # build with libpurple (not recommended for public servers). http://wiki.bitlbee.org/HowtoPurple
 
 Summary:       An IRC to other chat networks gateway
 Summary(pl.UTF-8):     Bramka pomiędzy IRC-em i innymi sieciami komunikacyjnymi
 Name:          bitlbee
 Version:       3.0.5
-Release:       0.10
+Release:       0.13
 License:       GPL v2+ and MIT
 Group:         Daemons
 Source0:       http://get.bitlbee.org/src/%{name}-%{version}.tar.gz
@@ -19,6 +20,7 @@ Patch1:               systemd.patch
 BuildRequires: asciidoc
 BuildRequires: gnutls-devel
 %{?with_otr:BuildRequires:     libotr-devel >= 3.2.0}
+%{?with_purple:BuildRequires:  libpurple-devel}
 BuildRequires: rpmbuild(macros) >= 1.461
 BuildRequires: systemd-units
 Requires(postun):      /usr/sbin/groupdel
@@ -99,6 +101,9 @@ CFLAGS="%{rpmcflags}" \
        --strip=0 \
        --plugins=1 \
        --ssl=gnutls \
+%if %{with purple}
+       --purple=1 \
+%endif
 %if %{with otr}
        --otr=plugin \
 %endif
@@ -132,7 +137,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README}
+%doc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README} utils
 %dir %attr(750,root,bitlbee) %{_sysconfdir}/%{name}
 %attr(640,root,bitlbee) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/bitlbee.conf
 %attr(640,root,bitlbee) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/motd.txt
This page took 0.075266 seconds and 4 git commands to generate.