Summary: a small library to assist development of IRC bots and/or clients
Summary(pl): ma³a biblioteka pomocna przy tworzeniu botów i/lub klientów IRC
Name: botnet
-Version: 1.5.1
+Version: 1.6.1
Release: 1
License: GPL
Group: Libraries
+Group(de): Libraries
Group(fr): Librairies
Group(pl): Biblioteki
Source0: http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz
-URL: http://zekiller.skytech.org/main.html
+Patch0: %{name}-examples.patch
+URL: http://zekiller.skytech.org/coders_en.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Summary: header files for botnet
Summary(pl): pliki nag³ówkowe dla botneta
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Requires: %{name} = %{version}
Summary: botnet static library
Summary(pl): statyczna wersja biblioteki botnet
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Requires: %{name}-devel = %{version}
%prep
%setup -q
+%patch0 -p1
+
%build
-aclocal
-autoheader
-autoconf
-automake
-LDFLAGS="-s" ; export LDFLAGS
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} DESTDIR=$RPM_BUILD_ROOT install
-install example/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.*
+install example/*.c $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
+install example/Makefile.new $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}/Makefile
gzip -9nf ChangeLog AUTHORS todo.txt botnet.txt
%files
%defattr(644,root,root,755)
-%doc *.gz
%attr(755,root,root) %{_libdir}/*.so.*.*
%files devel
%defattr(644,root,root,755)
+%doc *.gz
%attr(755,root,root) %{_libdir}/*.so
%attr(755,root,root) %{_libdir}/*.la
%{_includedir}/*