1 Summary: A small library to assist development of IRC bots and/or clients
2 Summary(pl.UTF-8): 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 # Source0-md5: 408e2998d4d51a1e7b40600890e364d8
10 Patch0: %{name}-examples.patch
11 URL: http://zekiller.skytech.org/coders_en.html
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: libtool
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 BotNet is a small shared and statically linked library, intended to
19 assist development of a bot or a full client for the IRC protocol (see
20 RFC 1459). You can connect to an IRC server, send messages, and
21 receive data from the server. Received data are parsed, and returned
22 to the main thread. BotNet now supports services, and functions for
23 easily make a leaf server compatible with the new RFCs (2810 to 2813).
25 %description -l pl.UTF-8
26 Botnet to mała biblioteka, w zamyśle wspomagająca tworzenie bota lub
27 pełnego klienta korzystającego z protokołu IRC (patrz RFC1459). Możesz
28 podłączyć się do serwera IRC, wysyłać wiadomości, oraz otrzymywać dane
29 z serwera. Otrzymane dane są parsowane i zwracane do głównego wątku.
30 BotNet zawiera też usługi i funkcje do łatwego tworzenia
31 serwerów-liści kompatybilnych z nowymi RFC (2810 do 2813).
34 Summary: Header files for botnet
35 Summary(pl.UTF-8): Pliki nagłówkowe dla botneta
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Header files neccesary to develop botnet applications.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe niezbędne do tworzenia aplikacji korzystających z
47 Summary: botnet static library
48 Summary(pl.UTF-8): Statyczna wersja biblioteki botnet
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 Libraries neccessary to link botnet applications statically.
55 %description static -l pl.UTF-8
56 Biblioteka potrzebna do statycznej konsolidacji aplikacji
57 korzystających z botneta.
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78 DESTDIR=$RPM_BUILD_ROOT
80 install example/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
81 install example/Makefile.new $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/Makefile
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/*.so.*.*
94 %defattr(644,root,root,755)
95 %doc ChangeLog AUTHORS todo.txt botnet.txt
96 %attr(755,root,root) %{_bindir}/botnet-config
97 %attr(755,root,root) %{_libdir}/*.so
100 %{_examplesdir}/%{name}-%{version}
103 %defattr(644,root,root,755)