diffutils/diffutils.spec

69 lines
1.7 KiB
RPMSpec

#
# spec file for package diffutils (Version 3.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: diffutils
Url: http://www.gnu.org/software/diffutils/
License: GFDLv1.2 ; GPLv3+
Group: Productivity/Text/Utilities
Provides: diff
Obsoletes: diff
PreReq: %{install_info_prereq}
Version: 3.0
Release: 1
Summary: GNU diff Utilities
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The GNU diff utilities find differences between files. diff is used to
make source code patches, for instance.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%makeinstall
%find_lang %name
%post
%install_info --info-dir=%{_infodir} %{_infodir}/diff.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/diff.info.gz
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README THANKS
%{_bindir}/cmp
%{_bindir}/diff
%{_bindir}/diff3
%{_bindir}/sdiff
%doc %{_infodir}/diff.info*.gz
%doc %{_mandir}/man1/*.gz
%changelog