2011-05-12 07:23:43 +00:00
#
2011-11-17 15:41:52 +00:00
# spec file for package perl-Net-GPSD3
2011-05-12 07:23:43 +00:00
#
2024-07-25 20:46:25 +00:00
# Copyright (c) 2024 SUSE LLC
2011-05-12 07:23:43 +00:00
#
# 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.
2024-07-25 20:46:25 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2011-05-12 07:23:43 +00:00
#
2011-11-17 15:41:52 +00:00
2024-07-25 20:46:25 +00:00
%define cpan_name Net-GPSD3
2011-05-12 07:23:43 +00:00
Name : perl-Net-GPSD3
2024-07-25 20:46:25 +00:00
Version : 0.190.0
2015-04-17 09:42:12 +00:00
Release : 0
2024-07-25 20:46:25 +00:00
# 0.19 -> normalize -> 0.190.0
%define cpan_version 0.19
2015-04-17 09:42:12 +00:00
#Upstream: This program is free software licensed under the... The BSD License The full text of the license can be found in the LICENSE file included with this module.
License : BSD-3-Clause
2024-07-25 20:46:25 +00:00
Summary : Interface to the gpsd server daemon protocol versions 3 (JSON)
URL : https://metacpan.org/release/%{cpan_name}
Source0 : https://cpan.metacpan.org/authors/id/M/MR/MRDVT/%{cpan_name} -%{cpan_version} .tar.gz
2015-04-17 09:42:12 +00:00
Source1 : cpanspec.yml
2025-08-12 18:15:59 +02:00
Source100 : README.md
2011-05-12 07:23:43 +00:00
BuildArch : noarch
BuildRequires : perl
BuildRequires : perl-macros
BuildRequires : perl(DateTime)
BuildRequires : perl(DateTime::Format::W3CDTF) >= 0.06
2024-07-25 20:46:25 +00:00
BuildRequires : perl(GPS::Point) >= 0.100
2011-05-12 07:23:43 +00:00
BuildRequires : perl(IO::Socket::INET6)
BuildRequires : perl(JSON::XS)
Requires : perl(DateTime)
Requires : perl(DateTime::Format::W3CDTF) >= 0.06
2024-07-25 20:46:25 +00:00
Requires : perl(GPS::Point) >= 0.100
2011-05-12 07:23:43 +00:00
Requires : perl(IO::Socket::INET6)
Requires : perl(JSON::XS)
%{perl_requires}
%description
Net::GPSD3 provides an object client interface to the gpsd server daemon
utilizing the version 3 protocol. gpsd is an open source GPS daemon from
2015-04-17 09:42:12 +00:00
http://www.catb.org/gpsd/ Support for Version 3 of the protocol (JSON) was
added to the daemon in version 2.90. If your daemon is before 2.90
2024-07-25 20:46:25 +00:00
(protocol 2.X), please use the Net::GPSD package.
2011-05-12 07:23:43 +00:00
%prep
2024-07-25 20:46:25 +00:00
%autosetup -n %{cpan_name} -%{cpan_version}
2011-05-12 07:23:43 +00:00
%build
2024-07-25 20:46:25 +00:00
perl Makefile.PL INSTALLDIRS=vendor
%make_build
2011-05-12 07:23:43 +00:00
%check
2024-07-25 20:46:25 +00:00
make test
2011-05-12 07:23:43 +00:00
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
2024-07-25 20:46:25 +00:00
%doc Changes README Todo
%license LICENSE
2011-05-12 07:23:43 +00:00
%changelog