- ven -> ve (desktop patch), rel. 2
[packages/ed2k-gtk-gui.git] / ed2k-gtk-gui.spec
1 Summary:        eDonkey2000 P2P Network Client
2 Summary(pl):    Klient sieci eDonkey2000
3 Name:           ed2k-gtk-gui
4 Version:        0.6.3
5 Release:        2
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  191581cf44cd334a9d56aff2c68f4806
10 Patch0:         %{name}-home_etc.patch
11 Patch1:         %{name}-enable-deprecated.patch
12 Patch2:         %{name}-desktop.patch
13 URL:            http://ed2k-gtk-gui.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gnet-devel >= 2.0.0
17 BuildRequires:  gtk+2-devel
18 BuildRequires:  libxml2-devel
19 BuildRequires:  zlib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 GTK+ GUI for eDonkey2000 or overnet core client.
24
25 %description -l pl
26 Nak³adka na rdzeñ klienta sieci eDonkey2000 lub sieci Overnet.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32 %patch2 -p1
33
34 %build
35 rm -f missing
36 cp -f /usr/share/automake/config.sub .
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,pl}/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 %lang(pl) %doc docs/pl
72 %{_mandir}/man1/*
73 %attr(755,root,root) %{_bindir}/*
74 %{_datadir}/ed2k_gui
75 %{_desktopdir}/*
This page took 0.037414 seconds and 4 git commands to generate.