]> git.pld-linux.org Git - packages/ed2k-gtk-gui.git/blob - ed2k-gtk-gui.spec
- pl fix
[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         _prefix         /usr/X11R6
23 %define         _docdir         /usr/X11R6/share
24
25 %description
26 GTK+ GUI for eDonkey2000 core client.
27
28 %description -l pl
29 Nak³adka na rdzeñ klienta sieci eDonkey2000.
30
31 %prep
32 %setup -q -n ed2k_gui-%{version}
33
34 %build
35 %configure2_13
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42 rm -f ed2k_gui/docs/en/Makefile*
43 %find_lang ed2k_gui
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 echo""
50 echo "Please type edonkey-conf, when you'll be logged as user"
51 echo "It will prepare your donkey to use with ed2k :)"
52 echo ""
53
54 %files -f ed2k_gui.lang
55 %defattr(644,root,root,755)
56 %doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/
57 %attr(755,root,root) %{_bindir}/*
58 %{_datadir}/ed2k_gui/*
This page took 0.067795 seconds and 3 git commands to generate.