]> git.pld-linux.org Git - packages/mget.git/blob - mget.spec
f5931f8a2f8381042a8fa1c306bcd5305060a1cd
[packages/mget.git] / mget.spec
1 Summary:        A multithreated command-line download utility
2 Summary(pl.UTF-8):   Wielowątkowy klient HTTP/FTP
3 Name:           mget
4 Version:        1.4.1
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 #Source0Download: http://www.cse.iitk.ac.in/users/dbera/mget.php
9 Source0:        http://www.cse.iitk.ac.in/users/dbera/%{name}-%{version}.tar.gz
10 # Source0-md5:  224a5e149098274313009fb660b566dd
11 Patch0:         %{name}-gcc33.patch
12 URL:            http://www.cse.iitk.ac.in/users/dbera/mget.php
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This is a command line download manager. It splits the file into a
17 number of segments and uses several separate threads to download each
18 segment. It can handle proxies.
19
20 %description -l pl.UTF-8
21 Wielowątkowe narzędzie do ściągania plików. Potrafi podzielić plik na
22 segmenty i ściągać je kilka na raz w tym samym czasie. Dzięki temu
23 czas ciągnięcia pliku skraca się w niektórych przypadkach
24 kilkakrotnie. Obsługuje proxy.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 ./genmake
32 %{__make} \
33         CC="%{__cc}" \
34         DEBUG="%{rpmcflags}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39
40 install mget $RPM_BUILD_ROOT%{_bindir}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README
48 %attr(755,root,root) %{_bindir}/*
This page took 0.076786 seconds and 2 git commands to generate.