]> git.pld-linux.org Git - packages/x11vnc.git/blame - x11vnc.spec
- workaround for coreutils / chmod breakage, rel 3
[packages/x11vnc.git] / x11vnc.spec
CommitLineData
3b4074b8 1Summary: A VNC server for the current X11 session
7f068e27 2Summary(pl.UTF-8): Program serwujący aktualną sesję X11 poprzez VNC
3b4074b8 3Name: x11vnc
a0ad82be 4Version: 0.9.16
3c88b8eb 5Release: 3
720c5135 6License: GPL v2+
1d0e4d7b 7Group: X11/Applications/Networking
912b0598
JB
8#Source0Download: https://github.com/LibVNC/x11vnc/releases
9Source0: https://github.com/LibVNC/x11vnc/archive/%{version}/%{name}-%{version}.tar.gz
a0ad82be 10# Source0-md5: 64172e8f896389ec963fff93415f0d93
98390819 11Source1: %{name}-x11vncd
12Source2: %{name}-x11vncd.init
13Source3: %{name}-x11vncd.sysconfig
14Source4: %{name}-x11vncd_passwd
31bd86f6 15Patch0: gcc10.patch
720c5135 16URL: https://github.com/LibVNC/x11vnc/
f5cfbe8f
JB
17BuildRequires: autoconf >= 2.59-9
18BuildRequires: automake
912b0598
JB
19BuildRequires: avahi-devel >= 0.6.4
20BuildRequires: cairo-devel
1d0e4d7b 21BuildRequires: libjpeg-devel
912b0598 22BuildRequires: libvncserver-devel >= 0.9.8
f5cfbe8f 23BuildRequires: openssl-devel
912b0598 24BuildRequires: pkgconfig
f5cfbe8f 25BuildRequires: xorg-lib-libX11-devel
912b0598
JB
26BuildRequires: xorg-lib-libXcomposite-devel
27BuildRequires: xorg-lib-libXcursor-devel
f5cfbe8f
JB
28BuildRequires: xorg-lib-libXdamage-devel
29BuildRequires: xorg-lib-libXext-devel
30BuildRequires: xorg-lib-libXfixes-devel
912b0598 31BuildRequires: xorg-lib-libXi-devel >= 1.3
f5cfbe8f
JB
32BuildRequires: xorg-lib-libXinerama-devel
33BuildRequires: xorg-lib-libXrandr-devel
34BuildRequires: xorg-lib-libXtst-devel
912b0598 35BuildRequires: xorg-proto-inputproto-devel >= 2
1d0e4d7b 36BuildRequires: zlib-devel
912b0598
JB
37Requires: avahi-libs >= 0.6.4
38Requires: libvncserver >= 0.9.8
39Requires: xorg-lib-libXi >= 1.3
1d0e4d7b 40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
3c88b8eb
JR
42# Disable fixperms, chmod from coreutils 9.0 fails on symlinks
43%define _fixperms /bin/true
44
1d0e4d7b 45%description
3b4074b8
JB
46x11vnc is to X Window System what WinVNC is to Windows, i.e. a server
47which serves the current X Window System desktop via RFB (VNC)
48protocol to the user.
49
1d0e4d7b 50Based on the ideas of x0rfbserver and on LibVNCServer, it has evolved
51into a versatile and performant while still easy to use program.
52
60f49683 53%description -l pl.UTF-8
7e0656b4 54x11vnc jest dla X Window System tym, czym jest WinVNC dla Windows,
60f49683
JR
55czyli programem udostępniającym aktualny ekran X Window System poprzez
56protokół RFB (VNC) dla użytkownika.
3b4074b8 57
60f49683
JR
58Bazuje na pomyśle x0rfbserver i LibVNCServer, został stworzony jako
59wszechstronny i wydajny, ale także łatwy w użyciu.
1d0e4d7b 60
98390819 61%package init
a25ea149 62Summary: Init scripts for VNC server
98390819 63Summary(pl.UTF-8): Skrytpy startowe dla servera VNC.
64Group: X11/Applications/Networking
912b0598 65Requires: %{name} = %{version}-%{release}
98390819 66
67%description init
68Init scripts for VNC server.
69
70%description init -l pl.UTF-8
71Skrytpy startowe dla servera VNC.
72
1d0e4d7b 73%prep
74%setup -q
31bd86f6 75%patch0 -p1
1d0e4d7b 76
77%build
9df9992f
RT
78%{__aclocal}
79%{__autoconf}
80%{__autoheader}
81%{__automake}
82%configure \
83 --with-x
1d0e4d7b 84
85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
3b4074b8 89
1d0e4d7b 90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
98390819 93install -d $RPM_BUILD_ROOT%{_sbindir} \
94 $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
95
912b0598
JB
96cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/x11vncd
97cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/x11vncd
98cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/x11vncd
99cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/x11vncd_passwd
98390819 100
1d0e4d7b 101%clean
102rm -rf $RPM_BUILD_ROOT
103
98390819 104%post init
105/sbin/chkconfig --add x11vncd
106%service x11vncd restart "VNC Server"
107
108%preun init
109if [ "$1" = "0" ]; then
110 %service x11vncd stop
111 /sbin/chkconfig --del x11vncd
112fi
113
1d0e4d7b 114%files
115%defattr(644,root,root,755)
912b0598
JB
116%doc ChangeLog NEWS README
117%attr(755,root,root) %{_bindir}/Xdummy
118%attr(755,root,root) %{_bindir}/x11vnc
119%{_desktopdir}/x11vnc.desktop
120%{_mandir}/man1/x11vnc.1*
98390819 121
122%files init
123%defattr(644,root,root,755)
124%attr(755,root,root) %{_sbindir}/x11vncd
a25ea149 125%attr(754,root,root) /etc/rc.d/init.d/x11vncd
98390819 126%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/x11vncd
127%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/x11vncd_passwd
This page took 0.051919 seconds and 4 git commands to generate.