5e7a038201
Copy from Base:System/grep based on submit request 43849 from user jsmeix OBS-URL: https://build.opensuse.org/request/show/43849 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=18
83 lines
2.2 KiB
RPMSpec
83 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package grep (Version 2.6.3)
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
|
|
Name: grep
|
|
BuildRequires: pcre-devel
|
|
Url: http://www.gnu.org/software/grep/
|
|
License: GPLv3
|
|
Group: Productivity/Text/Utilities
|
|
Provides: base:/usr/bin/grep
|
|
AutoReqProv: on
|
|
PreReq: %{install_info_prereq}
|
|
Version: 2.6.3
|
|
Release: 1
|
|
Summary: Print lines matching a pattern
|
|
Source: grep-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
GNU grep, the "fastest grep in the west" (hopefully).
|
|
|
|
`grep' searches for lines matching a pattern.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Alain Magloire <alainm@rcsm.ece.mcgill.ca>
|
|
Aharon Robbins <arnold@gnu.org>
|
|
David J MacKenzie <djm@catapult.va.pubnix.com>
|
|
Karl Berry <karl@cs.umb.edu>
|
|
Ulrich Drepper <drepper@cygnus.com>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
AUTOPOINT=true autoreconf --force --install
|
|
%configure --bindir=/bin --without-included-regex
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
make check VERBOSE=1
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
install -d $RPM_BUILD_ROOT/usr/bin
|
|
ln -sf ../../bin/egrep $RPM_BUILD_ROOT/usr/bin/egrep
|
|
ln -sf ../../bin/fgrep $RPM_BUILD_ROOT/usr/bin/fgrep
|
|
ln -sf ../../bin/grep $RPM_BUILD_ROOT/usr/bin/grep
|
|
%find_lang %name
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/grep.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info.gz
|
|
|
|
%files -f %name.lang
|
|
%defattr(-,root,root)
|
|
%doc README AUTHORS NEWS THANKS TODO
|
|
/bin/*
|
|
/usr/bin/*
|
|
%doc %{_mandir}/man1/*.gz
|
|
%doc %{_infodir}/*.gz
|
|
|
|
%changelog
|