Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller
libtre
libtre.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtre.spec of Package libtre
# # spec file for package libtre (Version 0.7.5) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libtre Version: 0.7.5 Release: 1 License: LGPL Group: System Environment/Libraries Source0: http://laurikari.net/tre/tre-%{version}.tar.bz2 Summary: POSIX compatible regexp library with approximate matching. Url: http://laurikari.net/tre/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description TRE is a lightweight, robust, and efficient POSIX compatible regexp matching library with some exciting features such as approximate matching. %post %{run_ldconfig} %postun %{run_ldconfig} %package devel Requires: %{name} = %{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 -n agrep Summary: Approximate grep utility. Group: Applications/Text %description -n 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 -n tre-%{version} %build export CXXFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS" %configure --disable-static --enable-shared make %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -rf $RPM_BUILD_ROOT/usr/share/locale/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-, root, root) %{_libdir}/libtre.so.* %files devel %defattr (-, root, root) %doc doc/default.css doc/tre-api.html doc/tre-syntax.html %{_includedir}/* %{_libdir}/libtre.so %{_libdir}/pkgconfig/* %files -n agrep %defattr (-, root, root) %{_bindir}/agrep %{_mandir}/man1/agrep.1.gz %changelog * Sun Feb 25 2007 - dmueller@suse.de - Initial package (0.7.5)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor