]> git.pld-linux.org Git - packages/ed2k-gtk-gui.git/blob - ed2k-gtk-gui.spec
d87c770542736deb5adeb69d92b94e99e64725ea
[packages/ed2k-gtk-gui.git] / ed2k-gtk-gui.spec
1 Summary:        eDonkey2000 P2P Network Client
2 Summary(pl):    Klient sieci eDonkey2000
3 Name:           ed2k-gtk-gui
4 Version:        0.6.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  c51ddfc64ba39e2bb5383a95afe72c53
10 Patch0:         %{name}-home_etc.patch
11 Patch1:         %{name}-enable-deprecated.patch
12 Patch2:         %{name}-desktop.patch
13 URL:            http://ed2k-gtk-gui.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnet-devel >= 2.0.0
18 BuildRequires:  gtk+2-devel
19 BuildRequires:  libxml2-devel
20 BuildRequires:  pkgconfig
21 BuildRequires:  zlib-devel
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 %patch0 -p1
33 %patch1 -p1
34 %patch2 -p1
35
36 %build
37 rm -f missing
38 cp -f /usr/share/automake/config.sub .
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 rm -f docs/{de,en,es,pl}/Makefile*
53
54 %find_lang ed2k_gui
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files -f ed2k_gui.lang
60 %defattr(644,root,root,755)
61 %doc README ChangeLog TODO AUTHORS docs/en
62 %lang(de) %doc docs/de
63 %lang(es) %doc docs/es
64 %lang(pl) %doc docs/pl
65 %{_mandir}/man1/*
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/ed2k_gui
68 %{_desktopdir}/*
This page took 0.028684 seconds and 2 git commands to generate.