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