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