2 Summary: compiler cache
3 Summary(pl): przyspieszacz kompilowania
4 Url: http://ccache.samba.org/
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)
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.
20 %setup -q -n ccache-1.8
28 rm -rf $RPM_BUILD_ROOT
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
37 rm -fr $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_bindir}/ccache
42 %{_mandir}/man1/ccache*