File cgrep.spec of Package cgrep

Summary:	cgrep
Name:		cgrep
Version:	8.15
Release:	0
License:	GPL
Group:		Productivity/Text/Utilities
Source:		%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/making_of_%{name}_%{version}
Packager:	Alcatel-Lucent Central Exptools Administrator <exptools@alcatel-lucent.com>
URL:		http://www.bell-labs.com/project/wwexptools/cgrep/

#----------------------------------------------------------
%description
cgrep provides all the features of grep, egrep, and fgrep, with greatly
enhanced performance (see the section on PERFORMANCE in the man page) along
with many additional features, two of which are the ability to output
the context (surrounding lines) of the matching lines and approximate
matching.


%prep
%setup -q

%build
CFLAGS=-O2 ./configure \
  --prefix=%{_prefix} \
  --mandir=%{_mandir} \
  --datadir=%{_datadir} \
  --libdir=%{_libdir} \
  --sysconfdir=%{_sysconfdir} \
  --enable-docdir=%{_defaultdocdir}
make 

%install
make DESTDIR=${RPM_BUILD_ROOT} install

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_docdir}/*
%{_bindir}/*
%{_mandir}/man?/*

%changelog
* Wed Oct 10 2007 Richard Bos <ml@radoeka.nl> - 8.15
- Changed license from GPL to Lucent Public License.  Due to the
  license change the license notification on top of source files
  has been removed
* Wed Oct 10 2007 Richard Bos <ml@radoeka.nl> - 8.13
- Initial suse rpm version

openSUSE Build Service is sponsored by