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