File perl-Ham-APRS-FAP.spec of Package perl-Ham-APRS-FAP
#
# spec file for package perl-Ham-APRS-FAP
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: perl-Ham-APRS-FAP
Version: 1.20
Release: 0
%define cpan_name Ham-APRS-FAP
Summary: Finnish APRS Parser (Fabulous APRS Parser)
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Ham-APRS-FAP/
Source: http://www.cpan.org/authors/id/H/HE/HESSU/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Date::Calc) >= 5.00
#BuildRequires: perl(Ham::APRS::FAP)
#BuildRequires: perl(Ham::APRS::IS)
Requires: perl(Date::Calc) >= 5.00
%{perl_requires}
%description
Unless a debugging mode is enabled, all errors and warnings are reported
through the API (as opposed to printing on STDERR or STDOUT), so that they
can be reported nicely on the user interface of an application. This parser
is not known to crash on invalid packets. It is used to power the the
http://aprs.fi/ manpage web site.
APRS features specifically NOT handled by this module:
* * special objects (area, signpost, etc)
* * network tunneling/third party packets
* * direction finding
* * station capability queries
* * status reports (partially)
* * user defined data formats
This module is based (on those parts that are implemented) on APRS
specification 1.0.1.
This module requires a reasonably recent the Date::Calc manpage module.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples LICENSE README
%changelog