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