From 7ab847a8d362a775c22e82b71f356972cd5052f4 Mon Sep 17 00:00:00 2001 From: djrzulf Date: Tue, 26 Nov 2002 11:43:44 +0000 Subject: [PATCH] - based on gtk-gnutella.spec, - initial release, - works fine ;>, - STBR, Changed files: ed2k-gtk-gui.spec -> 1.1 --- ed2k-gtk-gui.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 ed2k-gtk-gui.spec diff --git a/ed2k-gtk-gui.spec b/ed2k-gtk-gui.spec new file mode 100644 index 0000000..431f831 --- /dev/null +++ b/ed2k-gtk-gui.spec @@ -0,0 +1,58 @@ +%define ed2k_rel 1 +Summary: Gnutella P2P Network Client +Summary(pl): Klient sieci Gnutella +Name: ed2k-gtk-gui +Version: 0.4.0 +Release: 1 +License: GPL +Group: Applications/Communications +Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}-%{ed2k_rel}.tar.gz +URL: http://ed2k-gtk-gui.sourceforge.net/ +BuildRequires: gtk+-devel +BuildRequires: libxml2-devel +BuildRequires: zlib-devel +BuildRequires: gnet-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 +%define _docdir /usr/X11R6/share + +%description +Gnutella P2P Network Client. + +%description -l pl +Klient sieci Gnutella. + +%prep +%setup -q -n ed2k_gui-%{version} + +%build +%configure2_13 +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install DESTDIR=$RPM_BUILD_ROOT +rm -f ed2k_gui/docs/en/Makefile* +%find_lang ed2k_gui + +%clean +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!" + +%files -f ed2k_gui.lang +%defattr(644,root,root,755) +%doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/ +%attr(755,root,root) %{_bindir}/* +%{_datadir}/ed2k_gui/* -- 2.43.0