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