ALT Linux repositórios
Group :: Desenvolvimento/C
RPM: tre
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: tre
Version: 0.7.5
Release: alt1
Summary: TRE is "approximate regexp" library
License: LGPL
Group: Development/C
Url: http://laurikari.net/ville/tre
Source: %url/%name-%version.tar.bz2
%define agrep agrep-%name
# Automatically added by buildreq on Mon May 10 2004
BuildRequires: hostinfo libdb4-devel
%description
(void package)
%package -n %agrep
Summary: agrep version using TRE library
License: GPL
Group: Text tools
Conflicts: agrep = 2.04-alt1
%description -n %agrep
agrep is a grep-like utility which can do approximate searches.
%package -n lib%name
Summary: TRE is a regexp matching library with approximate matching capability
License: GPL
Group: System/Libraries
%description -n lib%name
TRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate matching.
%package -n lib%name-devel
Summary: Development environment for lib%name
License: GPL
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
TRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate matching.
This is the development environment to compile TRE software.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static libraries for lib%name
License: GPL
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
TRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate matching.
This package contains static library to build statically linked TRE software.
%endif
%prep
%setup -q
%build
%if_enabled static
conf_flags="--enable-static"
%endif
unset CC CXX
%configure "$conf_flags"
%make_build
%install
%makeinstall
%find_lang %name
%post -n lib%name -p /sbin/ldconfig
%postun -n lib%name -p /sbin/ldconfig
%files -n %agrep -f %name.lang
%_bindir/*
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.7.5
Release: alt1
Summary: TRE is "approximate regexp" library
License: LGPL
Group: Development/C
Url: http://laurikari.net/ville/tre
Source: %url/%name-%version.tar.bz2
%define agrep agrep-%name
# Automatically added by buildreq on Mon May 10 2004
BuildRequires: hostinfo libdb4-devel
%description
(void package)
%package -n %agrep
Summary: agrep version using TRE library
License: GPL
Group: Text tools
Conflicts: agrep = 2.04-alt1
%description -n %agrep
agrep is a grep-like utility which can do approximate searches.
%package -n lib%name
Summary: TRE is a regexp matching library with approximate matching capability
License: GPL
Group: System/Libraries
%description -n lib%name
TRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate matching.
%package -n lib%name-devel
Summary: Development environment for lib%name
License: GPL
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
TRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate matching.
This is the development environment to compile TRE software.
%if_enabled static
%package -n lib%name-devel-static
Summary: Static libraries for lib%name
License: GPL
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
TRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate matching.
This package contains static library to build statically linked TRE software.
%endif
%prep
%setup -q
%build
%if_enabled static
conf_flags="--enable-static"
%endif
unset CC CXX
%configure "$conf_flags"
%make_build
%install
%makeinstall
%find_lang %name
%post -n lib%name -p /sbin/ldconfig
%postun -n lib%name -p /sbin/ldconfig
%files -n %agrep -f %name.lang
%_bindir/*
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui