Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59494cce77 | ||
|
|
4c60430450 | ||
|
|
eead43e30a | ||
|
|
aff688b1cc |
3 changed files with 22 additions and 17 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -59,3 +59,5 @@
|
|||
/whois_5.5.9.tar.xz
|
||||
/whois_5.5.10.tar.xz
|
||||
/whois_5.5.11.tar.xz
|
||||
/whois-5.5.12.tar.gz
|
||||
/whois-5.5.13.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (whois_5.5.11.tar.xz) = 4be935cc2c76e087d49ad0619d3c08a068231ea3fc25e12de3a727cc5e7fca66e8989b77bac5571558969ac74063e09920415a465d4dfa18dc95ec447da86d54
|
||||
SHA512 (whois-5.5.13.tar.gz) = e9efda7a99df07eadb67eb4a86110cd9fb4937ff850ff369875683279be8080845740d43f16fa591c3f2187cb3b747b018f3e56d721c3e29d197630faefe8f8a
|
||||
|
|
|
|||
35
whois.spec
35
whois.spec
|
|
@ -1,37 +1,31 @@
|
|||
# Package mkpasswd tool
|
||||
%if 0%{?rhel}
|
||||
%{bcond_with whois_enables_mkpasswd}
|
||||
%else
|
||||
%{bcond_without whois_enables_mkpasswd}
|
||||
%endif
|
||||
# Add IDN support
|
||||
%{bcond_without whois_enables_idn}
|
||||
# Use libidn2 instead of libidn
|
||||
# Enable IDN, use libidn2 instead of libidn
|
||||
%{bcond_without whois_enables_libidn2}
|
||||
# Add libidn support
|
||||
%{bcond_with whois_enables_idn}
|
||||
|
||||
Name: whois
|
||||
Version: 5.5.11
|
||||
Version: 5.5.13
|
||||
Release: 1%{?dist}
|
||||
Summary: Improved WHOIS client
|
||||
License: GPLv2+
|
||||
URL: http://www.linux.it/~md/software/
|
||||
Source0: http://ftp.debian.org/debian/pool/main/w/%{name}/%{name}_%{version}.tar.xz
|
||||
# Source0: http://ftp.debian.org/debian/pool/main/w/%%{name}/%%{name}_%%{version}.tar.xz
|
||||
Source0: https://github.com/rfc1036/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
%if %{with whois_enables_idn}
|
||||
%if %{with whois_enables_libidn2}
|
||||
BuildRequires: pkgconfig(libidn2) >= 2.0.3
|
||||
%else
|
||||
%elif %{with whois_enables_idn}
|
||||
BuildRequires: pkgconfig(libidn)
|
||||
BuildConflicts: pkgconfig(libidn2)
|
||||
%endif
|
||||
%else
|
||||
BuildConflicts: pkgconfig(libidn)
|
||||
BuildConflicts: pkgconfig(libidn2)
|
||||
%endif
|
||||
%if %{with whois_enables_mkpasswd}
|
||||
BuildRequires: pkgconfig(libcrypt)
|
||||
BuildRequires: pkgconfig(libxcrypt) >= 4.1
|
||||
%endif
|
||||
BuildRequires: make
|
||||
|
|
@ -83,12 +77,12 @@ BuildArch: noarch
|
|||
whois tools messages translated into different natural languages.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%{make_build} CONFIG_FILE="%{_sysconfdir}/%{cfgfile}" \
|
||||
HAVE_ICONV=1 \
|
||||
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}"
|
||||
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}" INSTALL="install -p"
|
||||
|
||||
%install
|
||||
%if %{with whois_enables_mkpasswd}
|
||||
|
|
@ -133,12 +127,21 @@ fi
|
|||
%if %{with whois_enables_mkpasswd}
|
||||
%files -n mkpasswd
|
||||
%license COPYING debian/copyright
|
||||
%doc README debian/changelog
|
||||
%doc README
|
||||
%{_bindir}/mkpasswd
|
||||
%{_mandir}/man1/mkpasswd.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu May 19 2022 Petr Menšík <pemensik@redhat.com> - 5.5.13-1
|
||||
- Update to 5.5.13 (#2073241)
|
||||
|
||||
* Fri Apr 22 2022 Petr Menšík <pemensik@redhat.com> - 5.5.12-2
|
||||
- Remove changelog from mkpasswd, it has double size of actual tool
|
||||
|
||||
* Fri Feb 25 2022 Petr Menšík <pemensik@redhat.com> - 5.5.12-1
|
||||
- Update to 5.5.12
|
||||
|
||||
* Wed Jan 12 2022 Petr Menšík <pemensik@redhat.com> - 5.5.11-1
|
||||
- Update to 5.5.11 (#2036766)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue