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