Files
perl-Net-VNC/perl-Net-VNC.spec

77 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Net-VNC
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Net-VNC
Name: perl-Net-VNC
Version: 0.400.0
Release: 0
# 0.40 -> normalize -> 0.400.0
%define cpan_version 0.40
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simple VNC client
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/L/LB/LBROCARD/%{cpan_name}-%{cpan_version}.tar.gz
2025-08-12 18:16:09 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(Crypt::DES)
BuildRequires: perl(Image::Imlib2)
BuildRequires: perl(Module::Build) >= 0.38
Requires: perl(Class::Accessor::Fast)
Requires: perl(Crypt::DES)
Requires: perl(Image::Imlib2)
Provides: perl(Net::VNC) = %{version}
%undefine __perllib_provides
%{perl_requires}
%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.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%doc CHANGES README
%license LICENSE
%changelog