Summary: a small library to assist development of IRC bots and/or clients Summary(pl): mała biblioteka pomocna przy tworzeniu botów i/lub klientów IRC Name: botnet Version: 1.5.1 Release: 1 License: GPL Group: Libraries Group(fr): Librairies Group(pl): Biblioteki Source0: http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz Patch0: %{name}-examples.patch URL: http://zekiller.skytech.org/main.html BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description BotNet is a small shared and statically linked library, intended to assist development of a bot or a full client for the IRC protocol (see RFC 1459). You can connect to an IRC server, send messages, and receive data from the server. Received data are parsed, and returned to the main thread. BotNet now supports services, and functions for easily make a leaf server compatible with the new RFCs (2810 to 2813). %description -l pl Botnet to mała biblioteka, w zamyśle wspomagająca tworzenie bota lub pełnego klienta korzystającego z protokołu IRC (patrz RFC1459). Możesz podłączyć się do serwera IRC, wysyłać wiadomości, oraz otrzymywać dane z serwera. Otrzymane dane są parsowane i zwracane do głównego wątku. BotNet zawiera też usługi i funkcje do łatwego tworzenia serwerów-liści kompatybilnych z nowymi RFC (2810 do 2813). %package devel Summary: header files for botnet Summary(pl): pliki nagłówkowe dla botneta Group: Development/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %description devel Header files neccesary to develop botnet applications. %description -l pl devel Pliki nagłówkowe niezbędne do tworzenia aplikacji korzystających z botneta. %package static Summary: botnet static library Summary(pl): statyczna wersja biblioteki botnet Group: Development/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static Libraries neccessary to link botnet applications statically. %description -l pl static Biblioteka potrzebna do statycznego linkowania aplikacji korzystających z botneta. %prep %setup -q %patch0 -p1 %build aclocal autoheader autoconf automake LDFLAGS="-s"; export LDFLAGS %configure %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} DESTDIR=$RPM_BUILD_ROOT install install example/*.c $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version} install example/Makefile.new $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}/Makefile strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.* gzip -9nf ChangeLog AUTHORS todo.txt botnet.txt %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %attr(755,root,root) %{_libdir}/*.so.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/*.so %attr(755,root,root) %{_libdir}/*.la %{_includedir}/* %{_examplesdir}/%{name}-%{version} %files static %defattr(644,root,root,755) %{_libdir}/*.a