3 # _without_core - use it if you will have own edonkey2000 core
5 Summary: eDonkey2000 P2P Network Client
6 Summary(pl): Klient sieci eDonkey2000
11 Group: Applications/Communications
12 Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}.tar.gz
13 URL: http://ed2k-gtk-gui.sourceforge.net/
14 BuildRequires: gnet-devel
15 BuildRequires: gtk+-devel
16 BuildRequires: libxml2-devel
17 BuildRequires: zlib-devel
18 %{!?_without_core:Requires: eDonkey-core}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _docdir /usr/X11R6/share
24 GTK+ GUI for eDonkey2000 core client.
27 Nak³adka na rdzeñ klienta sieci eDonkey2000.
30 %setup -q -n ed2k-gtk-gui_%{version}
37 rm -rf $RPM_BUILD_ROOT
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40 rm -f ed2k_gui/docs/en/Makefile*
44 rm -rf $RPM_BUILD_ROOT
48 echo "Please type edonkey-conf, when you'll be logged as user"
49 echo "It will prepare your donkey to use with ed2k :)"
52 %files -f ed2k_gui.lang
53 %defattr(644,root,root,755)
54 %doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/ed2k_gui/*