X-Git-Url: http://git.pld-linux.org/?p=packages%2Faria.git;a=blobdiff_plain;f=aria.spec;h=8ca9d2cb5b3547ba70d79f9cbb2d1561e852fa81;hp=cf67091a7ee85896fa534de435b9ee2441758062;hb=69f56245e8b57b77a5d8c0fe7baa794ae061cf71;hpb=46bb3db1f33b0db7b5fb2755ed2e2774fddd04c4 diff --git a/aria.spec b/aria.spec index cf67091..8ca9d2c 100644 --- a/aria.spec +++ b/aria.spec @@ -1,25 +1,25 @@ 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 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 +40,15 @@ specjalnych zachowa %prep %setup -q %patch0 -p1 +tail -n +937 aclocal.m4 > acinclude.m4 +%patch1 -p1 %build -gettextize --copy --force -libtoolize --copy --force -aclocal -%{__automake} || +%{__gettextize} +%{__aclocal} %{__autoconf} +%{__autoheader} +%{__automake} %configure %{__make} @@ -56,14 +58,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