Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
115 lines (86 sloc) 2.84 KB
Name: tre
Release: 1
License: LGPL
Group: System Environment/Libraries
Summary: POSIX compatible regexp library with approximate matching.
Packager: Ville Laurikari <>
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
TRE is a lightweight, robust, and efficient POSIX compatible regexp
matching library with some exciting features such as approximate
%package devel
Requires: tre = @PACKAGE_VERSION@
Summary: Development files for use with the tre package.
Group: Development/Libraries
%description devel
This package contains header files and static libraries for use when
building applications which use the TRE library.
%package agrep
Requires: tre >= @PACKAGE_VERSION@
Summary: Approximate grep utility.
Group: Applications/Text
%description agrep
The agrep tool is similar to the commonly used grep utility, but agrep
can be used to search for approximate matches.
The agrep tool searches text input for lines (or records separated by
strings matching arbitrary regexps) that contain an approximate, or
fuzzy, match to a specified regexp, and prints the matching lines.
Limits can be set on how many errors of each kind are allowed, or
only the best matching lines can be output.
Unlike other agrep implementations, TRE agrep allows full POSIX
regexps of any length, any number of errors, and non-uniform costs.
%setup -q
./configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-static
%defattr (-, root, root)
%doc doc/*.css
%doc doc/*.html
%files devel
%defattr (-, root, root)
%files agrep
%defattr (-, root, root)
* Sat Jul 22 2006 Ville Laurikari <>
- fixed %doc macro and moved to correct place
* Fri May 12 2006 Ville Laurikari <>
- fixed to work with recent rpmbuild versions (unpackaged files)
- handling for multilib environments
* Sun Nov 21 2004 Ville Laurikari <>
- added agrep man page
* Sun Mar 21 2004 Ville Laurikari <>
- added %doc doc
* Wed Feb 25 2004 Ville Laurikari <>
- removed the .la file from devel package
* Mon Dec 22 2003 Ville Laurikari <>
- added %post/%postun ldconfig scriplets.
* Fri Oct 03 2003 Ville Laurikari <>
- included in the TRE source tree as `'.
* Tue Sep 30 2003 Matthew Berg <>
- tagged release 1
- initial build