Summary: Unix port of eMule client
Summary(pl.UTF-8): Uniksowy port klienta eMule
Name: aMule
-Version: 2.3.2
-Release: 22
+Version: 2.3.3
+Release: 3
License: GPL v2+
Group: X11/Applications
Source0: http://downloads.sourceforge.net/amule/%{name}-%{version}.tar.bz2
-# Source0-md5: 4516bde73327e6153c140cef59375f38
+# Source0-md5: d74947f4c35bbea71369f6c112b9f0b8
Patch0: %{name}-desktop.patch
Patch1: %{name}-cas-datadir.patch
Patch2: %{name}-ac.patch
-Patch3: %{name}-cryptopp.patch
-Patch4: binutils-2.34.patch
-Patch5: libupnp-1.14.patch
URL: http://www.amule.org/
BuildRequires: GeoIP-devel
BuildRequires: autoconf >= 2.59
BuildRequires: flex
BuildRequires: gd-devel >= 2.0.0
BuildRequires: gettext-tools >= 0.11.5
-BuildRequires: gtk+2-devel >= 2:2.2.0
+BuildRequires: gtk+3-devel
BuildRequires: libpng-devel >= 1.2.0
BuildRequires: libstdc++-devel
BuildRequires: libupnp-devel >= 1.6.6
BuildRequires: pkgconfig >= 1:0.9.0
BuildRequires: readline-devel
-BuildRequires: wxGTK2-unicode-devel >= 2.8.12
+BuildRequires: wxGTK3-unicode-devel >= 2.8.12
BuildRequires: xorg-lib-libXpm-devel
BuildRequires: zlib-devel >= 1.1.4
Requires: cryptopp >= 5.1
Requires: zlib >= 1.1.4
Obsoletes: lmule
Obsoletes: xmule
+Obsoletes: aMule-plugin-xchat < 2.3.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%description -l pl.UTF-8
aMule to linuksowy port klienta eMule.
-%package plugin-xchat
-Summary: Xchat plugin
-Summary(pl.UTF-8): Wtyczka dla xchat
-Group: X11/Applications
-Requires: %{name} = %{version}-%{release}
-Provides: %{name}-plugin-xchat
-
-%description plugin-xchat
-Plugin for Xchat IRC client.
-
-%description plugin-xchat -l pl.UTF-8
-Wtyczka dla klienta IRC xchat.
-
%package alc
Summary: Ed2k link creator for aMule
Summary(pl.UTF-8): Kreator linków ed2k dla aMule
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
%build
%{__aclocal} -I m4
%configure \
--with-denoise-level=1 \
--with-libpng-config=/usr/bin/libpng-config \
- --with-wx-config=wx-gtk2-unicode-config \
+ --with-wx-config=wx-gtk3-unicode-config \
--enable-alc \
--enable-alcc \
--enable-amulecmd \
--enable-optimize%{!?debug:=no} \
--enable-webserver \
--enable-wxcas \
- --enable-xas
+ --disable-xas
%{__make}
%files -f amule.lang
%defattr(644,root,root,755)
%doc docs/ABOUT-NLS docs/AUTHORS docs/Changelog docs/EC_Protocol.txt docs/README docs/TODO docs/amulesig.txt
-%attr(755,root,root) %{_bindir}/autostart-xas
%attr(755,root,root) %{_bindir}/amule*
%attr(755,root,root) %{_bindir}/ed2k
%dir %{_datadir}/amule
%lang(zh_TW) %{_mandir}/zh_TW/man1/amule*.1*
%lang(zh_TW) %{_mandir}/zh_TW/man1/ed2k.1*
-%files plugin-xchat
-%defattr(644,root,root,755)
-%{_libdir}/xchat/plugins/xas.pl
-%{_mandir}/man1/xas.1*
-%lang(de) %{_mandir}/de/man1/xas.1*
-%lang(es) %{_mandir}/es/man1/xas.1*
-%lang(fr) %{_mandir}/fr/man1/xas.1*
-%lang(hu) %{_mandir}/hu/man1/xas.1*
-%lang(it) %{_mandir}/it/man1/xas.1*
-%lang(ro) %{_mandir}/ro/man1/xas.1*
-%lang(ru) %{_mandir}/ru/man1/xas.1*
-%lang(tr) %{_mandir}/tr/man1/xas.1*
-%lang(zh_TW) %{_mandir}/zh_TW/man1/xas.1*
-
%files alc
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/alc