]> git.pld-linux.org Git - packages/botnet.git/blob - botnet.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[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 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 --copy --force
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 gzip -9nf ChangeLog AUTHORS todo.txt botnet.txt
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/*.so.*.*
91
92 %files devel
93 %defattr(644,root,root,755)
94 %doc *.gz
95 %attr(755,root,root) %{_libdir}/*.so
96 %attr(755,root,root) %{_libdir}/*.la
97 %{_includedir}/*
98 %{_examplesdir}/%{name}-%{version}
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/*.a
This page took 0.093228 seconds and 3 git commands to generate.