X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=aMule.spec;h=734cfb1c936a97693c5c56195e2b7edace44809d;hb=2316daf973a34f646b345380e35b2aed1895c0f0;hp=94581bceb51aa563a8548034bbed272667998f47;hpb=817b67c822cdeab62d89558eb26f368513a1b25d;p=packages%2FaMule.git diff --git a/aMule.spec b/aMule.spec index 94581bc..734cfb1 100644 --- a/aMule.spec +++ b/aMule.spec @@ -1,12 +1,18 @@ +# +# TODO: +# - split into subpackages +# - package %{_libdir}/xchat/plugins/xas.pl +# - depends on binutils, why? +# Summary: Unix port of eMule client Summary(pl): Uniksowy port klienta eMule Name: aMule -Version: 2.0.0 +Version: 2.0.1 Release: 1 License: GPL Group: X11/Applications Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.gz -# Source0-md5: e6680641e171ddf4236c955168947ba0 +# Source0-md5: a88e6d9b263d684d8dc064a2bf535569 Patch0: %{name}-configure_in.patch Patch1: %{name}-desktop.patch Patch2: %{name}-cas-datadir.patch @@ -35,6 +41,45 @@ aMule is a Linux port of eMule client. %description -l pl aMule to linuksowy port klienta eMule. +%package plugin-xchat +Summary: Xchat plugin +Summary(pl): Wtyczka dla xchat +Requires: %{name} = %{version}-%{release} +Group: X11/Applications +Provides: %{name}-plugin-xchat + +%description plugin-xchat +Plugin for Xchat IRC client. + +%description plugin-xchat -l pl +Wtczka dla klienta IRC xchat. + +%package alc +Summary: Ed2k link creator for aMule +Summary(pl): Kreator linków ed2k dla aMule +Requires: %{name} = %{version}-%{release} +Group: X11/Applications +Provides: alc + +%description alc +Tool for creating ed2k links. + +%description -l pl alc +Narzêdzie do tworzenia linków ed2k. + +%package cas +Summary: aMule online stats +Summary(pl): Statystyki online aMule +Requires: %{name} = %{version}-%{release} +Group: X11/Applications +Provides: cas + +%description cas +Tool for generating aMule online stats. + +%description -l cas +Narzêdzie do generownia statystyk aMule. + %prep %setup -q %patch0 -p1 @@ -69,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{et_EE,et} +mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_PT,pt} + %find_lang amule %clean @@ -77,13 +125,49 @@ 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/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}/amule/cas +%attr(755,root,root) %{_bindir}/amule* +%{_bindir}/ed2k +%dir %{_datadir}/amule %{_datadir}/amule/webserver +%{_desktopdir}/amule.desktop +%{_pixmapsdir}/amule.xpm +%{_mandir}/man1/amule* +%{_mandir}/man1/ed2k* +%{_mandir}/man1/xas* +%lang(de) %{_mandir}/de/man1/amule* +%lang(de) %{_mandir}/de/man1/ed2k* +%lang(de) %{_mandir}/de/man1/xas* +%lang(es) %{_mandir}/es/man1/amule* +%lang(es) %{_mandir}/es/man1/ed2k* +%lang(es) %{_mandir}/es/man1/xas* +%lang(fr) %{_mandir}/fr/man1/amule* +%lang(fr) %{_mandir}/fr/man1/ed2k* +%lang(hu) %{_mandir}/hu/man1/amule* +%lang(hu) %{_mandir}/hu/man1/ed2k* +%lang(hu) %{_mandir}/hu/man1/xas* + +%files plugin-xchat +%defattr(644,root,root,755) +%{_libdir}/xchat/plugins/xas.pl + +%files alc +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/alc* +%{_desktopdir}/alc.desktop +%{_pixmapsdir}/alc.xpm +%{_mandir}/man1/alc* +%lang(de) %{_mandir}/de/man1/alc* +%lang(es) %{_mandir}/es/man1/alc* +%lang(fr) %{_mandir}/fr/man1/alc* +%lang(hu) %{_mandir}/hu/man1/alc* + +%files cas +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/*cas +%{_datadir}/amule/cas +%{_desktopdir}/*cas.desktop +%{_pixmapsdir}/wxcas.xpm +%{_mandir}/man1/*cas* +%lang(de) %{_mandir}/de/man1/*cas* +%lang(es) %{_mandir}/es/man1/*cas* +%lang(hu) %{_mandir}/hu/man1/*cas*