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