Summary(it): Esperimentale cliente di Gadu-Gadu
Summary(pl): Eksperymentalny Klient Gadu-Gadu
Name: ekg
-Version: 20020611
-Release: 1
+Version: 20020719
+Release: 0.1
Epoch: 1
License: GPL
Group: Applications/Communications
Source0: http://dev.null.pl/ekg/%{name}-%{version}.tar.gz
+Patch0: ekg-DESTDIR-temporary.patch
URL: http://dev.null.pl/ekg/
BuildRequires: autoconf
BuildRequires: ncurses-devel
BuildRequires: readline-devel
+BuildRequires: libgsm-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
%build
%{__autoconf}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}} \
- $RPM_BUILD_ROOT{%{_mandir}/{,pl/}man1,%{_datadir}/ekg/themes}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
-install src/ekg $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}
-
-install themes/*.theme $RPM_BUILD_ROOT%{_datadir}/ekg/themes
-
install docs/ekg.man.pl $RPM_BUILD_ROOT%{_mandir}/pl/man1/ekg.1
install docs/ekl2.man.pl $RPM_BUILD_ROOT%{_mandir}/pl/man1/ekl2.1
install docs/ekl2.man.en $RPM_BUILD_ROOT%{_mandir}/man1/ekl2.1
rm examples/Makefile examples/Makefile.in
%if %{?_with_ioctl_daemon:1}%{?!_with_ioctl_daemon:0}
-install src/ioctl_daemon $RPM_BUILD_ROOT%{_bindir}
+install src/ioctld $RPM_BUILD_ROOT%{_bindir}
%endif
%clean
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/e*
-%doc docs/{7thguard,dcc,on,themes,vars,emoticons}.txt
+%doc docs/{7thguard,dcc,emoticons,on,themes,ui,vars,voip}.txt
%doc ChangeLog docs/{FAQ,README,TODO,ULOTKA} docs/emoticons.sample
-%{?_with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctl_daemon}
+%{?_with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctld}
%{_datadir}/ekg
%{_mandir}/man1/*
%lang(pl) %{_mandir}/pl/man1/*
%files -n libgadu-devel
%defattr(644,root,root,755)
-%doc docs/{7thguard,api,devel-hints,dcc-protocol}.txt docs/protocol.html
+%doc docs/{7thguard,api,dcc-protocol,devel-hints,http}.txt docs/protocol.html
%doc ChangeLog docs/{README,TODO} examples
%{_includedir}/libgadu.h