]> git.pld-linux.org Git - packages/ed2k-gtk-gui.git/blobdiff - ed2k-gtk-gui.spec
- upgraded to 0.5.0
[packages/ed2k-gtk-gui.git] / ed2k-gtk-gui.spec
index 431f8319ae4fa91199fd062738aa0ca909063552..8cf1689d24d6ceaebe65d077f2b88ca36ea24ffe 100644 (file)
@@ -1,30 +1,33 @@
-%define                ed2k_rel        1
-Summary:       Gnutella P2P Network Client
-Summary(pl):   Klient sieci Gnutella
+#
+# Conditional build:
+# _without_core - use it if you will have own edonkey2000 core
+#
+Summary:       eDonkey2000 P2P Network Client
+Summary(pl):   Klient sieci eDonkey2000
 Name:          ed2k-gtk-gui
-Version:       0.4.0
+Version:       0.5.0
 Release:       1
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://download.sourceforge.net/%{name}/%{name}_%{version}-%{ed2k_rel}.tar.gz
+Source0:       http://download.sourceforge.net/%{name}/%{name}_%{version}.tar.gz
 URL:           http://ed2k-gtk-gui.sourceforge.net/
+BuildRequires: gnet-devel
 BuildRequires: gtk+-devel
 BuildRequires: libxml2-devel
 BuildRequires: zlib-devel
-BuildRequires: gnet-devel
+%{!?_without_core:Requires: eDonkey-core}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _prefix         /usr/X11R6
 %define                _docdir         /usr/X11R6/share
 
 %description
-Gnutella P2P Network Client.
+GTK+ GUI for eDonkey2000 core client.
 
 %description -l pl
-Klient sieci Gnutella.
+Nak³adka na rdzeñ klienta sieci eDonkey2000.
 
 %prep
-%setup -q -n ed2k_gui-%{version}
+%setup -q -n ed2k-gtk-gui_%{version}
 
 %build
 %configure2_13
@@ -41,15 +44,10 @@ rm -f ed2k_gui/docs/en/Makefile*
 rm -rf $RPM_BUILD_ROOT
 
 %post
-echo "You must download the \"core\" of eDonkey from" 
-echo "http://ed2k-gtk-gui.sourceforge.net/core.shtml"
-echo "----------------------------------------------"
-echo "It is highly recommended that you place the eDonkey2000 core/command line"
-echo "client in a directory of its own somewhere in your home directory"
-echo "(e.g. /home/joe/ed2k/), because otherwise your home directory will"
-echo "be cluttered with ed2k core configuration files. Also, always do "
-echo "a cd /home/joe/ed2k before you start the core, because the core will look"
-echo "for its configuration files in the current working directory!"
+echo""
+echo "Please type edonkey-conf, when you'll be logged as user"
+echo "It will prepare your donkey to use with ed2k :)"
+echo ""
 
 %files -f ed2k_gui.lang
 %defattr(644,root,root,755)
This page took 0.066936 seconds and 4 git commands to generate.