1 Summary: Eggdrop is an IRC bot, written in C
2 Summary(pl): Eggdrop jest botem IRC napisanym w C
3 Summary(pt_BR): Bot de IRC escrito em C
4 Summary(ru_RU.KOI8-R): Eggdrop, ÜÔÏ IRC-ÂÏÔ ÎÁÐÉÓÁÎÎÙÊ ÎÁ ÑÚÙËÅ C.
9 Group: Applications/Communications
10 Source0: ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/%{name}%{version}.tar.bz2
11 # Source0-md5: b5016e34942ff4113e97a8449b15dfce
12 # PLD docs - information about changes.
13 Source1: http://pld.mysza.eu.org/sources/%{name}-README.PLD.en
14 # Source1-md5: 273f001b6294fc78eaafe0517a1d2771
15 Source2: http://pld.mysza.eu.org/sources/%{name}-README.PLD.pl
16 # Source2-md5: a1ead6e4cc3c5268e0daffa013d023f8
17 # In order to unify filenames, following language packs and third-party modules were
18 # repackaged. Some files were renamed, but none modified. Original archives can be
19 # found by looking at http://www.egghelp.org/
20 Source10: %{name}-language-danish.tar.gz
21 Source11: %{name}-language-finnish.tar.gz
22 Source12: %{name}-language-italian.tar.gz
23 Source13: %{name}-language-norwegian.tar.gz
24 Source14: %{name}-language-portuguese.tar.gz
25 Source15: %{name}-language-portuguese_br.tar.gz
26 Source16: %{name}-language-romanian.tar.gz
27 # Additional modules taken from various places
28 Source20: %{name}-module-away-1.0.tar.gz
29 Source21: %{name}-module-botnetop-1.0.1.tar.gz
30 Source22: %{name}-module-fakebotnet-1.3.tar.gz
31 Source23: %{name}-module-gseen-1.1.0.tar.gz
32 Source24: %{name}-module-irctree-1.1.tar.gz
33 Source25: %{name}-module-megahal-2.5.tar.gz
34 Source26: %{name}-module-stats-1.3.3dev1.tar.gz
35 Source27: %{name}-module-idea-1.0.0.tar.gz
36 Source28: %{name}-module-twofish-1.0.tar.gz
37 Source29: %{name}-module-rijndael-1.0.tar.gz
38 Patch0: %{name}-FHS.patch
39 Patch1: %{name}-doc_makefile.patch
40 # Multilevel sharing patch - now it is possible to create *secure* multilevel
41 # botnets, each bot will only accept changes to userlist from bot that acts as
42 # hub to him, and rejects changes from leaves
43 Patch2: %{name}-multilevel_sharing.patch
44 # Topicprot - protects channel topic from being changed
45 # This patch was a bit modified to apply to eggdrop1.6.13
46 Patch3: %{name}-topicprot.patch
47 # Adds information about additional encryption modules to config file
48 Patch4: %{name}-config_encryption.patch
49 # This one fixes eggdrop botchk/autobotchk scripts
50 Patch5: %{name}-autobotchk.patch
51 URL: http://www.eggheads.org/
52 BuildRequires: tcl-devel
54 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 Eggdrop is an IRC bot, written in C. If you don't know what IRC is,
58 this is probably not whatever you're looking for! Eggdrop, being a
59 bot, sits on a channel and takes protective measures: to keep the
60 channel from being taken over (in the few ways that anything CAN), to
61 recognize banished users or sites and reject them, to recognize
62 privileged users and let them gain ops, etc. Eggdrop also contains
63 many modules and scripts, for example for sending files. Here is the
64 list of new features as opposed to vanilla eggdrop:
65 - Built-in IPv6 support
66 - Additional modules, including:
74 - three new encryption modules: idea, twofish, rijndael
75 - Additional language packs:
81 - brazillian portuguese
83 - Various small patches were applied
84 For more information, see README.PLD.en file located under
85 %{_docdir}/%{name}-%{version}
88 Eggdrop jest IRCowym botem napisanym w C. Eggdrop, bêd±c botem jest na
89 kanale i zajmuje siê jego ochron±: zabezpieczeniem przed przejêciem,
90 nadawaniem odpowiednich przywilejów zarejestrowanym u¿ytkownikom,
91 pilnowanie tzw. banów itp. Eggdrop poza tymi funkcjami posiada tak¿e
92 wiele dodatków, jak przesy³anie plików czy inne skrypty dla rozrywki.
93 Oto lista nowych mo¿liwo¶ci w odró¿nieniu od 'czystego' eggdropa:
94 - Wbudowane wsparcie dla IPv6
95 - Dodatkowe modu³y, takie jak:
103 - trzy nowe modu³y szyfruj±ce: idea, twofish, rijndael
110 - brazylijska odmiana portugalskiego
112 - Zaaplikowano rózne mniejsze lub wiêksze ³aty
113 Wiêcej informacji znajdziesz w pliku README.PLD.pl znajduj±cym siê
114 w katalogu %{_docdir}/%{name}-%{version}
116 %description -l pt_BR
117 Eggdrop é um bot de IRC, escrito em linguagem C.
119 Eggdrop, sendo um bot, permanece em um canal e toma medidas de
120 proteç?o: evitando que o canal seja tomado (usando as poucas maneiras
121 possíveis), reconhecendo usuários ou sites expulsos e os rejeitando,
122 reconhecendo usuários privilegiados e permitindo que estes recebam OPS
125 %description -l ru_RU.KOI8-R
126 Eggdrop, ÜÔÏ IRC-ÂÏÔ ÎÁÐÉÓÁÎÎÙÊ ÎÁ ÑÚÙËÅ C. åÓÌÉ ×Ù ÎÅ ÚÎÁÅÔÅ,
127 ÞÔÏ ÔÁËÏÅ IRC, ÔÏ ÜÔÏ ×ÅÒÏÑÔÎÏ ÎÅ ÔÏ, ÞÔÏ ×Ù ÉÝÅÔÅ!
128 Eggdrop ÎÁÈÏÄÉÔÓÑ ÎÁ ËÁÎÁÌÅ × ÃÅÌÑÈ ÏËÁÚÁÎÉÑ ÚÁÝÉÔÎÙÈ ÍÅÒ:
129 ÏÈÒÁÎÙ ËÁÎÁÌÁ ÏÔ ÐÅÒÅÈ×ÁÔÁ ÕÐÒÁ×ÌÅÎÉÑ ÚÌÏÕÍÙÛÌÅÎÎÉËÁÍÉ,
130 ÒÁÓÐÏÚÎÏ×ÁÎÉÑ ÐÏÌØÚÏ×ÁÔÅÌÅÊ ÉÌÉ ÓÁÊÔÏ×, ÄÌÑ ËÏÔÏÒÙÈ ËÁÎÁÌ
131 ÂÌÏËÉÒÏ×ÁÎ, Ó ÐÏÓÌÅÄÕÀÝÉÍ ÏÔËÁÚÏÍ × ÄÏÓÔÕÐÅ,
132 ÒÁÓÐÏÚÎÁ×ÁÎÉÑ ÏÐÅÒÁÔÏÒÏ× ËÁÎÁÌÁ, Ó ÐÒÉÓ×ÏÅÎÉÅÍ ÉÍ
133 ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÈ ÐÒÁ× É ÐÒÉ×ÉÌÅÇÉÊ.
136 %setup -q -n %{name}%{version} -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a28 -a29
145 CFLAGS="%{rpmcflags}"; export CFLAGS
146 # There is no sense in using configure macro, as the eggdrop makes no use
147 # of provided settings, or at least of those given with --*dir options
148 ./configure --enable-ipv6
153 rm -rf $RPM_BUILD_ROOT
154 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/modules,%{_datadir}/%{name},%{_mandir}/man1,%{_datadir}/%{name}/{help,scripts,language},%{_datadir}/doc/%{name}-%{version}}
156 %{__make} DESTDIR="$RPM_BUILD_ROOT" install
158 mv $RPM_BUILD_ROOT/%{name}-%{version} $RPM_BUILD_ROOT%{_bindir}/%{name}
160 cp %{SOURCE1} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/README.PLD.en
161 cp %{SOURCE2} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/README.PLD.pl
163 find $RPM_BUILD_ROOT/doc -type f | egrep -v "(\.html$|\.htm$)" | xargs gzip -9nf
164 gzip -9nf $RPM_BUILD_ROOT/README $RPM_BUILD_ROOT/%{name}.conf
166 cp $RPM_BUILD_ROOT/doc/man1/%{name}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1.gz
167 rm -r $RPM_BUILD_ROOT/doc/man1
169 cp -a $RPM_BUILD_ROOT/*.gz \
170 $RPM_BUILD_ROOT/doc/* \
171 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
173 cp -a $RPM_BUILD_ROOT/doc/modules $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
175 cp -a $RPM_BUILD_ROOT/text/* \
176 $RPM_BUILD_ROOT/help/ \
177 $RPM_BUILD_ROOT/scripts/ \
178 $RPM_BUILD_ROOT/language/ \
179 $RPM_BUILD_ROOT%{_datadir}/%{name}/
181 cp -a $RPM_BUILD_ROOT/modules/* \
182 $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/
184 # These are only to make /usr/lib/rpm/check-files happy(ier)
185 # Is this somehow ugly?
186 for i in modules modules-%{version} text help scripts language doc logs eggdrop.conf.gz README.gz; do
187 rm -rf $RPM_BUILD_ROOT/$i
191 rm -rf $RPM_BUILD_ROOT
194 %defattr(644,root,root,755)
195 %doc %{_datadir}/doc/%{name}-%{version}
196 %attr(755,root,root) %{_bindir}/%{name}
197 %dir %{_libdir}/%{name}
198 %dir %{_libdir}/%{name}/modules
199 %attr(755,root,root) %{_libdir}/%{name}/modules/*.so
201 %{_mandir}/man1/%{name}.1*