packages: bitlbee/bitlbee.spec - purple bcond, for completeness

glen glen at pld-linux.org
Sun Apr 15 11:35:34 CEST 2012


Author: glen                         Date: Sun Apr 15 09:35:34 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- purple bcond, for completeness

---- Files affected:
packages/bitlbee:
   bitlbee.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/bitlbee/bitlbee.spec
diff -u packages/bitlbee/bitlbee.spec:1.13 packages/bitlbee/bitlbee.spec:1.14
--- packages/bitlbee/bitlbee.spec:1.13	Sun Apr 15 10:41:47 2012
+++ packages/bitlbee/bitlbee.spec	Sun Apr 15 11:35:29 2012
@@ -4,12 +4,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
@@ -20,6 +21,7 @@
 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
@@ -100,6 +102,9 @@
 	--strip=0 \
 	--plugins=1 \
 	--ssl=gnutls \
+%if %{with purple}
+	--purple=1 \
+%endif
 %if %{with otr}
 	--otr=plugin \
 %endif
@@ -133,7 +138,7 @@
 
 %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
@@ -175,6 +180,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2012/04/15 09:35:29  glen
+- purple bcond, for completeness
+
 Revision 1.13  2012/04/15 08:41:47  glen
 - better systemd integration
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/bitlbee/bitlbee.spec?r1=1.13&r2=1.14



More information about the pld-cvs-commit mailing list