]> git.pld-linux.org Git - packages/botnet.git/blob - botnet.spec
9359cf4b7c30a47a1df747e9570583618a142481
[packages/botnet.git] / botnet.spec
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
3 Name:           botnet
4 Version:        1.5.1
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz
11 URL:            http://zekiller.skytech.org/main.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 BotNet is a small shared and statically linked library, intended to
16 assist development of a bot or a full client for the IRC protocol (see
17 RFC 1459). You can connect to an IRC server, send messages, and
18 receive data from the server. Received data are parsed, and returned
19 to the main thread. BotNet now supports services, and functions for
20 easily make a leaf server compatible with the new RFCs (2810 to 2813).
21
22 %description -l pl
23 Botnet to ma³a biblioteka, w zamy¶le wspomagaj±ca tworzenie bota lub
24 pe³nego klienta korzystaj±cego z protoko³u IRC (patrz RFC1459). Mo¿esz
25 pod³±czyæ siê do serwera IRC, wysy³aæ wiadomo¶ci, oraz otrzymywaæ dane
26 z serwera. Otrzymane dane s± parsowane i zwracane do g³ównego w±tku.
27 BotNet zawiera te¿ us³ugi i funkcje do ³atwego tworzenia
28 serwerów-li¶ci kompatybilnych z nowymi RFC (2810 do 2813).
29
30 %package devel
31 Summary:        header files for botnet
32 Summary(pl):    pliki nag³ówkowe dla botneta
33 Group:          Development/Libraries
34 Group(fr):      Development/Librairies
35 Group(pl):      Programowanie/Biblioteki
36 Requires:       %{name} = %{version}
37
38 %description devel
39 Header files neccesary to develop botnet applications.
40
41 %description -l pl devel
42 Pliki nag³ówkowe niezbêdne do tworzenia aplikacji korzystaj±cych z
43 botneta.
44
45 %package static
46 Summary:        botnet static library
47 Summary(pl):    statyczna wersja biblioteki botnet
48 Group:          Development/Libraries
49 Group(fr):      Development/Librairies
50 Group(pl):      Programowanie/Biblioteki
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 Libraries neccessary to link botnet applications statically.
55
56 %description -l pl static
57 Biblioteka potrzebna do statycznego linkowania aplikacji
58 korzystaj±cych z botneta.
59
60 %prep
61 %setup -q
62
63 %build
64 aclocal
65 autoheader
66 autoconf
67 automake 
68
69 LDFLAGS="-s" ; export LDFLAGS
70 %configure 
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78
79 %{__make} DESTDIR=$RPM_BUILD_ROOT install
80 install example/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
81
82 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.*
83
84 gzip -9nf ChangeLog AUTHORS todo.txt botnet.txt
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %doc *.gz
95 %attr(755,root,root) %{_libdir}/*.so.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/*.so
100 %attr(755,root,root) %{_libdir}/*.la
101 %{_includedir}/*
102 %{_examplesdir}/%{name}-%{version}
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/*.a
This page took 0.074245 seconds and 2 git commands to generate.