###############################################################################
name = grep
-version = 2.14
+version = 2.25
release = 1
groups = Applications/Text
build
requires
+ autoconf
+ automake
+ gettext-devel
pcre-devel
+ texinfo
end
+ configure_options += \
+ --without-included-regex
+
test
make check
end
+
+ install_cmds
+ mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d
+ install -m 644 %{DIR_SOURCE}/colorgrep.sh \
+ %{BUILDROOT}%{sysconfdir}/profile.d
+ install -m 644 %{DIR_SOURCE}/GREP_COLORS \
+ %{BUILDROOT}%{sysconfdir}
+ end
end
packages
provides
/bin/grep
+ bundled(gnulib)
end
conflicts
filesystem < 002
end
+
+ configfiles
+ %{sysconfdir}/profile.d/colorgrep.sh
+ %{sysconfdir}/GREP_COLORS
+ end
end
package %{name}-debuginfo