]> git.pld-linux.org Git - packages/axel.git/blobdiff - axel.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/axel.git] / axel.spec
index aab5cc22be6a2f96eb132d3e12f0b8a3ef67d0d8..c2caae766d21a582e1bad401a2ebb904aec3ac0c 100644 (file)
--- a/axel.spec
+++ b/axel.spec
@@ -1,12 +1,14 @@
-Summary:       An light Linux download accelerator     
+Summary:       An light Linux download accelerator
+Summary(pl):   Niewielki dopalacz ¶ci±gania plików
 Name:          axel
-Version:       0.92
-Release:       1
+Version:       1.0a
+Release:       3
 License:       GPL
 Group:         Networking/Utilities
-Group(de):     Netzwerkwesen/Werkzeuge
-Group(pl):     Sieciowe/Narzêdzia
 Source0:       http://www.lintux.cx/downloads/%{name}-%{version}.tar.gz
+Patch0:                %{name}-Makefile.patch
+Patch1:                %{name}-etc_dir.patch
+URL:           http://www.lintux.cx/axel.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -14,28 +16,41 @@ This program downloads a file from a FTP/HTTP through multiple
 connections, managed by one single thread, storing all the data to one
 file. This is because I think it's more efficient.
 
+%description -l pl
+Ten program ¶ci±ga pliki przez FTP/HTTP korzystaj±c w wielu
+równoczesnych po³±czeñ, zarz±dzanych przez pojedynczy w±tek, zapisuj±c
+wszystkie dane w jednym pliku. Dlatego powinien byæ bardzo efektywny.
+
 %prep
-%setup  -q 
+%setup  -q
+%patch1 -p1
 
 %build
-%{__make}
+# it doesn't use autoconf
+./configure \
+       --prefix=%{_prefix} \
+       --bindir=%{_bindir} \
+       --etcdir=%{_sysconfdir} \
+       --mandir=%{_mandir} \
+       --locale=%{_datadir}/locale \
+       --i18n=1
 
-gzip -9nf TODO CHANGES README
+%{__make} CC=%{__cc} CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
 
-install axel   $RPM_BUILD_ROOT%{_bindir}
-install axel.1 $RPM_BUILD_ROOT%{_mandir}/man1
-install axelrc.example $RPM_BUILD_ROOT%{_sysconfdir}/axelrc
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir},%{_datadir}/locale}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc CHANGES README
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
This page took 0.091726 seconds and 4 git commands to generate.