Группа :: Разработка/Прочее
Пакет: ccache
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: ccache
Version: 2.4
Release: alt3
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
Patch1: %name-2.4-alt-debian-compressed-cache.patch
Patch2: %name-2.4-debian-long-options.patch
Patch3: %name-2.4-debian-ignore-profile.patch
Patch4: %name-2.4-debian-md.patch
Patch5: %name-2.4-debian-manpage-hyphens.patch
Patch6: %name-2.4-debian-cachedir.tag.patch
Patch7: %name-2.4-debian-lru-cleanup.patch
Patch8: %name-2.4-debian-no-home.patch
Patch9: %name-2.4-debian-cachesize-permissions.patch
Patch10: %name-2.4-debian-respectflags.patch
Patch11: %name-2.4-debian-utimes.patch
Patch12: %name-2.4-debian-nfs-fix.patch
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Provides: %name-bte = %version
Obsoletes: %name-bte
BuildPreReq: 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
%patch0 -b .env
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p0
%patch9 -p0
%patch10 -p0
%patch11 -p0
%patch12 -p0
%autoreconf
chmod a+x manage-cache.sh
%build
%configure
%make_build
%install
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 manage-cache.sh
%_mandir/man1/ccache.1*
%_bindir/ccache
%_sysconfdir/buildreqs/packages/ignore.d/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.4
Release: alt3
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
Patch1: %name-2.4-alt-debian-compressed-cache.patch
Patch2: %name-2.4-debian-long-options.patch
Patch3: %name-2.4-debian-ignore-profile.patch
Patch4: %name-2.4-debian-md.patch
Patch5: %name-2.4-debian-manpage-hyphens.patch
Patch6: %name-2.4-debian-cachedir.tag.patch
Patch7: %name-2.4-debian-lru-cleanup.patch
Patch8: %name-2.4-debian-no-home.patch
Patch9: %name-2.4-debian-cachesize-permissions.patch
Patch10: %name-2.4-debian-respectflags.patch
Patch11: %name-2.4-debian-utimes.patch
Patch12: %name-2.4-debian-nfs-fix.patch
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Provides: %name-bte = %version
Obsoletes: %name-bte
BuildPreReq: 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
%patch0 -b .env
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p0
%patch9 -p0
%patch10 -p0
%patch11 -p0
%patch12 -p0
%autoreconf
chmod a+x manage-cache.sh
%build
%configure
%make_build
%install
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 manage-cache.sh
%_mandir/man1/ccache.1*
%_bindir/ccache
%_sysconfdir/buildreqs/packages/ignore.d/*
%changelog
…
Полный changelog можно просмотреть здесь