X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=aMule.spec;h=a2ae0a1a3e68ee552a580134b1530878a1c07e24;hb=488ce0ffe1f64ff9816753834e066c59552d6d06;hp=32ad9507b2b19a9f3d35427641d6cc135bce0888;hpb=c153ffd63b795a15cc0889b2b690b49355d140b1;p=packages%2FaMule.git diff --git a/aMule.spec b/aMule.spec index 32ad950..a2ae0a1 100644 --- a/aMule.spec +++ b/aMule.spec @@ -1,29 +1,31 @@ -%define _rc rc5 Summary: Unix port of eMule client Summary(pl): Uniksowy port klienta eMule Name: aMule Version: 2.0.0 -Release: 0.%{_rc}.2 +Release: 0.1 License: GPL Group: X11/Applications -Source0: http://download.berlios.de/amule/%{name}-%{version}%{_rc}.tar.bz2 -# Source0-md5: c701db7489b98424a5eb652bd28eaa4d -Patch0: %{name}-po_makefile.patch -URL: http://developer.berlios.de/projects/amule/ +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: cryptopp-devel >= 5.1 +BuildRequires: wxBase-devel >= 2.6.0 +BuildRequires: wxGTK2-devel >= 2.6.0 Requires: wget -Obsoletes: xmule -Obsoletes: lmule +Obsoletes: lmule +Obsoletes: xmule BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -33,8 +35,9 @@ aMule is a Linux port of eMule client. aMule to linuksowy port klienta eMule. %prep -%setup -q -n %{name}-%{version}%{_rc} +%setup -q %patch0 -p1 +%patch1 -p1 %build %{__gettextize} @@ -43,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} @@ -61,7 +68,9 @@ rm -rf $RPM_BUILD_ROOT %files -f amule.lang %defattr(644,root,root,755) -%doc docs/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