]> git.ipfire.org Git - ipfire-3.x.git/blame - grep/grep.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / grep / grep.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af 6name = grep
fa70313a 7version = 3.8
fc6a8e6d 8release = 1
166a6c21 9
0e4842b8 10groups = Applications/Text
fa70313a 11url = https://www.gnu.org/software/grep/
802ea3af
MT
12license = GPLv3+
13summary = A pattern matching utilities.
166a6c21 14
802ea3af 15description
c9c0fb51
SS
16 The GNU versions of commonly used grep utilities. Grep searches through
17 textual input for lines which contain a match to a specified pattern and then
166a6c21 18 prints the matching lines. GNU's grep utilities include grep, egrep and fgrep.
802ea3af
MT
19end
20
fa70313a 21source_dl = https://ftp.gnu.org/gnu/grep/
802ea3af
MT
22sources = %{thisapp}.tar.xz
23
24build
25 requires
b9cc2403
MT
26 autoconf
27 automake
28 gettext-devel
fa70313a 29 pcre2-devel
b9cc2403 30 texinfo
802ea3af 31 end
166a6c21 32
b9cc2403
MT
33 configure_options += \
34 --without-included-regex
35
802ea3af
MT
36 test
37 make check
38 end
87621bcc
MT
39
40 install_cmds
41 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d
42 install -m 644 %{DIR_SOURCE}/colorgrep.sh \
43 %{BUILDROOT}%{sysconfdir}/profile.d
44 install -m 644 %{DIR_SOURCE}/GREP_COLORS \
45 %{BUILDROOT}%{sysconfdir}
46 end
802ea3af 47end
e7a5bed3 48
802ea3af
MT
49packages
50 package %{name}
cf0ceada
MT
51 provides
52 /bin/grep
87621bcc 53 bundled(gnulib)
cf0ceada
MT
54 end
55
56 conflicts
57 filesystem < 002
58 end
87621bcc
MT
59
60 configfiles
61 %{sysconfdir}/profile.d/colorgrep.sh
62 %{sysconfdir}/GREP_COLORS
63 end
802ea3af 64 end
1f9bc2f0
MT
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
802ea3af 69end