# Conditional build:
# _with_ioctl_daemon - with ioctl_daemon (suid-root!)
#
-%define snapshot 20020322
+%define snapshot 20020501
Summary: A client compatible with Gadu-Gadu
Summary(pl): Eksperymentalny Klient Gadu-Gadu
Name: ekg
Version: 0.9.0.%{snapshot}
Release: 1
-License: GPL
+License: LGPL
Group: Networking/Utilities
Source0: http://dev.null.pl/ekg/%{name}-%{snapshot}.tar.gz
URL: http://dev.null.pl/ekg/
$RPM_BUILD_ROOT{%{_mandir}/{,pl/}man1,%{_datadir}/ekg/themes}
install src/ekg $RPM_BUILD_ROOT%{_bindir}
-install docs/ekl.pl $RPM_BUILD_ROOT%{_bindir}
+install contrib/ekl2.pl $RPM_BUILD_ROOT%{_bindir}
+install contrib/ekl2.sh $RPM_BUILD_ROOT%{_bindir}
install lib/libgadu.h $RPM_BUILD_ROOT%{_includedir}
install lib/libgadu.a $RPM_BUILD_ROOT%{_libdir}
install lib/libgadu.so.* $RPM_BUILD_ROOT%{_libdir}
%{?_with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctl_daemon}
%{_datadir}/ekg
%doc docs/{7thguard,dcc,on,themes,vars}.txt.gz
-%doc ChangeLog.gz docs/{FAQ,README,TODO}.gz
+%doc ChangeLog.gz docs/{FAQ,README,TODO,ULOTKA}.gz
%{_mandir}/man1/*
%lang(pl) %{_mandir}/pl/man1/*
%files -n libgadu-devel
%defattr(644,root,root,755)
%{_includedir}/libgadu.h
-%doc docs/{7thguard,api,devel-hints,protocol}.txt.gz
+%doc docs/{7thguard,api,devel-hints,protocol,dcc-protocol}.txt.gz
%doc ChangeLog.gz docs/{README,TODO}.gz
%files -n libgadu-static