X-Git-Url: http://git.pld-linux.org/?p=packages%2Faria.git;a=blobdiff_plain;f=aria.spec;h=1d04ddc75c949dea15e2a3419f19bf50e5938cba;hp=cc3fe2e27d36d39b87f6ae46b3c56c3e7a1d4547;hb=0328520df3aba8da3b950d7a7497af1ea8860a34;hpb=45277cd1a36b1d3b40f4154534d311ab452399f7 diff --git a/aria.spec b/aria.spec index cc3fe2e..1d04ddc 100644 --- a/aria.spec +++ b/aria.spec @@ -1,25 +1,26 @@ 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, @@ -40,13 +41,16 @@ specjalnych zachowa %prep %setup -q %patch0 -p1 +tail -n +937 aclocal.m4 > acinclude.m4 +%patch1 -p1 +%patch2 -p1 %build %{__gettextize} -%{__libtoolize} -aclocal -%{__automake} || +%{__aclocal} %{__autoconf} +%{__autoheader} +%{__automake} %configure %{__make} @@ -56,14 +60,13 @@ rm -rf $RPM_BUILD_ROOT %{__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