summaryrefslogtreecommitdiff
path: root/perl-Net-VNC.spec
blob: 74b789a46e55a749b186c1a03f7f5e17de70bca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
# Conditional build:
%bcond_without	tests		# do not perform "make test"
#
%define		pdir	Net
%define		pnam	VNC
Summary:	Net::VNC - a simple VNC client
Summary(pl.UTF-8):	Net::VNC - prosty klient VNC
Name:		perl-Net-VNC
Version:	0.40
Release:	0.1
# "same as perl"
License:	GPL v1+ or Artistic
Group:		Development/Languages/Perl
Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5:	d7066735826442cd89c4f1cdefa272f2
URL:		http://search.cpan.org/dist/Net-VNC/
BuildRequires:	perl-devel >= 1:5.8.0
BuildRequires:	rpm-perlprov >= 4.1-13
BuildArch:	noarch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Virtual Network Computing (VNC) is a desktop sharing system which uses
the RFB (Remote FrameBuffer) protocol to remotely control another
computer. This module acts as a VNC client and communicates to a VNC
server using the RFB protocol, allowing you to capture the screen of
the remote computer. This module dies upon connection errors (with a
timeout of 15 seconds) and protocol errors. This implementation is
based largely on the RFB Protocol Specification,
<http://www.realvnc.com/docs/rfbproto.pdf>. That document has an error
in the DES encryption description, which is clarified via
<http://www.vidarholen.net/contents/junk/vnc.html>.

%description -l pl.UTF-8
VNC (Virtual Network Computing) to system współdzielenia pulpitu
używający protokołu RFB (Remote FrameBuffer - zdalnego framebuffera)
do zdalnego sterowania innym komputerem. Ten moduł działa jako klient
VNC, komunikując się z serwerem VNC przy użyciu protokołu RFB,
pozwalając na przechwytywanie ekranu zdalnego komputera. Moduł umiera
przy błędach połączenia (z timeoutem 15 sekund) i błędach protokołu.
Ta implementacja jest oparta głównie na specyfikacji protokołu RFB
<http://www.realvnc.com/docs/rfbproto.pdf>. Dokument ten zawiera błąd
w opisie szyfrowania DES, wyjaśniony pod
<http://www.vidarholen.net/contents/junk/vnc.html>.

%prep
%setup -q -n %{pdir}-%{pnam}-%{version}

%build
%{__perl} Build.PL \
	installdirs=vendor \
	destdir=$RPM_BUILD_ROOT \
	prefix=%{_prefix}

./Build

%{?with_tests:./Build test}

%install
rm -rf $RPM_BUILD_ROOT

./Build install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc CHANGES README
%attr(755,root,root) %{_bindir}/vnccapture
%{perl_vendorlib}/Net/VNC.pm
%{_mandir}/man1/*
%{_mandir}/man3/*