]>
Commit | Line | Data |
---|---|---|
daac5bd4 | 1 | Summary: A small library to assist development of IRC bots and/or clients |
5a89040b | 2 | Summary(pl.UTF-8): Mała biblioteka pomocna przy tworzeniu botów i/lub klientów IRC |
367569fd | 3 | Name: botnet |
de16eb42 | 4 | Version: 1.6.4 |
e4199c45 | 5 | Release: 1 |
d6ec9180 | 6 | License: GPL |
367569fd | 7 | Group: Libraries |
367569fd | 8 | Source0: http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz |
de16eb42 | 9 | # Source0-md5: 408e2998d4d51a1e7b40600890e364d8 |
ab57bc28 | 10 | Patch0: %{name}-examples.patch |
06adb9ac | 11 | URL: http://zekiller.skytech.org/coders_en.html |
25cb0005 | 12 | BuildRequires: autoconf |
30584533 | 13 | BuildRequires: automake |
e4199c45 | 14 | BuildRequires: libtool |
367569fd SZ |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
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). | |
24 | ||
0d079f57 JR |
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). | |
367569fd SZ |
32 | |
33 | %package devel | |
daac5bd4 | 34 | Summary: Header files for botnet |
5a89040b | 35 | Summary(pl.UTF-8): Pliki nagłówkowe dla botneta |
367569fd | 36 | Group: Development/Libraries |
cbd7160d | 37 | Requires: %{name} = %{version}-%{release} |
367569fd SZ |
38 | |
39 | %description devel | |
40 | Header files neccesary to develop botnet applications. | |
41 | ||
0d079f57 JR |
42 | %description devel -l pl.UTF-8 |
43 | Pliki nagłówkowe niezbędne do tworzenia aplikacji korzystających z | |
367569fd SZ |
44 | botneta. |
45 | ||
46 | %package static | |
47 | Summary: botnet static library | |
5a89040b | 48 | Summary(pl.UTF-8): Statyczna wersja biblioteki botnet |
367569fd | 49 | Group: Development/Libraries |
cbd7160d | 50 | Requires: %{name}-devel = %{version}-%{release} |
367569fd SZ |
51 | |
52 | %description static | |
53 | Libraries neccessary to link botnet applications statically. | |
54 | ||
0d079f57 | 55 | %description static -l pl.UTF-8 |
9d382d1e | 56 | Biblioteka potrzebna do statycznej konsolidacji aplikacji |
0d079f57 | 57 | korzystających z botneta. |
367569fd SZ |
58 | |
59 | %prep | |
60 | %setup -q | |
ab57bc28 SZ |
61 | %patch0 -p1 |
62 | ||
367569fd | 63 | %build |
25cb0005 | 64 | rm -f missing |
7c168fcd | 65 | %{__libtoolize} |
279a97e8 | 66 | %{__aclocal} |
37a3188f | 67 | %{__autoconf} |
68 | %{__automake} | |
ea984091 | 69 | %configure |
367569fd SZ |
70 | |
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
367569fd SZ |
75 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
76 | ||
30584533 PG |
77 | %{__make} install \ |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | install example/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
81 | install example/Makefile.new $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/Makefile | |
367569fd | 82 | |
84a9680c | 83 | %post -p /sbin/ldconfig |
84 | %postun -p /sbin/ldconfig | |
367569fd SZ |
85 | |
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
367569fd SZ |
91 | %attr(755,root,root) %{_libdir}/*.so.*.* |
92 | ||
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
50d94276 | 95 | %doc ChangeLog AUTHORS todo.txt botnet.txt |
96 | %attr(755,root,root) %{_bindir}/botnet-config | |
367569fd | 97 | %attr(755,root,root) %{_libdir}/*.so |
8fab517d | 98 | %{_libdir}/*.la |
367569fd | 99 | %{_includedir}/* |
d6ec9180 | 100 | %{_examplesdir}/%{name}-%{version} |
367569fd SZ |
101 | |
102 | %files static | |
103 | %defattr(644,root,root,755) | |
104 | %{_libdir}/*.a |