X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=aMule.spec;h=94581bceb51aa563a8548034bbed272667998f47;hb=817b67c822cdeab62d89558eb26f368513a1b25d;hp=2a187203f12b799299fa2ab884f3ac559ec12e90;hpb=f2501d85af122dcb379a79ce35d4b3dd81796c8b;p=packages%2FaMule.git diff --git a/aMule.spec b/aMule.spec index 2a18720..94581bc 100644 --- a/aMule.spec +++ b/aMule.spec @@ -2,13 +2,14 @@ Summary: Unix port of eMule client Summary(pl): Uniksowy port klienta eMule Name: aMule Version: 2.0.0 -Release: 0.1 +Release: 1 License: GPL Group: X11/Applications Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.gz # Source0-md5: e6680641e171ddf4236c955168947ba0 Patch0: %{name}-configure_in.patch Patch1: %{name}-desktop.patch +Patch2: %{name}-cas-datadir.patch URL: http://www.amule.org/ BuildRequires: autoconf BuildRequires: automake >= 1:1.7.3 @@ -38,6 +39,7 @@ aMule to linuksowy port klienta eMule. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__gettextize} @@ -46,12 +48,18 @@ aMule to linuksowy port klienta eMule. %{__autoheader} %{__automake} %configure \ - --with-wx-config=/usr/bin/wx-gtk2-ansi-config \ + --with-wx-config=%{_bindir}/wx-gtk2-ansi-config \ + --%{?debug:en}%{!?debug:dis}able-debug \ --enable-optimise \ + --enable-amule-daemon \ --enable-amulecmd \ --enable-amulecmdgui \ --enable-webserver \ - --enable-webservergui + --enable-webservergui \ + --enable-cas \ + --enable-wxcas \ + --enable-alc \ + --enable-alcc %{__make} @@ -60,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT - + %find_lang amule %clean @@ -70,7 +78,12 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc docs/AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt %attr(755,root,root) %{_bindir}/* +%lang(de) %{_mandir}/de/man1/* +%lang(es) %{_mandir}/es/man1/* +%lang(fr) %{_mandir}/fr/man1/* +%lang(hu) %{_mandir}/hu/man1/* +%{_mandir}/man1/* %{_desktopdir}/* %{_pixmapsdir}/* -%{_datadir}/amuleweb -%{_datadir}/cas +%{_datadir}/amule/cas +%{_datadir}/amule/webserver