- updated to 0.6.1
[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:        1
10 License:        GPL
11 Group:          Applications/Communications
12 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
13 # Source0-md5:  4e4644a77d97e88a9e474efef52fbd8b
14 URL:            http://ed2k-gtk-gui.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gnet-devel >= 2.0.0
18 BuildRequires:  gtk+2-devel
19 BuildRequires:  libxml2-devel
20 BuildRequires:  zlib-devel
21 %{!?_without_core:Requires: eDonkey-core}
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
32
33 %build
34 rm -f missing
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}/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 %{_mandir}/man1/*
70 %attr(755,root,root) %{_bindir}/*
71 %{_datadir}/ed2k_gui
72 %{_desktopdir}/*
This page took 0.050558 seconds and 4 git commands to generate.