Summary(pl.UTF-8): Przyspieszacz kompilowania
Summary(pt_BR.UTF-8): Cache para compiladores C/C++
Name: ccache
-Version: 3.1.4
-Release: 1
+Version: 3.1.8
+Release: 2
License: GPL v3
Group: Development/Tools
Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2
-# Source0-md5: 676fda8a9a5e02574435c32b22942abd
+# Source0-md5: 0e0f25fb342dcb1196d9c2986a7323cf
Patch0: %{name}-nohash_size_mtime.patch
URL: http://ccache.samba.org/
BuildRequires: automake
+BuildRequires: zlib-devel >= 1.2.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _libdir %{_prefix}/%{_lib}/%{name}
%setup -q
%patch0 -p1
+# Make sure system zlib is used
+%{__rm} -r zlib
+
%build
cp -f /usr/share/automake/config.* .
+CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
%configure
%{__make}
%defattr(644,root,root,755)
%doc AUTHORS.txt MANUAL.txt NEWS.txt README.txt
%attr(755,root,root) %{_bindir}/ccache
-%{_mandir}/man1/ccache*
-%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
+%{_mandir}/man1/ccache.1.*
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/CCACHE_*
%files wrapper
%defattr(644,root,root,755)