Group :: Desenvolvimento/Outros
RPM: ccache
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui