1 Summary: Compiler cache
2 Summary(pl): Przyspieszacz kompilowania
7 Group: Development/Tools
8 Source0: http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz
9 URL: http://ccache.samba.org/
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 ccache is a compiler cache. It acts as a caching pre-processor to
14 C/C++ compilers, using the -E compiler switch and a hash to detect
15 when a compilation can be satisfied from cache. This often results in
16 a 5 to 10 times speedup in common compilations.
19 ccache dzia³a jako cachuj±cy preprocesor dla kompilatorów C/C++. Przy
20 u¿yciu opcji kompilatora -E oraz tablicy haszuj±cej do wykrywania, czy
21 do kompilacji wystarczy zawarto¶æ cache. Daje to zazwyczaj
22 przyspieszenie kompilacji 5 do 10 razy.
25 %setup -q -n ccache-1.8
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36 install ccache $RPM_BUILD_ROOT%{_bindir}
37 install ccache.1 $RPM_BUILD_ROOT%{_mandir}/man1
42 rm -fr $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/ccache
47 %{_mandir}/man1/ccache*