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