Sophie

Sophie

distrib > Arklinux > devel > i586 > by-pkgid > 94f218d2b9620c0a87a170d9eb3670f5 > files > 5

diffutils-3.0-1ark.src.rpm

Summary: A GNU collection of diff utilities.
Name: diffutils
Version: 3.0
Release: 1ark
Group: Applications/Text
URL: http://www.gnu.org/software/diffutils/diffutils.html
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.gz
Source1: cmp.1
Source2: diff.1
Source3: diff3.1
Source4: sdiff.1
License: GPL
Prereq: /sbin/install-info
Buildroot: %{_tmppath}/%{name}-%{version}-root

%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 sets of
changes and warnings about conflicts.  The sdiff command can be used
to merge two files interactively.

Install diffutils if you need to compare text files.

%prep
%setup -q

%build
autoconf
%configure
make PR_PROGRAM=%{_bindir}/pr

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR="$RPM_BUILD_ROOT"
%find_lang %name

%post
/sbin/install-info %{_infodir}/diff.info.bz2 %{_infodir}/dir --entry="* diff: (diff).                 The GNU diff."
exit 0

%preun
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/diff.info.bz2 %{_infodir}/dir --entry="* diff: (diff).                 The GNU diff."
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc NEWS README
%{_bindir}/*
%{_mandir}/*/*
%{_infodir}/diff.info*

%changelog
* Sun May 11 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 2.8.7-1ark
- 2.8.7

* Wed Jan  1 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 2.8.4-1ark
- 2.8.4

* Tue Aug 27 2002 Ark Linux Team <arklinux@arklinux.org> 2.7.2-6ark
- automated rebuild