2014-06-02 12:07:15 +02:00
|
|
|
#
|
|
|
|
# spec file for package xvfb-run
|
|
|
|
#
|
2022-12-02 15:28:49 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2014-06-02 12:07:15 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-12-02 15:28:49 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-06-02 12:07:15 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: xvfb-run
|
|
|
|
Version: 1.5.2
|
|
|
|
Release: 0
|
|
|
|
Summary: Script to run a virtualized X-Server
|
2018-07-19 14:57:21 +02:00
|
|
|
License: GPL-2.0-only
|
2016-07-06 21:06:52 +02:00
|
|
|
Group: System/X11/Utilities
|
2022-12-02 15:28:49 +01:00
|
|
|
URL: https://packages.debian.org/de/sid/xvfb
|
2014-06-02 12:07:15 +02:00
|
|
|
Source0: http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh
|
2018-07-19 14:57:21 +02:00
|
|
|
Source1: https://manpages.debian.org/testing/xvfb/xvfb-run.1.en.gz#/xvfb-run.1.gz
|
2014-06-02 12:07:15 +02:00
|
|
|
# PATCH-FIX-OPENSUSE https://bugzilla.redhat.com/show_bug.cgi?id=508739#c6
|
|
|
|
Patch0: xvfb-run-mktemp.patch
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: util-linux
|
2020-11-11 21:09:36 +01:00
|
|
|
Requires: which
|
|
|
|
Requires: xauth
|
2014-06-02 12:07:15 +02:00
|
|
|
Requires: xorg-x11-server
|
2018-07-19 14:57:21 +02:00
|
|
|
Requires: xorg-x11-xauth
|
2014-06-02 12:07:15 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This script starts an instance of Xvfb, the "fake" X server, runs a command
|
|
|
|
with that server available, and kills the X server when done. The return
|
|
|
|
value of the command becomes the return value of this script.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
cp %{SOURCE0} .
|
2024-02-26 14:58:40 +01:00
|
|
|
%patch -P 0 -p0
|
2014-06-02 12:07:15 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -p -D %{_builddir}/xvfb-run.sh %{buildroot}%{_bindir}/xvfb-run
|
|
|
|
chmod 755 %{buildroot}%{_bindir}/xvfb-run
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
|
|
|
cp %{SOURCE1} %{buildroot}%{_mandir}/man1/xvfb-run.1.gz
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/xvfb-run
|
|
|
|
%{_mandir}/*/xvfb-run.1.gz
|
|
|
|
|
|
|
|
%changelog
|