X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=aMule.spec;h=a2ae0a1a3e68ee552a580134b1530878a1c07e24;hb=488ce0ffe1f64ff9816753834e066c59552d6d06;hp=ad667fe3aa6460731533cb8b317c20692e7e8fc4;hpb=f26a19d2863f978252069fd12d537b318388516d;p=packages%2FaMule.git diff --git a/aMule.spec b/aMule.spec index ad667fe..a2ae0a1 100644 --- a/aMule.spec +++ b/aMule.spec @@ -1,25 +1,31 @@ Summary: Unix port of eMule client Summary(pl): Uniksowy port klienta eMule Name: aMule -Version: 1.2.3 -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: 9435c5ca80f208dbebd027941c477307 -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.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 @@ -29,8 +35,9 @@ aMule is a Linux port of eMule client. aMule to linuksowy port klienta eMule. %prep -%setup -q +%setup -q %patch0 -p1 +%patch1 -p1 %build %{__gettextize} @@ -39,8 +46,12 @@ aMule to linuksowy port klienta eMule. %{__autoheader} %{__automake} %configure \ - --with-wx-config=/usr/bin/wxgtk2-2.4-config \ - --enable-optimise + --with-wx-config=%{_bindir}/wx-gtk2-ansi-config \ + --enable-optimise \ + --enable-amulecmd \ + --enable-amulecmdgui \ + --enable-webserver \ + --enable-webservergui %{__make} @@ -57,7 +68,9 @@ rm -rf $RPM_BUILD_ROOT %files -f amule.lang %defattr(644,root,root,755) -%doc AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/eMule-Imports-Status docs/amulesig.txt +%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