Summary: Unix port of eMule client
Summary(pl): Uniksowy port klienta eMule
Name: aMule
-Version: 1.0.5
+Version: 1.2.6
Release: 1
License: GPL
Group: X11/Applications
-Source0: http://dl.sourceforge.net/amule/%{name}-%{version}.tar.bz2
-# Source0-md5: 61c0b03236a740f916d50e83c1fb6bbd
-URL: http://amule.sourceforge.net
+Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
+# Source0-md5: bcd30926d68f4f54dc9c3799f8cde070
+Patch0: %{name}-po_makefile.patch
+URL: http://developer.berlios.de/projects/amule/
BuildRequires: autoconf
BuildRequires: automake >= 1.7.3
BuildRequires: bison
-BuildRequires: gettext-devel >= 0.11.5
+BuildRequires: curl-devel >= 7.9.7
BuildRequires: expat-devel
-BuildRequires: wxGTK2-devel >= 2.4.0
-BuildRequires: gtk2+-devel >= 2.2.0
+BuildRequires: gettext-devel >= 0.11.5
+BuildRequires: gtk+2-devel >= 2.2.0
BuildRequires: libstdc++-devel
+BuildRequires: wxGTK2-devel >= 2.4.0
+BuildRequires: wxBase-devel >= 2.4.0
Requires: wget
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+%patch0 -p1
%build
-
+%{__gettextize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
- --with-wx-config=/usr/bin/wxgtk-2.4-config
+ --with-wx-config=/usr/bin/wxgtk2-2.4-config \
+ --enable-optimise
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%find_lang amule
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f amule.lang
%defattr(644,root,root,755)
-%doc AUTHORS Changelog ED2K-Links.HOWTO README TODO
+%doc docs/AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/eMule-Imports-Status docs/amulesig.txt
%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*