blob: 310feaf0f03e9e74932dac23e42df78864baff2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
Name: diffutils
Version: 3.2
Release: 0
License: GFDL-1.2 ; GPL-3.0+
Summary: GNU diff Utilities
Url: http://www.gnu.org/software/diffutils/
Group: Productivity/Text/Utilities
Source: %{name}-%{version}.tar.xz
Source1001: diffutils.manifest
BuildRequires: xz
Provides: diff
Obsoletes: diff
%description
The GNU diff utilities find differences between files. diff is used to
make source code patches, for instance.
%prep
%setup -q
cp %{SOURCE1001} .
%build
%configure --disable-nls
make %{?_smp_mflags}
%install
%make_install
gzip -9 %{buildroot}%{_infodir}/%{name}.info
%files
%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root)
%{_bindir}/cmp
%{_bindir}/diff
%{_bindir}/diff3
%{_bindir}/sdiff
%doc %{_infodir}/%{name}.info.gz
%doc %{_mandir}/man1/*.gz
|