Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
vncmanager
vncmanager.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vncmanager.spec of Package vncmanager
# # spec file for package vncmanager # # Copyright (c) 2016 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/ # %define vncgroup vnc %define vncuser vnc Name: vncmanager Version: 1.0.1 Release: 0 BuildRequires: boost-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libgnutls-devel BuildRequires: pkg-config BuildRequires: systemd-devel BuildRequires: systemd-rpm-macros Requires(post): xorg-x11-Xvnc Requires: vncmanager-greeter Requires: xorg-x11-Xvnc Requires: xorg-x11-Xvnc:/usr/lib/vnc/with-vnc-key.sh Recommends: vncmanager-controller Url: https://github.com/michalsrb/vncmanager BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Session manager for VNC License: MIT Group: System/X11/Utilities Source: vncmanager-%{version}.tar.gz Source1: tmpfile.conf Patch1: n_use_port_5901.patch Patch2: n_use_with_vnc_key_wrapper.patch %description Session manager for VNC. It listens on VNC port and spawns Xvnc processes for incoming clients. %pre %service_add_pre vncmanager.service %post %service_add_post vncmanager.service [ -x /usr/bin/systemd-tmpfiles ] && /usr/bin/systemd-tmpfiles --create %_tmpfilesdir/%{name}.conf || : %preun %service_del_preun vncmanager.service %postun %service_del_postun vncmanager.service %prep %setup %patch1 -p1 %patch2 -p1 %build %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=ON make %{?_smp_mflags} %install %cmake_install # tmpfiles install -d -m 0755 %{buildroot}/usr/lib/tmpfiles.d/ install -m 0644 %{SOURCE1} %{buildroot}/usr/lib/tmpfiles.d/%{name}.conf # systemd mkdir -p %{buildroot}%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcvncmanager %files %defattr(-,root,root) %{_bindir}/vncmanager %{_unitdir}/vncmanager.service %{_sbindir}/rcvncmanager %dir %attr(0755,%{vncuser},%{vncuser}) %{_sysconfdir}/vnc %config(noreplace) %{_sysconfdir}/vnc/vncmanager.conf /usr/lib/tmpfiles.d/%{name}.conf %ghost %dir /run/vncmanager %doc LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor