Name: botnet
Version: 1.5.1
Release: 1
+License: GPL
Group: Libraries
+Group(fr): Librairies
Group(pl): Biblioteki
-License: GPL
Source0: http://zekiller.skytech.org/fichiers/botnet/%{name}-%{version}.tar.gz
URL: http://zekiller.skytech.org/main.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary: header files for botnet
Summary(pl): pliki nag³ówkowe dla botneta
Group: Development/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(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Requires: %{name}-devel = %{version}
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} DESTDIR=$RPM_BUILD_ROOT install
-install example/*.c $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
+install example/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-gzip -9nf ChangeLog AUTHORS todo.txt botnet.txt
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.*
-%post -p /sbin/ldconfig
+gzip -9nf ChangeLog AUTHORS todo.txt botnet.txt
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
%attr(755,root,root) %{_libdir}/*.so
%attr(755,root,root) %{_libdir}/*.la
%{_includedir}/*
-%{_examplesdir}/%{name}-%{version}/*
+%{_examplesdir}/%{name}-%{version}
%files static
%defattr(644,root,root,755)