1 Summary: a small library to assist development of IRC bots and/or clients
2 Summary(pl): ma³a biblioteka pomocna przy tworzeniu botów i/lub klientów IRC
8 Source0: http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz
9 Patch0: %{name}-examples.patch
10 URL: http://zekiller.skytech.org/coders_en.html
11 BuildRequires: automake
12 BuildRequires: autoconf
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 BotNet is a small shared and statically linked library, intended to
18 assist development of a bot or a full client for the IRC protocol (see
19 RFC 1459). You can connect to an IRC server, send messages, and
20 receive data from the server. Received data are parsed, and returned
21 to the main thread. BotNet now supports services, and functions for
22 easily make a leaf server compatible with the new RFCs (2810 to 2813).
25 Botnet to ma³a biblioteka, w zamy¶le wspomagaj±ca tworzenie bota lub
26 pe³nego klienta korzystaj±cego z protoko³u IRC (patrz RFC1459). Mo¿esz
27 pod³±czyæ siê do serwera IRC, wysy³aæ wiadomo¶ci, oraz otrzymywaæ dane
28 z serwera. Otrzymane dane s± parsowane i zwracane do g³ównego w±tku.
29 BotNet zawiera te¿ us³ugi i funkcje do ³atwego tworzenia
30 serwerów-li¶ci kompatybilnych z nowymi RFC (2810 do 2813).
33 Summary: header files for botnet
34 Summary(pl): pliki nag³ówkowe dla botneta
35 Group: Development/Libraries
36 Requires: %{name} = %{version}
39 Header files neccesary to develop botnet applications.
41 %description devel -l pl
42 Pliki nag³ówkowe niezbêdne do tworzenia aplikacji korzystaj±cych z
46 Summary: botnet static library
47 Summary(pl): statyczna wersja biblioteki botnet
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}
52 Libraries neccessary to link botnet applications statically.
54 %description static -l pl
55 Biblioteka potrzebna do statycznego linkowania aplikacji
56 korzystaj±cych z botneta.
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
76 %{__make} DESTDIR=$RPM_BUILD_ROOT install
77 install example/*.c $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
78 install example/Makefile.new $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}/Makefile
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/*.so.*.*
91 %defattr(644,root,root,755)
92 %doc ChangeLog AUTHORS todo.txt botnet.txt
93 %attr(755,root,root) %{_bindir}/botnet-config
94 %attr(755,root,root) %{_libdir}/*.so
95 %attr(755,root,root) %{_libdir}/*.la
97 %{_examplesdir}/%{name}-%{version}
100 %defattr(644,root,root,755)