Summary: Download tool similar to Reget or GetRight
Summary(pl): Narzêdzie do pobierania plików podobne do GetRighta
Name: aria
-Version: 0.9.1
-Release: 3
+Version: 1.0.0
+Release: 1
License: GPL
Group: X11/Applications/Networking
-Source0: http://rabien.virtualave.net/linux/storage/sources/%{name}-%{version}.tar.bz2
-Patch0: %{name}-am_lt.patch
+Source0: http://aria.rednoah.com/storage/sources/%{name}-%{version}.tar.bz2
+# Source0-md5: e4e968fd10f3beb2402b851f5dad74ff
+Patch0: %{name}-gettext.patch
+Patch1: %{name}-opt.patch
+Patch2: %{name}-gcc.patch
URL: http://aria.rednoah.com/
BuildRequires: XFree86-devel
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: glib-devel >= 1.2.6
BuildRequires: gtk+-devel >= 1.2.6
BuildRequires: libstdc++-devel
-BuildRequires: libtool
+BuildRequires: openssl-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-
%description
Aria is a download tool similar to Reget or GetRight. It downloads
files from Internet via HTTP or FTP. The transfer can be paused,
%prep
%setup -q
%patch0 -p1
+tail -n +937 aclocal.m4 > acinclude.m4
+%patch1 -p1
+%patch2 -p1
%build
-gettextize --copy --force
-%{__libtoolize}
-aclocal
-%{__automake} ||
+%{__gettextize}
+%{__aclocal}
%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf AUTHORS ChangeLog README TODO
-
-%find_lang %{name} --with-gnome --all-name
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_bindir}/*
+%{_datadir}/aria