]> git.pld-linux.org Git - packages/aMule.git/blobdiff - aMule.spec
- one more locale fix, rel. 2
[packages/aMule.git] / aMule.spec
index a3303a75d64474fecad4b92f72d111ed8017a5f2..ea2f34829dc8a90a8d4f50b3e31526d728433474 100644 (file)
@@ -1,17 +1,16 @@
 #
 # 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
-Release:       1
+Version:       2.1.0
+Release:       2
 License:       GPL
 Group:         X11/Applications
-Source0:       http://download.berlios.de/amule/%{name}-%{version}.tar.gz
-# Source0-md5: e6680641e171ddf4236c955168947ba0
+Source0:       http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
+# Source0-md5: 238199195f2590d38e608ca5dbe06c16
 Patch0:                %{name}-configure_in.patch
 Patch1:                %{name}-desktop.patch
 Patch2:                %{name}-cas-datadir.patch
@@ -24,11 +23,11 @@ BuildRequires:      curl-devel >= 7.9.7
 BuildRequires: expat-devel
 BuildRequires: gd-devel
 BuildRequires: gettext-devel >= 0.11.5
+BuildRequires: gettext-autopoint
 BuildRequires: gtk+2-devel >= 2:2.2.0
 BuildRequires: libpng-devel
 BuildRequires: libstdc++-devel
-BuildRequires: wxBase-devel >= 2.6.0
-BuildRequires: wxGTK2-devel >= 2.6.0
+BuildRequires: wxGTK2-unicode-devel
 Requires:      wget
 Obsoletes:     lmule
 Obsoletes:     xmule
@@ -63,7 +62,7 @@ Provides:     alc
 %description alc
 Tool for creating ed2k links.
 
-%description -l pl alc
+%description alc -l pl
 Narzêdzie do tworzenia linków ed2k.
 
 %package cas
@@ -76,7 +75,7 @@ Provides:     cas
 %description cas
 Tool for generating aMule online stats.
 
-%description -l cas
+%description cas -l pl
 Narzêdzie do generownia statystyk aMule.
 
 %prep
@@ -92,10 +91,11 @@ Narz
 %{__autoheader}
 %{__automake}
 %configure \
-       --with-wx-config=%{_bindir}/wx-gtk2-ansi-config \
+       --with-wx-config=wx-gtk2-unicode-config         \
        --%{?debug:en}%{!?debug:dis}able-debug          \
-       --enable-optimise                               \
+       --%{?debug:dis}%{!?debug:en}able-optimize       \
        --enable-amule-daemon                           \
+       --enable-amule-gui                              \
        --enable-amulecmd                               \
        --enable-amulecmdgui                            \
        --enable-webserver                              \
@@ -103,7 +103,8 @@ Narz
        --enable-cas                                    \
        --enable-wxcas                                  \
        --enable-alc                                    \
-       --enable-alcc
+       --enable-alcc                                   \
+       --enable-kad-compile
 
 %{__make}
 
@@ -113,6 +114,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
+
 %find_lang amule
 
 %clean
@@ -122,7 +127,7 @@ 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}/amule*
-%{_bindir}/ed2k
+%attr(755,root,root) %{_bindir}/ed2k
 %dir %{_datadir}/amule
 %{_datadir}/amule/webserver
 %{_desktopdir}/amule.desktop
@@ -143,10 +148,12 @@ rm -rf $RPM_BUILD_ROOT
 %lang(hu) %{_mandir}/hu/man1/xas*
 
 %files plugin-xchat
+%defattr(644,root,root,755)
 %{_libdir}/xchat/plugins/xas.pl
 
 %files alc
-%{_bindir}/alc*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/alc*
 %{_desktopdir}/alc.desktop
 %{_pixmapsdir}/alc.xpm
 %{_mandir}/man1/alc*
@@ -155,9 +162,9 @@ rm -rf $RPM_BUILD_ROOT
 %lang(fr) %{_mandir}/fr/man1/alc*
 %lang(hu) %{_mandir}/hu/man1/alc*
 
-
 %files cas
-%{_bindir}/*cas
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*cas
 %{_datadir}/amule/cas
 %{_desktopdir}/*cas.desktop
 %{_pixmapsdir}/wxcas.xpm
This page took 0.191525 seconds and 4 git commands to generate.