Package init

This commit is contained in:
zhaochaoxiang 2023-07-06 11:01:17 +08:00
parent b33ed88bc6
commit 07695097cb
2 changed files with 47 additions and 0 deletions

BIN
amtterm-1.6.tar.gz Normal file

Binary file not shown.

47
amtterm.spec Normal file
View File

@ -0,0 +1,47 @@
Name: amtterm
License: GPLv2+
Version: 1.6
Release: 1
Summary: Serial-over-lan (sol) client for Intel AMT
Group: Applications/Internet
URL: http://www.kraxel.org/blog/linux/amtterm/
Source: http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz
Requires: xdg-utils
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gdk-3.0)
BuildRequires: pkgconfig(vte-2.91)
%description
Serial-over-lan (sol) client for Intel AMT.
Includes a terminal and a graphical (gtk) version.
Also comes with a perl script to gather informations
about and remotely control AMT managed computers.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
make prefix=/usr
%install
make prefix=/usr DESTDIR=%{buildroot} STRIP="" install
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ \
%{buildroot}/%{_datadir}/applications/gamt.desktop
%files
%doc COPYING
%{_bindir}/amtterm
%{_bindir}/amttool
%{_bindir}/gamt
%{_mandir}/man1/amtterm.1.gz
%{_mandir}/man1/amttool.1.gz
%{_mandir}/man1/gamt.1.gz
%{_mandir}/man7/amt-howto.7.gz
%{_datadir}/applications/gamt.desktop
%changelog
* Thu Jul 6 2023 zhaochaoxiang <zhaochaoxiang@kylinos.cn> - 1.6-1
- Package init