From 38d463a53e45882ae474540ad564018aff794197 Mon Sep 17 00:00:00 2001 From: djrzulf Date: Wed, 27 Nov 2002 11:43:40 +0000 Subject: [PATCH] - added Requires and %post, - Release 2, - STBR, Changed files: ed2k-gtk-gui.spec -> 1.3 --- ed2k-gtk-gui.spec | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/ed2k-gtk-gui.spec b/ed2k-gtk-gui.spec index 4ad3724..68e5083 100644 --- a/ed2k-gtk-gui.spec +++ b/ed2k-gtk-gui.spec @@ -1,9 +1,14 @@ +# +# conditional build: +# +# _without_core - use it if you will have own edonkey2000 core +# %define ed2k_rel 1 Summary: eDonkey2000 P2P Network Client Summary(pl): Klient sieci eDonkey2000 Name: ed2k-gtk-gui Version: 0.4.0 -Release: 1 +Release: 2 License: GPL Group: Applications/Communications Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}-%{ed2k_rel}.tar.gz @@ -12,6 +17,7 @@ BuildRequires: gtk+-devel BuildRequires: libxml2-devel BuildRequires: zlib-devel BuildRequires: gnet-devel +%{!?_without_core:Requires: edonkey2k-core} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 @@ -41,15 +47,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) -- 2.43.0