37f35762aa
Copy from devel:tools:building/ccache based on submit request 43323 from user puzel OBS-URL: https://build.opensuse.org/request/show/43323 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccache?expand=0&rev=8
65 lines
1.6 KiB
RPMSpec
65 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package ccache (Version 3.0.1)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: ccache
|
|
Summary: Compiler Cache
|
|
Version: 3.0.1
|
|
Release: 1
|
|
Group: Development/Languages/C and C++
|
|
License: GPLv3+
|
|
AutoReqProv: on
|
|
Url: http://ccache.samba.org/
|
|
Source: ccache-%{version}.tar.bz2
|
|
Provides: distcc:/usr/bin/ccache
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Ccache is a compiler cache. It acts as a caching preprocessor 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
|
|
increased speed for common compilations.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Andrew Tridgell
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING README.txt NEWS.txt INSTALL.txt
|
|
%doc %{_mandir}/man1/ccache.1*
|
|
%{_bindir}/ccache
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%changelog
|