SHA256
1
0
forked from pool/diffstat
diffstat/diffstat.spec

124 lines
3.8 KiB
RPMSpec

#
# spec file for package diffstat (Version 1.47)
#
# 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: diffstat
Version: 1.47
Release: 1
AutoReqProv: on
Group: Productivity/Text/Utilities
License: X11/MIT
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
%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
* Mon Mar 30 2009 pgajdos@suse.cz
- updated to 1.47 version:
* Modified to work with patch ".rej" files.
* Thu Sep 11 2008 pgajdos@suse.cz
- update to 1.46 version:
* add "-S", "-D" and "-m" options to provide a way to show the amount
of difference relative to the total sizes of the files.
* add "-q" option (patch by Greg Norris).
* Tue Dec 11 2007 pgajdos@suse.cz
- update to 1.45
* add "-b" option (Debian #379380, patch by
Greg Norris).
* add a check for default-diff output, e.g., "diff foo
bar|diffstat", which has no "diff" command in the
output for diffstat to guess that a diff is beginning.
* add a check after completing a chunk for unified diff
to ensure that the next line either begins another chunk
for the diff, or starts another diff, e.g., a context
diff (report by Adrian Bunk).
* add configure options for leak-checking valgrind, etc.
* use install-sh rather than install.sh
* updated config.guess and config.sub
* updated configure macros CF_GCC_ATTRIBUTES CF_GCC_WARNINGS
CF_MSG_LOG CF_PATH_SYNTAX CF_VERBOSE CF_XOPEN_SOURCE
* Thu Jul 27 2006 mjancar@suse.cz
- update to 1.43
* fix to avoid modifying data which is being used by tsearch() for
ordering the binary tree (report by Adrian Bunk).
* do not ignore pathnames in /tmp/, since some tools create usable
pathnames for both old/new files there (Debian #376086).
* correct ifdef for fgetc_unlocked().
* updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and
CF_XOPEN_SOURCE
* add configure check for compress, gzip and bzip2 programs that may be
used to decompress files.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 mjancar@suse.cz
- update to 1.41
* Mon Aug 01 2005 mjancar@suse.cz
- update to 1.39
* Thu Feb 24 2005 mjancar@suse.cz
- update to 1.38
* Fri Feb 27 2004 mjancar@suse.cz
- update to 1.34
* Thu Jul 24 2003 mjancar@suse.cz
- update to 1.33
* Fri Nov 23 2001 cihlar@suse.cz
- update to version 1.29
* add bzip2 (.bz2) suffix
* add check for diff from RCS archive where the
"diff" lines do not reference a filename
- added Url:
* Thu Oct 19 2000 cihlar@suse.cz
- package created