"Fossies" - the Fresh Open Source Software Archive

Member "scalpel-2.0/tre-0.7.5-win32/tre.spec.in" (20 Apr 2011, 2905 Bytes) of archive /linux/misc/scalpel-2.0.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Name: tre Version: @PACKAGE_VERSION@ Release: 1 License: LGPL Group: System Environment/Libraries Source0: http://laurikari.net/tre/tre-@PACKAGE_VERSION@.tar.bz2 Summary: POSIX compatible regexp library with approximate matching. Packager: Ville Laurikari tre-general@lists.laurikari.net URL: http://laurikari.net/tre/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}

Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig

%description TRE is a lightweight, robust, and efficient POSIX compatible regexp matching library with some exciting features such as approximate matching.

%post /sbin/ldconfig

%postun /sbin/ldconfig

%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.

%prep %setup -q

%build ./configure –prefix=/usr –libdir=%{libdir} –mandir=%{mandir} –enable-static make



%clean rm -rf $RPM_BUILD_ROOT

%files %defattr (-, root, root) %{datadir}/* %{libdir}/libtre.so. %doc doc/.css %doc doc/*.html

%files devel %defattr (-, root, root) %{includedir}/* %{libdir}/libtre.a %{libdir}/libtre.la %{libdir}/libtre.so %{_libdir}/pkgconfig/*

%files agrep %defattr (-, root, root) %{bindir}/agrep %{mandir}/man1/agrep.1.gz

%changelog * Sat Jul 22 2006 Ville Laurikari vl@iki.fi - fixed %doc macro and moved to correct place