Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37558948
en ru br
ALT Linux repos
S:4.6-alt3
5.0: 2.4-alt3
4.1: 2.4-alt2
4.0: 2.4-alt2
3.0: 2.4-alt1

Other repositories

Group :: Development/Other
RPM: ccache

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: ccache
Version: 2.4
Release: alt2

Summary: Compiler cache
License: GPL
Group: Development/Other
Url: http://ccache.samba.org/

Source: http://ccache.samba.org/ftp/ccache/ccache-%version.tar.bz2
Patch0: %name-%version-env-alt.patch

Packager: Vitaly Lipatov <lav at altlinux.ru>

Provides: %name-bte = %version
Obsoletes: %name-bte

%description
ccache is a compiler cache. It acts as a caching pre-processor to
C/C++ compilers, using the -E compiler switch and a hash to detect
when a compilation can be satisfied from cache. This often results in
a 5 to 10 times speedup in common compilations.

%prep
%setup -q
%patch0 -b .env

%build
%configure
make

install -s -D -m 0755 ccache %buildroot%_bindir/%name
install -d -m 0755 %buildroot%_mandir/man1
install -m 0644 ccache.1 %buildroot%_mandir/man1

mkdir -p %buildroot%_sysconfdir/buildreqs/packages/ignore.d
cat > %buildroot%_sysconfdir/buildreqs/packages/ignore.d/%name << EOF
%name
EOF

%files
%doc README
%_mandir/man1/ccache.1*
%_bindir/ccache
%_sysconfdir/buildreqs/packages/ignore.d/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin