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