1 # TODO: it hanges after few minutes, hgw why.
2 Summary: Unix port of eMule client
3 Summary(pl.UTF-8): Uniksowy port klienta eMule
8 Group: X11/Applications
9 Source0: http://dl.sourceforge.net/xmule/%{name}-%{version}.tar.bz2
10 # Source0-md5: 372c02793f8282312a1370443420fda7
11 Patch0: %{name}-pl_typos.patch
12 Patch1: %{name}-desktop.patch
13 Patch2: %{name}-locale_names.patch
14 Patch3: %{name}-configure.patch
15 Patch4: %{name}-wx-config.patch
16 Patch5: %{name}-libcrypto.patch
17 URL: http://www.xmule.ws/
18 BuildRequires: autoconf
19 BuildRequires: automake >= 1:1.7.3
21 BuildRequires: cryptopp-devel
22 BuildRequires: expat-devel
23 BuildRequires: gettext-tools >= 0.14.5
24 BuildRequires: gtk+2-devel >= 2.0.3
25 BuildRequires: libstdc++-devel
26 BuildRequires: pkgconfig
27 BuildRequires: wxGTK2-devel >= 2.6.2
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 xMule is a Linux port of eMule client.
36 %description -l pl.UTF-8
37 xMule to linuksowy port klienta eMule.
51 # Regenerate POTFILES.in because it wasn't actualized since 2004
52 for i in src/*.cpp; do echo $i; done > po/POTFILES.in
53 cp -f /usr/share/automake/config.sub .
59 --prefix=$RPM_BUILD_ROOT \
60 --disable-debug-syms \
61 --with-wx-config=/usr/bin/wx-gtk2-ansi-config
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
67 install {ed2k.xmule-2.0,xmule} $RPM_BUILD_ROOT%{_bindir}
68 ln -sf %{_bindir}/ed2k.xmule-2.0 $RPM_BUILD_ROOT%{_bindir}/ed2k
69 install xmule.desktop $RPM_BUILD_ROOT%{_desktopdir}/xmule.desktop
70 install xmule.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/xmule.xpm
73 DESTDIR=$RPM_BUILD_ROOT
74 %{__make} install-data \
75 DESTDIR=$RPM_BUILD_ROOT
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
85 %doc ChangeLog ChangeLog-UNSTABLE docs/{AUTHORS,ED2K-Links.HOWTO,README,TODO}
86 %attr(755,root,root) %{_bindir}/*
88 %{_desktopdir}/%{name}.desktop