File aMule-AdunanzA-2010.1.spec of Package aMule-AdunanzA
# norootforbuild
Name: aMule-AdunanzA-2010.1
Summary: a Linux port of the eMule AdnzA Mod courteously by Gnucco, hyde & malchovitch.
Version: 2.2.6
Release: 1
License: GPL
Group: Productivity/Networking/Other
URL: http://www.adunanza.net
Source0: aMule-AdunanzA-2010.1-2.2.6.tar.bz2
Patch0: aMule-CVS-wx_utils.h.patch
Patch1: amule-2.2.6-gcc45.patch
Patch2: aMule-fix_ambiguous_char2unicode_to_wxstring.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifarch %ix86
BuildArch: i686
%endif
BuildRequires: gcc-c++ wxGTK-devel zlib-devel binutils-devel libupnp-devel cryptopp-devel gd-devel GeoIP-devel libjpeg-devel libpng-devel gd-devel
%define _use_internal_dependency_generator 0
%define __find_requires %wx_requires
Requires: wxGTK zlib binutils libupnp cryptopp gd GeoIP libjpeg libpng gd
Conflicts: aMule
%description
aMule (www.amule.org) is a peer to peer file
sharing client, based on the well known eMule.
Starting with 2.0.0 aMule works on Linux, Mac,
*BSD and Windows, which makes it
the first multi-platform edonkey network client.
aMule-AdunanzA is the mod of aMule dedicated to
Fastweb ISP users.
%prep
%setup -q -n aMule-AdunanzA-2010.1-2.2.6
%patch0 -p1
%patch1 -p1
%patch2
%build
%configure \
--enable-amulecmd \
--enable-amule-gui \
--enable-amule-daemon \
--enable-webserver \
--enable-webservergui \
--enable-cas \
--enable-wxcas \
--enable-alc \
--enable-alcc \
--enable-geoip
%__make %{?_smp_flags} V=1 VERBOSE=1 SILENT=0
%install
%makeinstall
rm -fr %buildroot/usr/share/doc/amuleadunanza
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc docs/ABOUT-NLS docs/amulesig.txt docs/amule-win32.HOWTO.txt docs/Changelog docs/EC_Protocol.txt docs/ED2K-Links.HOWTO docs/INSTALL docs/license.txt docs/README docs/socks4.protocol docs/TODO
%doc %{_mandir}/*/*
%{_bindir}/*
%{_libdir}/xchat/plugins/xasAdunanzA.pl
%{_datadir}/amuleadunanza/*
%{_datadir}/casAdunanzA/*
%{_datadir}/locale/*/LC_MESSAGES/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%dir %{_libdir}/xchat
%dir %{_libdir}/xchat/plugins
%dir %{_datadir}/amuleadunanza
%dir %{_datadir}/casAdunanzA
%dir %{_datadir}/locale/it
%dir %{_datadir}/man/eu
%dir %{_datadir}/man/hu
%changelog
* Tue Jul 26 2011 Francesco Mondello <faster3ck@gmail.com>
- First build for Fedora 15