SPECS: ekg2.spec - updated to 20050930 - added perl plugin - by Ad...

sparky sparky at pld-linux.org
Sat Oct 1 02:12:32 CEST 2005


Author: sparky                       Date: Sat Oct  1 00:12:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 20050930
- added perl plugin
- by Adam Mikuta <adammikuta at gmail.com>
- fixed perl extensions instalation

---- Files affected:
SPECS:
   ekg2.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/ekg2.spec
diff -u SPECS/ekg2.spec:1.56 SPECS/ekg2.spec:1.57
--- SPECS/ekg2.spec:1.56	Tue Aug  9 14:47:53 2005
+++ SPECS/ekg2.spec	Sat Oct  1 02:12:27 2005
@@ -9,13 +9,14 @@
 %bcond_without	gnutls			# build jabber plugin without libgnutls
 %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	xosd			# don't build xosd plugin
 
 %if %{with yesterday_snapshot}
 %define		_snap %(date +%%Y%%m%%d -d yesterday)
 %else
-%define		_snap 20050808
+%define		_snap 20050930
 %endif
 
 %if %{without jabber}
@@ -31,7 +32,8 @@
 License:	GPL v2+
 Group:		Applications/Communications
 Source0:	http://www.ekg2.org/archive/%{name}-%{_snap}.tar.gz
-# Source0-md5:	3c23c66e92846ea6ac90fd524059b014
+# Source0-md5:	caef3ce86b0d707faa1115e583a5a9fd
+Patch0:		%{name}-perl-install.patch
 URL:		http://www.ekg2.org/
 %{?with_aspell:BuildRequires:	aspell-devel}
 BuildRequires:	autoconf
@@ -49,6 +51,9 @@
 BuildRequires:	openssl-devel >= 0.9.7d
 %{?with_python:BuildRequires:	python-devel}
 %{?with_python:BuildRequires:   python}
+%{?with_perl:BuildRequires:	perl-devel}
+%{?with_perl:BuildRequires:	rpm-perlprov}
+
 BuildRequires:	sed >= 4.0
 %{?with_sqlite:BuildRequires:	sqlite-devel}
 %{?with_xosd:BuildRequires:	xosd-devel}
@@ -120,6 +125,18 @@
 %description plugin-scripting-python -l pl
 Wtyczka skryptów Pythona dla ekg2.
 
+%package plugin-scripting-perl
+Summary:	Perl scripting plugin for ekg2
+Summary(pl):	Wtyczka języka Perl dla ekg2
+Group:		Applications/Communications
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-scripting-perl
+Python scripting Perl for ekg2.
+
+%description plugin-scripting-perl -l pl
+Wtyczka skryptów Perla dla ekg2.
+
 %package plugin-ioctld
 Summary:	Ioctld plugin for ekg2
 Summary(pl):	Wtyczka ioctld dla ekg2
@@ -170,6 +187,7 @@
 
 %prep
 %setup -q -n %{name}-%{_snap}
+%patch0 -p1
 sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac
 sed -i -e 's/\/opt\/sqlite\/lib/\/opt\/sqlite\/lib \/usr\/lib64/' m4/sqlite.m4
 
@@ -232,6 +250,7 @@
 %{_datadir}/%{name}/plugins/sms
 %{_datadir}/%{name}/plugins/logs
 %{_datadir}/%{name}/plugins/ncurses
+%dir %{_datadir}/%{name}/scripts
 
 %files plugin-protocol-gg
 %defattr(644,root,root,755)
@@ -263,6 +282,23 @@
 # %{_datadir}/%{name}/plugins/jabber
 %endif
 
+%if %{with perl}
+%files plugin-scripting-perl
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/plugins/perl.so
+%{perl_archlib}/Ekg2.pm
+%dir %{perl_archlib}/Ekg2
+%{perl_archlib}/Ekg2/Irc.pm
+%dir %{perl_archlib}/auto/Ekg2
+%{perl_archlib}/auto/Ekg2/Ekg2.bs
+%attr(755,root,root) %{perl_archlib}/auto/Ekg2/Ekg2.so
+%dir %{perl_archlib}/auto/Ekg2/Irc
+%{perl_archlib}/auto/Ekg2/Irc/Irc.bs
+%attr(755,root,root) %{perl_archlib}/auto/Ekg2/Irc/Irc.so
+%{_datadir}/%{name}/scripts/dns.pl
+%{_datadir}/%{name}/scripts/xmms.pl
+%endif
+
 %files plugin-ioctld
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/plugins/ioctld.so
@@ -294,6 +330,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2005/10/01 00:12:27  sparky
+- updated to 20050930
+- added perl plugin
+- by Adam Mikuta <adammikuta at gmail.com>
+- fixed perl extensions instalation
+
 Revision 1.56  2005/08/09 12:47:53  areq
 - snap 20050808
 
================================================================

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




More information about the pld-cvs-commit mailing list