SPECS: ekg2.spec - readline bcond

sparky sparky at pld-linux.org
Mon Jun 26 00:37:44 CEST 2006


Author: sparky                       Date: Sun Jun 25 22:37:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- readline bcond

---- Files affected:
SPECS:
   ekg2.spec (1.66 -> 1.67) 

---- Diffs:

================================================================
Index: SPECS/ekg2.spec
diff -u SPECS/ekg2.spec:1.66 SPECS/ekg2.spec:1.67
--- SPECS/ekg2.spec:1.66	Sun Jun 25 23:44:11 2006
+++ SPECS/ekg2.spec	Mon Jun 26 00:37:38 2006
@@ -10,6 +10,7 @@
 %bcond_without	libgsm			# don't build libgsm plugin
 %bcond_without	python			# don't build Python plugin
 %bcond_without	perl			# don't build Perl plugin
+%bcond_without	readline		# don't build readline interface
 %bcond_without	sqlite			# don't build logsqlite plugin based on sqlite (conflicts with sqlite3)
 %bcond_with	sqlite3			# build logsqlite plugin based on sqlite3
 %bcond_without	xosd			# don't build xosd plugin
@@ -61,8 +62,8 @@
 %{?with_python:BuildRequires:	python-devel}
 %{?with_python:BuildRequires:   python}
 %{?with_perl:BuildRequires:	perl-devel}
+%{?with_readline:BuildRequires:	readline-devel}
 %{?with_perl:BuildRequires:	rpm-perlprov}
-
 BuildRequires:	sed >= 4.0
 %{?with_xosd:BuildRequires:	xosd-devel}
 %{?with_sqlite:BuildRequires:	sqlite-devel}
@@ -178,16 +179,16 @@
 Wtyczka logowania do bazy SQLite dla ekg2.
 
 %package plugin-readline
-Summary:	readline
-Summary(pl):	readline
+Summary:	readline interface
+Summary(pl):	Interfejs readline
 Group:		Applications/Communications
 Requires:	%{name} = %{epoch}:%{version}-%{release}
 
 %description plugin-readline
-readline
+readline interface.
 
 %description plugin-readline -l pl
-readline
+Interfejs readline.
 
 %package plugin-sim
 Summary:	Encryption plugin for ekg2
@@ -265,6 +266,7 @@
 	--with%{!?with_gadugadu:out}-libgadu \
 	--with%{!?with_libgsm:out}-libgsm \
 	--with%{!?with_python:out}-python \
+	--with%{!?with_readline:out}-readline \
 	--with%{!?with_xosd:out}-xosd \
 	--with%{!?with_sqlite:out}-sqlite \
 	--with%{!?with_sqlite3:out}-sqlite3 \
@@ -368,10 +370,12 @@
 %{_datadir}/%{name}/plugins/logsqlite
 %endif
 
+%if %{with readline}
 %files plugin-readline
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/plugins/readline.so
 %{_datadir}/%{name}/plugins/readline
+%endif
 
 %files plugin-sim
 %defattr(644,root,root,755)
@@ -402,6 +406,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2006/06/25 22:37:38  sparky
+- readline bcond
+
 Revision 1.66  2006/06/25 21:44:11  sparky
 - up to 20060625, added no_scripts patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ekg2.spec?r1=1.66&r2=1.67&f=u



More information about the pld-cvs-commit mailing list