Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37570813
en ru br
ALT Linux repos
S:3.10.0.207.774b-alt1
5.0: 2.8.7-alt3
4.1: 2.8.7-alt3
4.0: 2.8.7-alt3
3.0: 2.8.7-alt2

Other repositories
Upstream:2.8.1

Group :: File tools
RPM: diffutils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: diffutils
Version: 2.8.7
Release: alt2

Summary: A GNU collection of diff utilities
License: GPL
Group: File tools
Url: http://www.gnu.org/software/%name/

Source: ftp://alpha.gnu.org/pub/gnu/%name/%name-%version.tar.bz2
Source1: %name-ru.po

Patch1: %name-2.8.7-alt-texinfo.patch
Patch2: %name-2.8.7-rh-warnings.patch
Patch3: %name-2.8.7-alt-tmp.patch
Patch4: %name-2.8.7-alt-backup_suffix.patch

Requires(post): %install_info
Requires(preun): %uninstall_info
Conflicts: man-pages <= 1.52-alt1

# Automatically added by buildreq on Wed Jul 14 2004

BuildRequires: help2man

%description
Diffutils includes four utilities: diff, cmp, diff3 and sdiff.
+ Diff compares two files and shows the differences, line by line.
+ The cmp command shows the offset and line numbers where two files differ,
 or cmp can show the characters that differ between the two files.
+ The diff3 command shows the differences between three files. Diff3 can be
 used when two people have made independent changes to a common original;
 diff3 can produce a merged file that contains both persons' changes and
 warnings about conflicts.
+ The sdiff command can be used to merge two files interactively.

%prep
%setup -q
%__install -pm644 %SOURCE1 po/ru.po
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%build
# Disable nanoseconds in diff output.
export ac_cv_struct_st_mtim_nsec=no ac_cv_search_clock_gettime='none required'
# Predefine location of the pr utility.
export PR_PROGRAM=%_bindir/pr
%configure
%make_build
make -C po update-po
bzip2 -9kf ChangeLog

%install
%makeinstall
%find_lang %name

%post
%install_info diff.info

%preun
%uninstall_info diff.info

%files -f %name.lang
%_bindir/*
%_infodir/*.info*
%_mandir/man?/*
%doc AUTHORS ChangeLog.bz2 NEWS README THANKS TODO

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin