pve-spiceterm/pve-spiceterm.spec

89 lines
1.8 KiB
RPMSpec
Raw Normal View History

2016-06-09 15:49:31 +03:00
%define sname spiceterm
%define pname %sname-pve
Name: pve-%sname
Summary: SPICE Terminal Emulator
2017-07-19 12:15:26 +03:00
Version: 3.0.4
2018-11-27 10:58:49 +03:00
Release: alt1.2
2016-06-09 15:49:31 +03:00
License: GPLv2
Group: Networking/WWW
Url: https://git.proxmox.com/
Packager: Valery Inozemtsev <shrek@altlinux.ru>
ExclusiveArch: x86_64
Source0: %sname.tar.xz
2017-07-19 12:15:26 +03:00
Source1: spice-0.12.8.tar.bz2
Source2: celt-0.5.1.3.tar.gz
2016-06-09 15:49:31 +03:00
Patch0: pve-allow-to-set-sasl-callbacks.patch
2017-07-19 12:15:26 +03:00
Patch1: CVE-2016-9577-and-CVE-2016-9578.patch
2016-06-09 15:49:31 +03:00
2017-07-19 12:15:26 +03:00
Patch10: spiceterm-alt.patch
BuildRequires: libgio-devel libjpeg-devel liblz4-devel libogg-devel libopus-devel libpixman-devel
BuildRequires: libsasl2-devel libssl-devel perl-Pod-Usage spice-protocol zlib-devel
2016-06-09 15:49:31 +03:00
%description
With spiceterm you can start commands and export its standard input and
output to any SPICE client (simulating a xterm Terminal).
%prep
2017-07-19 12:15:26 +03:00
%setup -q -n %sname -a1 -a2
ln -s spice-* spice
ln -s celt* celt
2016-06-09 15:49:31 +03:00
2017-07-19 12:15:26 +03:00
pushd spice
%patch0 -p1
%patch1 -p1
popd
%patch10 -p1
2016-06-09 15:49:31 +03:00
%build
2017-07-19 12:15:26 +03:00
pushd celt
ln -s libcelt celt051
%autoreconf
%configure \
--enable-static
%make_build
popd
pushd spice
echo 0.12.8 > .tarball-version
2016-06-09 15:49:31 +03:00
%autoreconf
2017-07-19 12:15:26 +03:00
export CELT051_LIBS="-L%_builddir/spiceterm/celt/libcelt -lcelt051 -lm"
export CELT051_CFLAGS="-I%_builddir/spiceterm/celt"
2016-06-09 15:49:31 +03:00
%configure \
2017-07-19 12:15:26 +03:00
--disable-smartcard \
--enable-lz4=yes \
--enable-opengl=no \
--enable-static=yes \
--with-sasl
2016-06-09 15:49:31 +03:00
%make_build
popd
2017-07-19 12:15:26 +03:00
%make
2016-06-09 15:49:31 +03:00
%install
2017-07-19 12:15:26 +03:00
%make DESTDIR=%buildroot install
2016-06-09 15:49:31 +03:00
%files
%_bindir/%sname
%_man1dir/%sname.1*
%changelog
2018-11-27 10:58:49 +03:00
* Tue Nov 27 2018 Valery Inozemtsev <shrek@altlinux.ru> 3.0.4-alt1.2
- rebuild
* Wed Aug 29 2018 Grigory Ustinov <grenka@altlinux.org> 3.0.4-alt1.1
- NMU: Rebuild with new openssl 1.1.0.
2017-07-19 12:15:26 +03:00
* Wed Jul 19 2017 Valery Inozemtsev <shrek@altlinux.ru> 3.0.4-alt1
- 3.0-4
2016-06-28 11:01:07 +03:00
* Tue Jun 28 2016 Valery Inozemtsev <shrek@altlinux.ru> 2.0-alt2
- fixed keymaps path
2016-06-09 15:49:31 +03:00
* Mon Mar 21 2016 Valery Inozemtsev <shrek@altlinux.ru> 2.0-alt1
- initial release