]>
Commit | Line | Data |
---|---|---|
38d463a5 | 1 | # |
2 | # conditional build: | |
3 | # | |
4 | # _without_core - use it if you will have own edonkey2000 core | |
5 | # | |
7ab847a8 | 6 | %define ed2k_rel 1 |
6b20c9c9 | 7 | Summary: eDonkey2000 P2P Network Client |
8 | Summary(pl): Klient sieci eDonkey2000 | |
7ab847a8 | 9 | Name: ed2k-gtk-gui |
10 | Version: 0.4.0 | |
82ce7e4a | 11 | Release: 3 |
7ab847a8 | 12 | License: GPL |
13 | Group: Applications/Communications | |
14 | Source0: http://download.sourceforge.net/%{name}/%{name}_%{version}-%{ed2k_rel}.tar.gz | |
15 | URL: http://ed2k-gtk-gui.sourceforge.net/ | |
16 | BuildRequires: gtk+-devel | |
17 | BuildRequires: libxml2-devel | |
18 | BuildRequires: zlib-devel | |
19 | BuildRequires: gnet-devel | |
82ce7e4a | 20 | %{!?_without_core:Requires: eDonkey-core} |
7ab847a8 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %define _prefix /usr/X11R6 | |
24 | %define _docdir /usr/X11R6/share | |
25 | ||
26 | %description | |
6b20c9c9 | 27 | eDonkey2000 P2P Network Client. |
7ab847a8 | 28 | |
29 | %description -l pl | |
6b20c9c9 | 30 | Klient sieci eDonkey2000. |
7ab847a8 | 31 | |
32 | %prep | |
33 | %setup -q -n ed2k_gui-%{version} | |
34 | ||
35 | %build | |
36 | %configure2_13 | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
43 | rm -f ed2k_gui/docs/en/Makefile* | |
44 | %find_lang ed2k_gui | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %post | |
38d463a5 | 50 | echo"" |
51 | echo "Please type edonkey-conf, when you'll be logged as user" | |
52 | echo "It will prepare your donkey to use with ed2k :)" | |
53 | echo "" | |
7ab847a8 | 54 | |
55 | %files -f ed2k_gui.lang | |
56 | %defattr(644,root,root,755) | |
57 | %doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/ | |
58 | %attr(755,root,root) %{_bindir}/* | |
59 | %{_datadir}/ed2k_gui/* |