]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - whois/whois.nm
whois: Change download location
[people/stevee/ipfire-3.x.git] / whois / whois.nm
CommitLineData
bab42e5a
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = whois
7version = 5.5.15
65f8d874 8release = 2
bab42e5a
SS
9
10groups = Applications/Internet
11url = https://github.com/rfc1036/whois
12license = GPLv2
13summary = Intelligent WHOIS client.
14
15description
16 whois searches for an object in a RFC 3912 database.
17
18 This version of the whois client tries to guess the right server to
19 ask for the specified object. If no guess can be made it will connect to
20 whois.networksolutions.com
21end
22
65f8d874
SS
23source_dl = https://github.com/rfc1036/whois/archive/refs/tags/v%{version}.tar.gz#/
24sources = %{thisapp}.tar.gz
bab42e5a
SS
25
26build
bab42e5a
SS
27 requires
28 libidn2-devel
bfc41009 29 libxcrypt-devel
bab42e5a
SS
30 perl
31 perl(autodie)
32 perl(strict)
33 perl(warnings)
34 end
35
36 build
37 make \
38 CONFIG_FILE="%{sysconfdir}/%{name}.conf" \
39 HAVE_ICONV=1 \
40 CFLAGS="%{CFLAGS}" \
41 LDFLAGS="%{LDFLAGS}"
42 end
43
44 # Only install the whois tool.
45 make_install_targets = install-whois
46
47 install_cmds
48 # Install config file.
49 install -p -m644 -D %{name}.conf %{BUILDROOT}%{sysconfdir}/%{name}.conf
50 end
51end
52
53packages
54 package %{name}
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59end