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