X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=aMule.spec;h=a2ae0a1a3e68ee552a580134b1530878a1c07e24;hb=488ce0ffe1f64ff9816753834e066c59552d6d06;hp=01b18ece468998f1053bc3e4e3f1f23051869075;hpb=44516e9671ddbf75f3ad98e847549eac19bcc739;p=packages%2FaMule.git diff --git a/aMule.spec b/aMule.spec index 01b18ec..a2ae0a1 100644 --- a/aMule.spec +++ b/aMule.spec @@ -1,23 +1,31 @@ Summary: Unix port of eMule client Summary(pl): Uniksowy port klienta eMule Name: aMule -Version: 1.2.0 -Release: 1 +Version: 2.0.0 +Release: 0.1 License: GPL Group: X11/Applications -Source0: http://dl.sourceforge.net/amule/%{name}-%{version}.tar.bz2 -# Source0-md5: d6704999460c66a9c20c293a77243f34 -Patch0: %{name}-po_makefile.patch -URL: http://amule.sourceforge.net +Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.gz +# Source0-md5: e6680641e171ddf4236c955168947ba0 +Patch0: %{name}-configure_in.patch +Patch1: %{name}-desktop.patch +URL: http://www.amule.org/ BuildRequires: autoconf -BuildRequires: automake >= 1.7.3 +BuildRequires: automake >= 1:1.7.3 BuildRequires: bison +#BuildRequires: cryptopp-devel >= 5.1 +BuildRequires: curl-devel >= 7.9.7 BuildRequires: expat-devel +BuildRequires: gd-devel BuildRequires: gettext-devel >= 0.11.5 -BuildRequires: gtk+2-devel >= 2.2.0 +BuildRequires: gtk+2-devel >= 2:2.2.0 +BuildRequires: libpng-devel BuildRequires: libstdc++-devel -BuildRequires: wxGTK2-devel >= 2.4.0 +BuildRequires: wxBase-devel >= 2.6.0 +BuildRequires: wxGTK2-devel >= 2.6.0 Requires: wget +Obsoletes: lmule +Obsoletes: xmule BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -27,16 +35,23 @@ aMule is a Linux port of eMule client. aMule to linuksowy port klienta eMule. %prep -%setup -q +%setup -q %patch0 -p1 +%patch1 -p1 %build -%{__aclocal} +%{__gettextize} +%{__aclocal} -I m4 %{__autoconf} %{__autoheader} %{__automake} %configure \ - --with-wx-config=/usr/bin/wxgtk2-2.4-config + --with-wx-config=%{_bindir}/wx-gtk2-ansi-config \ + --enable-optimise \ + --enable-amulecmd \ + --enable-amulecmdgui \ + --enable-webserver \ + --enable-webservergui %{__make} @@ -53,7 +68,9 @@ rm -rf $RPM_BUILD_ROOT %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/amulesig.txt %attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* %{_desktopdir}/* %{_pixmapsdir}/* +%{_datadir}/amule/webserver