b751f1ccd1
Copy from devel:tools/diffstat based on submit request 50295 from user pgajdos OBS-URL: https://build.opensuse.org/request/show/50295 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffstat?expand=0&rev=13
69 lines
1.7 KiB
RPMSpec
69 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package diffstat (Version 1.54)
|
|
#
|
|
# 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: diffstat
|
|
Version: 1.54
|
|
Release: 1
|
|
AutoReqProv: on
|
|
Group: Productivity/Text/Utilities
|
|
License: MIT License (or similar)
|
|
Url: http://dickey.his.com/diffstat/diffstat.html
|
|
Summary: Utility That Provides Statistics Based on the Output of diff
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch: %{name}-%{version}.diff
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Thomas E. Dickey <dickey@clark.net>
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch
|
|
|
|
%build
|
|
%{suse_update_config -f}
|
|
CFLAGS="$RPM_OPT_FLAGS -Wall" \
|
|
./configure \
|
|
--prefix=%{_prefix} \
|
|
--bindir=%{_bindir} \
|
|
--mandir=%{_mandir}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README CHANGES
|
|
%doc %{_mandir}/man?/*
|
|
%{_bindir}/*
|
|
|
|
%changelog
|