]>
Commit | Line | Data |
---|---|---|
7ab847a8 | 1 | %define ed2k_rel 1 |
6b20c9c9 | 2 | Summary: eDonkey2000 P2P Network Client |
3 | Summary(pl): Klient sieci eDonkey2000 | |
7ab847a8 | 4 | Name: ed2k-gtk-gui |
5 | Version: 0.4.0 | |
6 | Release: 1 | |
7 | License: GPL | |
8 | Group: Applications/Communications | |
9 | Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}-%{ed2k_rel}.tar.gz | |
10 | URL: http://ed2k-gtk-gui.sourceforge.net/ | |
11 | BuildRequires: gtk+-devel | |
12 | BuildRequires: libxml2-devel | |
13 | BuildRequires: zlib-devel | |
14 | BuildRequires: gnet-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _prefix /usr/X11R6 | |
18 | %define _docdir /usr/X11R6/share | |
19 | ||
20 | %description | |
6b20c9c9 | 21 | eDonkey2000 P2P Network Client. |
7ab847a8 | 22 | |
23 | %description -l pl | |
6b20c9c9 | 24 | Klient sieci eDonkey2000. |
7ab847a8 | 25 | |
26 | %prep | |
27 | %setup -q -n ed2k_gui-%{version} | |
28 | ||
29 | %build | |
30 | %configure2_13 | |
31 | %{__make} | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
37 | rm -f ed2k_gui/docs/en/Makefile* | |
38 | %find_lang ed2k_gui | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %post | |
44 | echo "You must download the \"core\" of eDonkey from" | |
45 | echo "http://ed2k-gtk-gui.sourceforge.net/core.shtml" | |
46 | echo "----------------------------------------------" | |
47 | echo "It is highly recommended that you place the eDonkey2000 core/command line" | |
48 | echo "client in a directory of its own somewhere in your home directory" | |
49 | echo "(e.g. /home/joe/ed2k/), because otherwise your home directory will" | |
50 | echo "be cluttered with ed2k core configuration files. Also, always do " | |
51 | echo "a cd /home/joe/ed2k before you start the core, because the core will look" | |
52 | echo "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/* |