SPECS: ekg2.spec - added GTK plugin - added sqlite3 bcond (default...

bartowl bartowl at pld-linux.org
Wed Feb 22 10:15:35 CET 2006


Author: bartowl                      Date: Wed Feb 22 09:15:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added GTK plugin
- added sqlite3 bcond (default sqlite, not *3, to be changed?)
- updated to newer snapshot (20060221)
- changes sent by Marcin Biczan <bibiak at magma-net.pl>

---- Files affected:
SPECS:
   ekg2.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: SPECS/ekg2.spec
diff -u SPECS/ekg2.spec:1.60 SPECS/ekg2.spec:1.61
--- SPECS/ekg2.spec:1.60	Sat Jan 28 16:50:45 2006
+++ SPECS/ekg2.spec	Wed Feb 22 10:15:29 2006
@@ -10,19 +10,25 @@
 %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	sqlite			# don't build logsqlite plugin
+%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
+%bcond_without  gtk			# don't build gtk plugin
 
 %if %{with yesterday_snapshot}
 %define		_snap %(date +%%Y%%m%%d -d yesterday)
 %else
-%define		_snap 20060127
+%define		_snap 20060221
 %endif
 
 %if %{without jabber}
 %undefine with_gnutls
 %endif
 
+%if %{with sqlite3}
+%undefine sqlite
+%endif
+
 Summary:	Multi-protocol instant messaging and chat client
 Summary(pl):	Wieloprotokołowy komunikator internetowy
 Name:		ekg2
@@ -32,7 +38,7 @@
 License:	GPL v2+
 Group:		Applications/Communications
 Source0:	http://www.ekg2.org/archive/%{name}-%{_snap}.tar.gz
-# Source0-md5:	8fb1d7f175fe4750f4157f802421c9fd
+# Source0-md5:	e7785cef55c3fce2203bfbacc5c961b0
 Patch0:		%{name}-perl-install.patch
 URL:		http://www.ekg2.org/
 %{?with_aspell:BuildRequires:	aspell-devel}
@@ -55,8 +61,10 @@
 %{?with_perl:BuildRequires:	rpm-perlprov}
 
 BuildRequires:	sed >= 4.0
-%{?with_sqlite:BuildRequires:	sqlite-devel}
 %{?with_xosd:BuildRequires:	xosd-devel}
+%{?with_sqlite:BuildRequires:	sqlite-devel}
+%{?with_sqlite3:BuildRequires:	sqlite3-devel}
+%{?with_gtk:BuildRequires:	gtk+2-devel}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -154,6 +162,11 @@
 Summary(pl):	Wtyczka logowania do SQLite dla ekg2
 Group:		Applications/Communications
 Requires:	%{name} = %{epoch}:%{version}-%{release}
+%if %{with sqlite3}
+Requires:	sqlite3
+%else
+Requires:	sqlite
+%endif
 
 %description plugin-logsqlite
 SQLite log plugin for ekg2.
@@ -185,6 +198,19 @@
 %description plugin-xosd -l pl
 Wtyczka xosd dla ekg2.
 
+%package plugin-gtk
+Summary:	gtk plugin for ekg2
+Summary(pl):	Wtyczka gtk dla ekg2
+Group:		Applications/Communications
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	gtk+2
+
+%description plugin-gtk
+gtk plugin for ekg2.
+
+%description plugin-gtk -l pl
+Wtyczka gtk dla ekg2.
+
 %prep
 %setup -q -n %{name}-%{_snap}
 %patch0 -p1
@@ -210,8 +236,10 @@
 	--with%{!?with_gadugadu:out}-libgadu \
 	--with%{!?with_libgsm:out}-libgsm \
 	--with%{!?with_python:out}-python \
+	--with%{!?with_xosd:out}-xosd \
 	--with%{!?with_sqlite:out}-sqlite \
-	--with%{!?with_xosd:out}-xosd
+	--with%{!?with_sqlite3:out}-sqlite3 \
+	--with%{!?with_gtk:out}-gtk
 
 %{__make}
 
@@ -324,12 +352,24 @@
 %{_datadir}/%{name}/plugins/xosd
 %endif
 
+%if %{with gtk}
+%files plugin-gtk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/plugins/gtk.so
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2006/02/22 09:15:29  bartowl
+- added GTK plugin
+- added sqlite3 bcond (default sqlite, not *3, to be changed?)
+- updated to newer snapshot (20060221)
+- changes sent by Marcin Biczan <bibiak at magma-net.pl>
+
 Revision 1.60  2006/01/28 15:50:45  sparky
 - snapshot updated
 
================================================================

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



More information about the pld-cvs-commit mailing list