]> git.pld-linux.org Git - packages/aMule.git/blobdiff - aMule.spec
- change url/source0url
[packages/aMule.git] / aMule.spec
index 37068b4295ab964f97a2dbde5f45d76c477766b7..2014b5996b074b0eda03c65ceb7f7deca1c386a5 100644 (file)
@@ -1,21 +1,24 @@
 Summary:       Unix port of eMule client
 Summary(pl):   Uniksowy port klienta eMule
 Name:          aMule
-Version:       1.0.5
+Version:       1.2.6
 Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://dl.sourceforge.net/amule/%{name}-%{version}.tar.bz2
-# Source0-md5: 61c0b03236a740f916d50e83c1fb6bbd
-URL:           http://amule.sourceforge.net
+Source0:       http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
+# Source0-md5: bcd30926d68f4f54dc9c3799f8cde070
+Patch0:        %{name}-po_makefile.patch
+URL:           http://developer.berlios.de/projects/amule/
 BuildRequires: autoconf
 BuildRequires: automake >= 1.7.3
 BuildRequires: bison
-BuildRequires: gettext-devel >= 0.11.5
+BuildRequires: curl-devel >= 7.9.7
 BuildRequires: expat-devel
-BuildRequires: wxGTK2-devel >= 2.4.0
-BuildRequires: gtk2+-devel >= 2.2.0
+BuildRequires: gettext-devel >= 0.11.5
+BuildRequires: gtk+2-devel >= 2.2.0
 BuildRequires: libstdc++-devel
+BuildRequires: wxGTK2-devel >= 2.4.0
+BuildRequires: wxBase-devel >= 2.4.0
 Requires:      wget
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,11 +30,17 @@ aMule to linuksowy port klienta eMule.
 
 %prep
 %setup  -q
+%patch0 -p1
 
 %build
-
+%{__gettextize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
-       --with-wx-config=/usr/bin/wxgtk-2.4-config 
+       --with-wx-config=/usr/bin/wxgtk2-2.4-config \
+       --enable-optimise
 
 %{__make}
 
@@ -41,10 +50,14 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang amule
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files 
+%files -f amule.lang
 %defattr(644,root,root,755)
-%doc AUTHORS Changelog ED2K-Links.HOWTO README TODO
+%doc docs/AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/eMule-Imports-Status docs/amulesig.txt
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*
This page took 0.043555 seconds and 4 git commands to generate.