- based on gtk-gnutella.spec,
[packages/ed2k-gtk-gui.git] / ed2k-gtk-gui.spec
CommitLineData
7ab847a8 1%define ed2k_rel 1
2Summary: Gnutella P2P Network Client
3Summary(pl): Klient sieci Gnutella
4Name: ed2k-gtk-gui
5Version: 0.4.0
6Release: 1
7License: GPL
8Group: Applications/Communications
9Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}-%{ed2k_rel}.tar.gz
10URL: http://ed2k-gtk-gui.sourceforge.net/
11BuildRequires: gtk+-devel
12BuildRequires: libxml2-devel
13BuildRequires: zlib-devel
14BuildRequires: gnet-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _prefix /usr/X11R6
18%define _docdir /usr/X11R6/share
19
20%description
21Gnutella P2P Network Client.
22
23%description -l pl
24Klient sieci Gnutella.
25
26%prep
27%setup -q -n ed2k_gui-%{version}
28
29%build
30%configure2_13
31%{__make}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36%{__make} install DESTDIR=$RPM_BUILD_ROOT
37rm -f ed2k_gui/docs/en/Makefile*
38%find_lang ed2k_gui
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%post
44echo "You must download the \"core\" of eDonkey from"
45echo "http://ed2k-gtk-gui.sourceforge.net/core.shtml"
46echo "----------------------------------------------"
47echo "It is highly recommended that you place the eDonkey2000 core/command line"
48echo "client in a directory of its own somewhere in your home directory"
49echo "(e.g. /home/joe/ed2k/), because otherwise your home directory will"
50echo "be cluttered with ed2k core configuration files. Also, always do "
51echo "a cd /home/joe/ed2k before you start the core, because the core will look"
52echo "for its configuration files in the current working directory!"
53
54%files -f ed2k_gui.lang
55%defattr(644,root,root,755)
56%doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/
57%attr(755,root,root) %{_bindir}/*
58%{_datadir}/ed2k_gui/*
This page took 0.108278 seconds and 4 git commands to generate.