]> git.pld-linux.org Git - packages/axel.git/blame - axel.spec
- updated gettext BR
[packages/axel.git] / axel.spec
CommitLineData
a604f225 1Summary: A light Linux download accelerator
1c0e4a80 2Summary(pl.UTF-8): Niewielki dopalacz ściągania plików
f9d0f2d1 3Name: axel
73fc820a 4Version: 2.3
f3dd2918 5Release: 2
f9d0f2d1 6License: GPL
7Group: Networking/Utilities
7e976405 8Source0: http://alioth.debian.org/frs/download.php/2717/%{name}-%{version}.tar.gz
73fc820a 9# Source0-md5: 6f49813ffc1dd10829d74b73712cb5ed
506df34f 10Patch0: %{name}-etc_dir.patch
73fc820a 11URL: http://axel.alioth.debian.org/
09952d0e 12BuildRequires: gettext-tools
f9d0f2d1 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16This program downloads a file from a FTP/HTTP through multiple
17connections, managed by one single thread, storing all the data to one
18file. This is because I think it's more efficient.
19
9885bf1f
JR
20%description -l pl.UTF-8
21Ten program ściąga pliki przez FTP/HTTP korzystając w wielu
22równoczesnych połączeń, zarządzanych przez pojedynczy wątek, zapisując
23wszystkie dane w jednym pliku. Dlatego powinien być bardzo efektywny.
a831b0a1 24
f9d0f2d1 25%prep
0c51a560 26%setup -q
506df34f 27%patch0 -p1
f9d0f2d1 28
29%build
f0113530 30# it doesn't use autoconf
31./configure \
32 --prefix=%{_prefix} \
33 --bindir=%{_bindir} \
34 --etcdir=%{_sysconfdir} \
35 --mandir=%{_mandir} \
36 --locale=%{_datadir}/locale \
37 --i18n=1
f9d0f2d1 38
a632aa61 39%{__make} \
f969dbd2 40 CC="%{__cc}" \
a632aa61 41 CFLAGS="%{rpmcflags}"
f9d0f2d1 42
43%install
f9d0f2d1 44rm -rf $RPM_BUILD_ROOT
f0113530 45install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir},%{_datadir}/locale}
c2edb557
PG
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
f3dd2918 49
50mv $RPM_BUILD_ROOT/usr/share/locale/zh_{cn,CN}
f0113530 51
52%find_lang %{name}
53
f9d0f2d1 54%clean
55rm -rf $RPM_BUILD_ROOT
56
f0113530 57%files -f %{name}.lang
f9d0f2d1 58%defattr(644,root,root,755)
28c54e01 59%doc CHANGES README
f969dbd2 60%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
f9d0f2d1 61%attr(755,root,root) %{_bindir}/*
8fdbdcc4 62%{_mandir}/man1/*
73fc820a 63%lang(zh_CN) %{_mandir}/zh_CN/man1/*
This page took 0.075562 seconds and 4 git commands to generate.