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