]> git.pld-linux.org Git - packages/ccache.git/blob - ccache.spec
- regenerate ac and config.* files.
[packages/ccache.git] / ccache.spec
1 Summary:        Compiler cache
2 Summary(pl):    Przyspieszacz kompilowania 
3 Name:           ccache
4 Version:        1.8
5 Release:        1
6 License:        GPL
7 Group:          Development/Tools
8 Source0:        http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz
9 URL:            http://ccache.samba.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 ccache is a compiler cache. It acts as a caching pre-processor to
16 C/C++ compilers, using the -E compiler switch and a hash to detect
17 when a compilation can be satisfied from cache. This often results in
18 a 5 to 10 times speedup in common compilations.
19
20 %description -l pl 
21 ccache dzia³a jako cachuj±cy preprocesor dla kompilatorów C/C++. Przy
22 u¿yciu opcji kompilatora -E oraz tablicy haszuj±cej do wykrywania, czy
23 do kompilacji wystarczy zawarto¶æ cache. Daje to zazwyczaj
24 przyspieszenie kompilacji 5 do 10 razy.
25
26 %prep
27 %setup -q -n ccache-1.8
28
29 %build
30 aclocal
31 autoconf
32 cp -f /usr/share/automake/config.* .
33 %configure
34
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d  $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
40
41 install ccache $RPM_BUILD_ROOT%{_bindir}
42 install ccache.1 $RPM_BUILD_ROOT%{_mandir}/man1
43
44 gzip -9nf README
45
46 %clean
47 rm -fr $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.gz
52 %attr(755,root,root) %{_bindir}/ccache
53 %{_mandir}/man1/ccache*
This page took 0.078457 seconds and 4 git commands to generate.