]>
Commit | Line | Data |
---|---|---|
bab42e5a SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = whois | |
7 | version = 5.5.15 | |
65f8d874 | 8 | release = 2 |
bab42e5a SS |
9 | |
10 | groups = Applications/Internet | |
11 | url = https://github.com/rfc1036/whois | |
12 | license = GPLv2 | |
13 | summary = Intelligent WHOIS client. | |
14 | ||
15 | description | |
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 | |
21 | end | |
22 | ||
65f8d874 SS |
23 | source_dl = https://github.com/rfc1036/whois/archive/refs/tags/v%{version}.tar.gz#/ |
24 | sources = %{thisapp}.tar.gz | |
bab42e5a SS |
25 | |
26 | build | |
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 | |
51 | end | |
52 | ||
53 | packages | |
54 | package %{name} | |
55 | ||
56 | package %{name}-debuginfo | |
57 | template DEBUGINFO | |
58 | end | |
59 | end |