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