38ee14f9de995395b2a31a4d30843b843ecfb25d
[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 %define         ed2k_rel        1
6 Summary:        eDonkey2000 P2P Network Client
7 Summary(pl):    Klient sieci eDonkey2000
8 Name:           ed2k-gtk-gui
9 Version:        0.4.0
10 Release:        3
11 License:        GPL
12 Group:          Applications/Communications
13 Source0:        http://download.sourceforge.net/%{name}/%{name}_%{version}-%{ed2k_rel}.tar.gz
14 URL:            http://ed2k-gtk-gui.sourceforge.net/
15 BuildRequires:  gnet-devel
16 BuildRequires:  gtk+-devel
17 BuildRequires:  libxml2-devel
18 BuildRequires:  zlib-devel
19 %{!?_without_core:Requires: eDonkey-core}
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _docdir         /usr/X11R6/share
23
24 %description
25 GTK+ GUI for eDonkey2000 core client.
26
27 %description -l pl
28 Nak³adka na rdzeñ klienta sieci eDonkey2000.
29
30 %prep
31 %setup -q -n ed2k_gui-%{version}
32
33 %build
34 %configure2_13
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41 rm -f ed2k_gui/docs/en/Makefile*
42 %find_lang ed2k_gui
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %post
48 echo""
49 echo "Please type edonkey-conf, when you'll be logged as user"
50 echo "It will prepare your donkey to use with ed2k :)"
51 echo ""
52
53 %files -f ed2k_gui.lang
54 %defattr(644,root,root,755)
55 %doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/
56 %attr(755,root,root) %{_bindir}/*
57 %{_datadir}/ed2k_gui/*
This page took 0.032969 seconds and 2 git commands to generate.