ccache/ccache.spec

84 lines
2.2 KiB
RPMSpec

#
# spec file for package ccache (Version 2.4)
#
# Copyright (c) 2009 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: 2.4
Release: 138
Group: Development/Languages/C and C++
License: GPL v2 or later
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
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir}
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc COPYING README web/*.html
%doc %{_mandir}/man1/ccache.1*
%{_bindir}/ccache
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Thu Oct 21 2004 ltinkl@suse.cz
- update to version 2.4
* Mon Sep 29 2003 ltinkl@suse.cz
- update to version 2.3
* Wed Jul 09 2003 ltinkl@suse.cz
- updated sources to version 2.2
* Fri Mar 28 2003 vbobek@suse.cz
- provides binary from older distcc package [#25806]
* Mon Feb 10 2003 vbobek@suse.cz
- initial suse release 2.1.1