]> git.pld-linux.org Git - packages/axel.git/blob - axel.spec
- pass %%{rpmcflags} in CFLAGS.
[packages/axel.git] / axel.spec
1 Summary:        An light Linux download accelerator     
2 Name:           axel
3 Version:        0.94
4 Release:        1
5 License:        GPL
6 Group:          Networking/Utilities
7 Group(de):      Netzwerkwesen/Werkzeuge
8 Group(pl):      Sieciowe/Narzêdzia
9 Source0:        http://www.lintux.cx/downloads/%{name}-%{version}.tar.gz
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 This program downloads a file from a FTP/HTTP through multiple
14 connections, managed by one single thread, storing all the data to one
15 file. This is because I think it's more efficient.
16
17 %prep
18 %setup  -q 
19
20 %build
21 %{__make} CFLAGS="%{rpmcflags}"
22
23 gzip -9nf TODO CHANGES README
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 %{__install} -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
28
29 %{__install} axel $RPM_BUILD_ROOT%{_bindir}
30 %{__install} axel.1 $RPM_BUILD_ROOT%{_mandir}/man1
31 %{__install} axelrc.example $RPM_BUILD_ROOT%{_sysconfdir}/axelrc
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc *.gz
39 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
40 %attr(755,root,root) %{_bindir}/*
41 %{_mandir}/man1/*
This page took 0.055699 seconds and 3 git commands to generate.