xorgxrdp/xorgxrdp.spec
Tomáš Chvátal 3cb6f4b56c Accepting request 562235 from home:zhangxiaofei:branches:X11:RemoteDesktop
- Update to version 0.2.5
  + Adjust socket file permission #110
  + Accept display number 0 #106
  + Assembly code refactoring

OBS-URL: https://build.opensuse.org/request/show/562235
OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/xorgxrdp?expand=0&rev=8
2018-01-07 09:03:18 +00:00

70 lines
2.1 KiB
RPMSpec

#
# spec file for package xorgxrdp
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: xorgxrdp
Version: 0.2.5
Release: 0
Summary: Xorg drivers for xrdp
License: X11
Group: System/X11/Utilities
Url: https://github.com/neutrinolabs/xorgxrdp
Source0: https://github.com/neutrinolabs/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/neutrinolabs/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: nasm
BuildRequires: xorg-x11-server-sdk
BuildRequires: xrdp-devel
Requires: xrdp >= 0.9.1
# For 42.x keep to use libXfont-devel
%if 0%{?suse_version} > 1320
BuildRequires: libXfont2-devel
%else
BuildRequires: libXfont-devel
%endif
ExcludeArch: s390x
%description
This package contains Xorg driver modules for xrdp
%prep
%setup -q
%build
sh ./bootstrap
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%files
%doc README.md COPYING
%{_libdir}/xorg/modules/drivers/xrdpdev_drv.so
%dir %{_libdir}/xorg/modules/input
%{_libdir}/xorg/modules/input/xrdpkeyb_drv.so
%{_libdir}/xorg/modules/input/xrdpmouse_drv.so
%{_libdir}/xorg/modules/libxorgxrdp.so
%dir %{_sysconfdir}/X11/xrdp
%config %{_sysconfdir}/X11/xrdp/xorg.conf
%changelog