017589dc47b527145cbe7d931eabc1efea54260b
[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.6.1
9 Release:        2
10 License:        GPL
11 Group:          Applications/Communications
12 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
13 # Source0-md5:  4e4644a77d97e88a9e474efef52fbd8b
14 Patch0:         %{name}-home_etc.patch
15 URL:            http://ed2k-gtk-gui.sourceforge.net/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gnet-devel >= 2.0.0
19 BuildRequires:  gtk+2-devel
20 BuildRequires:  libxml2-devel
21 BuildRequires:  zlib-devel
22 %{!?_without_core:Requires: eDonkey-core}
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 GTK+ GUI for eDonkey2000 or overnet core client.
27
28 %description -l pl
29 Nak³adka na rdzeñ klienta sieci eDonkey2000 lub sieci Overnet.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 rm -f missing
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 rm -f docs/{de,en,es}/Makefile*
51
52 %find_lang ed2k_gui
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 echo""
59 echo "Please type edonkey-conf, when you'll be logged as user"
60 echo "It will prepare your donkey to use with ed2k :)"
61 echo ""
62 echo "You may also type overnet-conf, it will prepare overnet-core"
63 echo "to use with ed2k, more info at http://www.overnet.com/"
64 echo ""
65
66 %files -f ed2k_gui.lang
67 %defattr(644,root,root,755)
68 %doc README ChangeLog TODO AUTHORS docs/en
69 %lang(de) %doc docs/de
70 %lang(es) %doc docs/es
71 %{_mandir}/man1/*
72 %attr(755,root,root) %{_bindir}/*
73 %{_datadir}/ed2k_gui
74 %{_desktopdir}/*
This page took 0.028903 seconds and 2 git commands to generate.