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