rpms/eggdrop/devel eggdrop-1.6.17-conf.patch, NONE, 1.1 eggdrop-1.6.17-langdir.patch, NONE, 1.1 eggdrop.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Robert Scheck (robert) fedora-extras-commits at redhat.com
Wed Jun 21 22:47:54 UTC 2006


Author: robert

Update of /cvs/extras/rpms/eggdrop/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10612/devel

Modified Files:
	.cvsignore sources 
Added Files:
	eggdrop-1.6.17-conf.patch eggdrop-1.6.17-langdir.patch 
	eggdrop.spec 
Log Message:
auto-import eggdrop-1.6.17-4 on branch devel from eggdrop-1.6.17-4.src.rpm

eggdrop-1.6.17-conf.patch:

--- NEW FILE eggdrop-1.6.17-conf.patch ---
Patch by Robert Scheck <robert at fedoraproject.org> for eggdrop >= 1.6.17,
which sets the correct path to the eggdrop executable in the example file.

--- eggdrop1.6.17/eggdrop.conf		2004-08-22 00:43:27.000000000 +0200
+++ eggdrop1.6.17/eggdrop.conf.conf	2006-01-22 00:16:16.000000000 +0100
@@ -1,5 +1,4 @@
-#! /path/to/executable/eggdrop
-# ^- This should contain a fully qualified path to your Eggdrop executable.
+#!/usr/bin/eggdrop
 #
 # $Id: eggdrop.conf,v 1.40 2004/08/21 22:43:27 wcc Exp $
 #

eggdrop-1.6.17-langdir.patch:

--- NEW FILE eggdrop-1.6.17-langdir.patch ---
Patch by Robert Scheck <robert at fedoraproject.org> for eggdrop >= 1.6.17,
which replaces the hardcoded language directory path to avoid the use of
EGG_LANGDIR environment variable per default (#194481 #c6-c9).

--- eggdrop1.6.17/src/eggdrop.h		2004-07-25 13:17:34.000000000 +0200
+++ eggdrop1.6.17/src/eggdrop.h.langdir	2006-06-18 01:19:23.000000000 +0200
@@ -75,7 +75,7 @@
 
 
 /* Language stuff */
-#define LANGDIR  "./language" /* language file directory                   */
+#define LANGDIR  "/usr/share/eggdrop/language"  /* language file directory */
 #define BASELANG "english"    /* language which always gets loaded before
                                  all other languages. You do not want to
                                  change this.                              */


--- NEW FILE eggdrop.spec ---
Summary:	The world's most popular Open Source IRC bot
Name:		eggdrop
Version:	1.6.17
Release:	4%{?dist}
License:	GPL
Group:		Applications/Communications
URL:		http://www.eggheads.org/
Source:		ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop%{version}.tar.gz
Patch0:		eggdrop-1.6.17-conf.patch
Patch1:		eggdrop-1.6.17-langdir.patch
BuildRequires:	tcl-devel >= 8.3, bind-devel, zlib-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Eggdrop is the world's most popular Open Source IRC bot, designed
for flexibility and ease of use. It is extendable with Tcl scripts
and/or C modules, has support for the big five IRC networks and is
able to form botnets, share partylines and userfiles between bots.

%prep
%setup -q -n %{name}%{version}
%patch0 -p1 -b .conf
%patch1 -p1 -b .langdir

%build
%configure --with-tcllib=%{_libdir}/libtcl.so --with-tclinc=%{_includedir}/tcl.h
make config
make %{_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DEST=$RPM_BUILD_ROOT%{_datadir}/%{name} install

rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{README,doc,eggdrop*,filesys,logs,modules}
install -D -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -D -m 644 doc/man1/eggdrop.1 $RPM_BUILD_ROOT%{_mandir}/man1/eggdrop.1

# Move modules into /usr/lib*
mkdir -p $RPM_BUILD_ROOT%{_libdir}
mv -f $RPM_BUILD_ROOT%{_datadir}/%{name}/modules-%{version} $RPM_BUILD_ROOT%{_libdir}/%{name}

# Documentation cleanups
find doc -name "Makefile*" -exec rm {} \;
mv doc/html .
rm -rf doc/man1
chmod -x doc/WEIRD-MESSAGES eggdrop.conf src/mod/transfer.mod/*.c

# Fix paths of example eggdrop.conf
perl -pi -e s":scripts/:%{_datadir}/%{name}/scripts/:" eggdrop.conf
perl -pi -e s":help/:%{_datadir}/%{name}/help/:" eggdrop.conf
perl -pi -e s":modules/:%{_libdir}/%{name}/:" eggdrop.conf

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING FEATURES INSTALL NEWS README doc/* html eggdrop.conf
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man?/*

%changelog
* Mon Jun 19 2006 Robert Scheck <robert at fedoraproject.org> 1.6.17-4
- Replaced hardcoded LANGDIR with /usr/share/eggdrop/language to
  avoid use of EGG_LANGDIR env variable per default (#194481 #c9)

* Sun Jun 18 2006 Robert Scheck <robert at fedoraproject.org> 1.6.17-3
- Changes to match with Fedora Packaging Guidelines (#194481)

* Sun Mar 12 2006 Robert Scheck <robert at fedoraproject.org> 1.6.17-2
- Don't deliver autobotchk and botchk as documentation

* Sun Jan 22 2006 Robert Scheck <robert at fedoraproject.org> 1.6.17-1
- Upgrade to 1.6.17
- Initial spec file for Fedora Core


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/eggdrop/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Jun 2006 22:47:13 -0000	1.1
+++ .cvsignore	21 Jun 2006 22:47:54 -0000	1.2
@@ -0,0 +1 @@
+eggdrop1.6.17.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/eggdrop/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Jun 2006 22:47:13 -0000	1.1
+++ sources	21 Jun 2006 22:47:54 -0000	1.2
@@ -0,0 +1 @@
+95b3744a45ac1420cf08d88ee0ed0b6c  eggdrop1.6.17.tar.gz




More information about the fedora-extras-commits mailing list