Skip to content

Commit 12a9093

Browse files
committed
- updated to 1.7; gtk+3 now, SOL_CONTROLS_FROM_HOST (0x29) is now handled upstream
1 parent b3a098f commit 12a9093

File tree

2 files changed

+22
-27
lines changed

2 files changed

+22
-27
lines changed

amtterm-reconnect-hack.patch

-18
This file was deleted.

amtterm.spec

+22-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
1+
#
2+
# Conditional build:
3+
%bcond_with gnutls # GnuTLS instead of OpenSSL for encryption
4+
%bcond_without openssl # OpenSSL encryption support
5+
6+
%if %{with gnutls}
7+
%undefine with_openssl
8+
%endif
19
Summary: Intel AMT serial-over-lan (sol) client
210
Summary(pl.UTF-8): Klient portu szeregowego po sieci (SOL) Intel AMT
311
Name: amtterm
4-
Version: 1.3
5-
Release: 2
12+
Version: 1.7
13+
Release: 1
614
License: GPL v2
715
Group: Applications/Networking
8-
Source0: http://www.kraxel.org/releases/amtterm/%{name}-%{version}.tar.gz
9-
# Source0-md5: a2385b2305680ae06687867527924ff5
10-
Patch0: amtterm-reconnect-hack.patch
11-
URL: http://www.kraxel.org/blog/linux/amtterm/
12-
BuildRequires: gtk+2-devel >= 2.0
16+
Source0: https://www.kraxel.org/releases/amtterm/%{name}-%{version}.tar.gz
17+
# Source0-md5: c8ab796464e11df115d82d39f30f28b1
18+
URL: https://www.kraxel.org/blog/linux/amtterm/
19+
%{?with_gnutls:BuildRequires: gnutls-devel}
20+
BuildRequires: gtk+3-devel >= 3.0
21+
%{?with_openssl:BuildRequires: openssl-devel}
1322
BuildRequires: pkgconfig
1423
BuildRequires: perl-devel >= 1:5.8.0
1524
BuildRequires: rpm-perlprov >= 4.1-13
16-
BuildRequires: vte0-devel
25+
BuildRequires: vte-devel >= 0.38
26+
# for amttool
1727
Requires: perl-SOAP-Lite
1828
Requires: perl-SOAP-Lite-HTTP
1929
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,7 +51,6 @@ Ten pakiet zawiera wersję graficzną (GTK+).
4151

4252
%prep
4353
%setup -q
44-
%patch -P0 -p1
4554

4655
%build
4756
# note: force LIB= because check is error-prone, e.g. existence of
@@ -54,6 +63,8 @@ LDFLAGS="%{rpmldflags}" \
5463
STRIP=" " \
5564
%{__make} \
5665
LIB=%{_lib} \
66+
%{?with_gnutls:USE_GNUTLS=1} \
67+
%{?with_openssl:USE_OPENSSL=1} \
5768
verbose=yes
5869

5970
%install
@@ -68,8 +79,10 @@ rm -rf $RPM_BUILD_ROOT
6879

6980
%files
7081
%defattr(644,root,root,755)
82+
%attr(755,root,root) %{_bindir}/amtider
7183
%attr(755,root,root) %{_bindir}/amtterm
7284
%attr(755,root,root) %{_bindir}/amttool
85+
%{_mandir}/man1/amtider.1*
7386
%{_mandir}/man1/amtterm.1*
7487
%{_mandir}/man1/amttool.1*
7588
%{_mandir}/man7/amt-howto.7*

0 commit comments

Comments
 (0)