From 4ad48ee29226feee0af5fa80b93d21ccfc521e19 Mon Sep 17 00:00:00 2001 From: Affix Date: Sun, 16 Oct 2011 16:03:01 +0100 Subject: [PATCH 1/2] Initial Commit --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e69de29..14185e3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/znc-infobot-0.200.tar.gz diff --git a/sources b/sources index e69de29..ce926ec 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5623a93fcc3a1a61c39244a9294e1426 znc-infobot-0.200.tar.gz From ab64e7e64a8afd5657174a61fa4086d4020b3f7f Mon Sep 17 00:00:00 2001 From: Affix Date: Sun, 16 Oct 2011 16:06:26 +0100 Subject: [PATCH 2/2] Add Spec for f15 --- znc-infobot.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 znc-infobot.spec diff --git a/znc-infobot.spec b/znc-infobot.spec new file mode 100644 index 0000000..ed10540 --- /dev/null +++ b/znc-infobot.spec @@ -0,0 +1,41 @@ +Summary: infobot module for ZNC IRC Bouncer +Name: znc-infobot +Version: 0.200 +Release: 1%{?dist} +License: GPLv2 +Group: System Environment/Daemons +URL: http://znc-msvc.googlecode.com +Source0: znc-infobot-0.200.tar.gz +# Had to generate tar.gz manually download source file : http://znc-msvc.googlecode.com/svn/trunk/flakes/infobot.cpp + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: znc znc-devel openssl-devel +BuildRequires: c-ares c-ares-devel pcre-devel + +Requires: znc pcre + +%description +This is a user module for ZNC that provides joined +channels with a multitude of bot commands + +%prep +%setup -q -n %{name}-%{version} + +%build +LIBS="-lpcrecpp -lpcre" znc-buildmod infobot.cpp + +%install +mkdir -p %{buildroot}%{_libdir}/znc/ +mv infobot.so %{buildroot}%{_libdir}/znc/ + +%clean +%__rm -Rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/znc/infobot.so + +%changelog +* Sun Sep 25 2011 Keiran "Affix" Smith - 0.200-1 +- Initial Package of 0.200 +