]>
Commit | Line | Data |
---|---|---|
8b92ebec | 1 | Name: ccache |
2 | Summary: compiler cache | |
3 | Summary(pl): przyspieszacz kompilowania | |
4 | Url: http://ccache.samba.org/ | |
5 | Version: 1.8 | |
6 | Release: 1 | |
7 | License: GPL | |
8 | Group: Development/Tools | |
9 | Source0: http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | %description | |
12 | ccache is a compiler cache. It acts as a caching pre-processor to | |
13 | C/C++ compilers, using the -E compiler switch and a hash to detect | |
14 | when a compilation can be satisfied from cache. This often results in | |
15 | a 5 to 10 times speedup in common compilations. | |
16 | ||
17 | %description -l pl | |
18 | ||
19 | %prep | |
20 | %setup -q -n ccache-1.8 | |
21 | ||
22 | %build | |
23 | %configure | |
24 | ||
25 | %{__make} | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | ||
30 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
31 | install ccache $RPM_BUILD_ROOT%{_bindir} | |
32 | install ccache.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
33 | ||
34 | gzip -9nf README | |
35 | ||
36 | %clean | |
37 | rm -fr $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %attr(755,root,root) %{_bindir}/ccache | |
42 | %{_mandir}/man1/ccache* | |
43 | %doc *.gz |