- next part of small fixes inpired by kloczek :)
[packages/ed2k-gtk-gui.git] / ed2k-gtk-gui.spec
1 #
2 # Conditional build:
3 # _without_core - use it if you will have own edonkey2000 core
4 #
5 Summary:        eDonkey2000 P2P Network Client
6 Summary(pl):    Klient sieci eDonkey2000
7 Name:           ed2k-gtk-gui
8 Version:        0.5.0
9 Release:        4
10 License:        GPL
11 Group:          Applications/Communications
12 Source0:        http://dl.sourceforge.net/%{name}/%{name}_%{version}.tar.gz
13 # Source0-md5:  c71d47f9d591624d468758dde2463e46
14 URL:            http://ed2k-gtk-gui.sourceforge.net/
15 BuildRequires:  gnet-devel < 1.2.0
16 BuildRequires:  gtk+-devel
17 BuildRequires:  libxml2-devel
18 BuildRequires:  zlib-devel
19 %{!?_without_core:Requires: eDonkey-core}
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _docdir         /usr/X11R6/share
23
24 %description
25 GTK+ GUI for eDonkey2000 or overnet core client.
26
27 %description -l pl
28 Nak³adka na rdzeñ klienta sieci eDonkey2000 lub sieci overnet.
29
30 %prep
31 %setup -q -n ed2k-gtk-gui_%{version}
32
33 %build
34 %configure2_13
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 rm -f ed2k_gui/docs/en/Makefile*
44
45 %find_lang ed2k_gui
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post
51 echo""
52 echo "Please type edonkey-conf, when you'll be logged as user"
53 echo "It will prepare your donkey to use with ed2k :)"
54 echo ""
55 echo "You may also type overnet-conf, it will prepare overnet-core"
56 echo "to use with ed2k, more info at http://www.overnet.com/"
57 echo ""
58
59 %files -f ed2k_gui.lang
60 %defattr(644,root,root,755)
61 %doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/ed2k_gui
This page took 0.03999 seconds and 4 git commands to generate.