2007-01-15 23:10:08 +00:00
|
|
|
#
|
2011-09-20 15:57:04 +00:00
|
|
|
# spec file for package diffstat
|
2007-01-15 23:10:08 +00:00
|
|
|
#
|
2015-04-19 12:28:21 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:10:08 +00:00
|
|
|
#
|
2008-09-12 22:25:20 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:10:08 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-01-04 09:09:12 +00:00
|
|
|
|
2007-01-15 23:10:08 +00:00
|
|
|
Name: diffstat
|
2015-08-05 17:02:40 +00:00
|
|
|
Version: 1.60
|
2011-12-22 15:16:28 +00:00
|
|
|
Release: 0
|
2007-01-15 23:10:08 +00:00
|
|
|
Summary: Utility That Provides Statistics Based on the Output of diff
|
2011-12-22 15:16:28 +00:00
|
|
|
License: MIT
|
|
|
|
Group: Productivity/Text/Utilities
|
2015-04-19 12:28:21 +00:00
|
|
|
Url: http://dickey.his.com/diffstat/diffstat.html
|
|
|
|
Source0: ftp://invisible-island.net/diffstat/diffstat-%{version}.tgz
|
|
|
|
Source1: ftp://invisible-island.net/diffstat/diffstat-%{version}.tgz.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Patch0: %{name}.diff
|
2007-01-15 23:10:08 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
diffstat reads the output of the diff command and displays a histogram
|
|
|
|
of the insertions, deletions, and modifications in each file.
|
|
|
|
|
2015-04-19 12:28:21 +00:00
|
|
|
%prep
|
2007-01-15 23:10:08 +00:00
|
|
|
%setup -q
|
2015-04-19 12:28:21 +00:00
|
|
|
%patch0
|
2007-01-15 23:10:08 +00:00
|
|
|
|
|
|
|
%build
|
2015-04-19 12:28:21 +00:00
|
|
|
export CFLAGS="%{optflags} -Wall"
|
2011-09-20 15:57:04 +00:00
|
|
|
%configure
|
2010-01-14 15:26:02 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:10:08 +00:00
|
|
|
|
|
|
|
%install
|
2015-04-19 12:28:21 +00:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2007-01-15 23:10:08 +00:00
|
|
|
|
2012-01-04 09:09:12 +00:00
|
|
|
%check
|
2015-04-19 12:28:21 +00:00
|
|
|
make %{?_smp_mflags} check
|
2012-01-04 09:09:12 +00:00
|
|
|
|
2007-01-15 23:10:08 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-10-30 08:10:56 +00:00
|
|
|
%doc README CHANGES COPYING
|
2013-04-16 05:40:38 +00:00
|
|
|
%{_bindir}/diffstat
|
|
|
|
%doc %{_mandir}/man1/diffstat.1*
|
2007-01-15 23:10:08 +00:00
|
|
|
|
2007-12-12 17:06:53 +00:00
|
|
|
%changelog
|