Blame amtterm.spec

Bernhard M. Wiedemann 7f428d
#
Bernhard M. Wiedemann 7f428d
# spec file for package amtterm
Bernhard M. Wiedemann 7f428d
#
3ace19
# Copyright (c) 2022 SUSE LLC
Bernhard M. Wiedemann 7f428d
#
Bernhard M. Wiedemann 7f428d
# All modifications and additions to the file contributed by third parties
Bernhard M. Wiedemann 7f428d
# remain the property of their copyright owners, unless otherwise agreed
Bernhard M. Wiedemann 7f428d
# upon. The license for this file, and modifications and additions to the
Bernhard M. Wiedemann 7f428d
# file, is the same license as for the pristine package itself (unless the
Bernhard M. Wiedemann 7f428d
# license for the pristine package is not an Open Source License, in which
Bernhard M. Wiedemann 7f428d
# case the license is the MIT License). An "Open Source License" is a
Bernhard M. Wiedemann 7f428d
# license that conforms to the Open Source Definition (Version 1.9)
Bernhard M. Wiedemann 7f428d
# published by the Open Source Initiative.
Bernhard M. Wiedemann 7f428d
3ace19
# Please submit bugfixes or comments via https://bugs.opensuse.org/
Bernhard M. Wiedemann 7f428d
#
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
Name:           amtterm
3ace19
Version:        1.7
Bernhard M. Wiedemann 7f428d
Release:        0
Bernhard M. Wiedemann 7f428d
Summary:        Serial-over-lan (sol) client for Intel AMT
Bernhard M. Wiedemann 7f428d
License:        GPL-2.0-or-later
Bernhard M. Wiedemann 7f428d
Group:          System/Management
Bernhard M. Wiedemann 7f428d
URL:            https://www.kraxel.org/releases/amtterm/
Bernhard M. Wiedemann 7f428d
Source:         https://www.kraxel.org/releases/amtterm/%{name}-%{version}.tar.gz
Bernhard M. Wiedemann 7f428d
BuildRequires:  desktop-file-utils
3ace19
BuildRequires:  openssl-devel
Bernhard M. Wiedemann 7f428d
BuildRequires:  pkgconfig
Bernhard M. Wiedemann 7f428d
BuildRequires:  pkgconfig(gdk-3.0)
3ace19
BuildRequires:  pkgconfig(gtk+-3.0)
Bernhard M. Wiedemann 7f428d
BuildRequires:  pkgconfig(vte-2.91)
Bernhard M. Wiedemann 7f428d
Requires:       perl-SOAP-Lite
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%description
Bernhard M. Wiedemann 7f428d
AMT (included in Intel vPro and Centrino Pro) provides out-of-band
Bernhard M. Wiedemann 7f428d
(OOB) management for Desktops and Laptops, using an agent integrated in
Bernhard M. Wiedemann 7f428d
the network adapter and in the motherboard.
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
Serial-over-lan provides a (secure) way to connect a remote computer,
Bernhard M. Wiedemann 7f428d
through a pseudo serial interface.
3ace19
IDE-redirection provides a way to remotely access a virtual drive, which
3ace19
can be used eg. for installation or booting.
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
This package provide 2 terminals (amtterm and gamt) to connect to that
Bernhard M. Wiedemann 7f428d
pseudo serial interface from a remote computer. amttool is a perl
Bernhard M. Wiedemann 7f428d
script to gather informations about and remotely control AMT managed
3ace19
computers. An additional program (amtider) supports IDE-redirection.
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%package gtk
3ace19
Summary:        Serial-over-lan (sol) graphical client
Bernhard M. Wiedemann 7f428d
Group:          System/Management
Bernhard M. Wiedemann 7f428d
Requires:       %{name} = %{version}
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%description gtk
Bernhard M. Wiedemann 7f428d
Graphical client for the amtterm utility
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%prep
Bernhard M. Wiedemann 7f428d
%setup -q
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%build
3ace19
make %{?_smp_mflags} USE_OPENSSL=1 prefix=%{_prefix}
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%install
3ace19
%make_install USE_OPENSSL=1 prefix=%{_prefix} STRIP=""
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
# fix icon and category
Bernhard M. Wiedemann 7f428d
sed -i "/Icon/s/gnome-terminal/utilities-terminal/" %{buildroot}/%{_datadir}/applications/gamt.desktop
Bernhard M. Wiedemann 7f428d
sed -i "/Categories/s/=.*/=System;Monitor/" %{buildroot}/%{_datadir}/applications/gamt.desktop
Bernhard M. Wiedemann 7f428d
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ \
Bernhard M. Wiedemann 7f428d
    %{buildroot}/%{_datadir}/applications/gamt.desktop
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%files
Bernhard M. Wiedemann 7f428d
%doc VERSION INSTALL
Bernhard M. Wiedemann 7f428d
%license COPYING
Bernhard M. Wiedemann 7f428d
%{_bindir}/amtterm
Bernhard M. Wiedemann 7f428d
%{_bindir}/amttool
3ace19
%{_bindir}/amtider
Bernhard M. Wiedemann 7f428d
%{_mandir}/man1/amtterm.1%{?ext_man}
3ace19
%{_mandir}/man1/amtider.1%{?ext_man}
Bernhard M. Wiedemann 7f428d
%{_mandir}/man1/amttool.1%{?ext_man}
Bernhard M. Wiedemann 7f428d
%{_mandir}/man7/amt-howto.7%{?ext_man}
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%files gtk
Bernhard M. Wiedemann 7f428d
%{_bindir}/gamt
Bernhard M. Wiedemann 7f428d
%{_mandir}/man1/gamt.1%{?ext_man}
Bernhard M. Wiedemann 7f428d
%{_datadir}/applications/gamt.desktop
Bernhard M. Wiedemann 7f428d
Bernhard M. Wiedemann 7f428d
%changelog