Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37553859
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: alt3

Summary: A GNU collection of diff utilities
License: GPL
Group: File tools
Url: http://www.gnu.org/software/diffutils/
Packager: Dmitry V. Levin <ldv at altlinux.org>

# ftp://alpha.gnu.org/gnu/diffutils/diffutils-%version.tar.gz

Source: diffutils-%version.tar
Source1: diffutils-ru.po

Patch1: diffutils-2.8.7-alt-texinfo.patch
Patch2: diffutils-2.8.7-rh-warnings.patch
Patch3: diffutils-2.8.7-alt-tmp.patch
Patch4: diffutils-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:
+ The diff command compares two files and shows the differences,
 line by line.
+ The cmp command compares two files, and if they differ, tells the
 first byte and line number where they differ or reports that one file
 is a prefix of the other.
+ The diff3 command compares three files and outputs descriptions of
 their differences.
+ The sdiff command merges two files and interactively outputs the
 results.

%prep
%setup -q
install -pm644 %_sourcedir/diffutils-ru.po po/ru.po
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
bzip2 -9k ChangeLog

%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

%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