108 lines
3.1 KiB
RPMSpec
108 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package diffstat (Version 1.45)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: diffstat
|
|
Version: 1.45
|
|
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
|
|
* 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
|