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