X-Git-Url: http://git.pld-linux.org/?p=packages%2Faria.git;a=blobdiff_plain;f=aria.spec;h=8ca9d2cb5b3547ba70d79f9cbb2d1561e852fa81;hp=c4459ebb146f170677bb6d19bb3743bc97df19da;hb=69f56245e8b57b77a5d8c0fe7baa794ae061cf71;hpb=87d1ac10949756ed88201cf5e35303f08f093c5a diff --git a/aria.spec b/aria.spec index c4459eb..8ca9d2c 100644 --- a/aria.spec +++ b/aria.spec @@ -1,23 +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.8.1 +Version: 1.0.0 Release: 1 License: GPL Group: X11/Applications/Networking -Group(de): X11/Applikationen/Netzwerkwesen -Group(pl): X11/Aplikacje/Sieciowe -Source0: http://www-tani.ics.es.osaka-u.ac.jp/~tujikawa/aria/%{name}-%{version}.tar.bz2 -URL: http://rabien.virtualave.net/linux/linux_e.html +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 >= 2.52 +BuildRequires: automake +BuildRequires: gettext-devel BuildRequires: glib-devel >= 1.2.6 BuildRequires: gtk+-devel >= 1.2.6 -BuildRequires: XFree86-devel BuildRequires: libstdc++-devel -BuildRequires: gettext-devel +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, @@ -37,9 +39,16 @@ specjalnych zachowa %prep %setup -q +%patch0 -p1 +tail -n +937 aclocal.m4 > acinclude.m4 +%patch1 -p1 %build -gettextize --copy --force +%{__gettextize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} %configure %{__make} @@ -49,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