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