Browse Source

* ccache
- rebuild/new upstream release


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8147 ec354946-7b23-47d6-9f5a-488ba84defc7

shaolin 10 years ago
parent
commit
298b5087d5
1 changed files with 18 additions and 4 deletions
  1. 18 4
      c/ccache/ccache-vl.spec

+ 18 - 4
c/ccache/ccache-vl.spec

@@ -1,15 +1,21 @@
 Name: ccache
-Version: 3.1.5
+Version: 3.1.9
 Release: 1%{?_dist_release}
 Vendor: Project Vine
 Distribution: Vine Linux
 License: GPL
 Group: Development/Tools
 URL: http://ccache.samba.org/
-Source0: http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.bz2
+Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Summary: a fast compiler cache
 
+# From upstream post 3.1.9
+Patch0: ccache-3.1.9-gcc48-tests.patch
+
+BuildRequires: perl(File::Spec)
+BuildRequires: zlib-devel >= 1.2.3
+
 %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
@@ -18,6 +24,7 @@ common compilations.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -27,23 +34,30 @@ common compilations.
 %__rm -rf %{buildroot}
 %makeinstall
 
+%check
+%__make check
+
 %clean
 %__rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
-%doc
+%doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.*
 %{_bindir}/*
 %{_mandir}/man?/*
 
 %changelog
+* Fri Jan 10 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.1.9-1
+- new upstream release
+- import Patch0 from Fedora
+
 * Thu Jun  9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.1.5-1
 - new upstream release
 
 * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com>
 - applied new versioning policy
 
-* Tue Feb 15 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4-0vl1
+* Tue Feb 17 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4-0vl1
 - Import from Vine 2.6 (But, original spec file has no changelog)
 - New upstream version