Sisyphus repositório
Última atualização: 3 julho 2020 | SRPMs: 17679 | Visitas: 18831867
en ru br
ALT Linux repositórios
S:3.7.8-alt1
5.0: 2.4-alt3
4.1: 2.4-alt2
4.0: 2.4-alt2
3.0: 2.4-alt1

Outros repositórios

Group :: Development/Tools
RPM: ccache

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_with doc
%define _unpackaged_files_terminate_build 1

Name: ccache
Version: 3.7.8
Release: alt1

Summary: Compiler cache
License: GPLv3+
Group: Development/Tools

Url: http://ccache.dev/
# Source-git: https://github.com/ccache/ccache.git
Source: %name-%version.tar
#Patch1: ccache-fedora-rounding.patch
Patch2: ccache-alt-version.patch

Provides: ccache3 = %version-%release
Obsoletes: ccache3

%if_with doc
BuildRequires: asciidoc-a2x
%endif

BuildRequires: gperf
BuildRequires: zlib-devel

%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
#patch1 -p1
%patch2 -p1
rm -rfv zlib/
sed -i "s: at VERSION at :%version:g" dev.mk.in

%build
%autoreconf
%configure %{!?_with_doc:--disable-man}
%make_build

%if_with doc
%make_build docs
%endif

%install
%makeinstall

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

%files
%doc LICENSE.adoc README.md GPL-3.0.txt
%if_with doc
%doc doc
%_man1dir/ccache.1*
%endif
%_bindir/ccache
%_sysconfdir/buildreqs/packages/ignore.d/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009