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