File: perl-Net-GPSD3.spec

package info (click to toggle)
libnet-gpsd3-perl 0.19-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 244 kB
  • sloc: perl: 589; makefile: 2
file content (70 lines) | stat: -rw-r--r-- 2,203 bytes parent folder | download | duplicates (3)
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
Name:           perl-Net-GPSD3
Version:        0.19
Release:        2%{?dist}
Summary:        Interface to the gpsd server daemon protocol versions 3 (JSON)
License:        BSD
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Net-GPSD3/
Source0:        http://www.cpan.org/modules/by-module/Net/Net-GPSD3-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::Simple) >= 0.44
Requires:       perl(DateTime)
Requires:       perl(DateTime::Format::W3CDTF) >= 0.06
Requires:       perl(GPS::Point) >= 0.10
Requires:       perl(IO::Socket::INET6)
Requires:       perl(JSON::XS)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%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
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
(protocol 2.X), please use the L<Net::GPSD> package.

%prep
%setup -q -n Net-GPSD3-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes LICENSE perl-Net-GPSD3.spec README Todo
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Dec 29 2011 Michael R. Davis (mdavis@stopllc.com) 0.19-2
- Merged changes from SVN

* Thu Dec 29 2011 Michael R. Davis (mdavis@stopllc.com) 0.19-1
- Updated for version 0.19

* Tue Dec 27 2011 Michael R. Davis (mdavis@stopllc.com) 0.18-2
- Updated GPSD URL in description

* Tue Dec 27 2011 Michael R. Davis (mdavis@stopllc.com) 0.18-1
- Updated for version 0.18

* Fri Apr 08 2011 Michael R. Davis (mdavis@stopllc.com) 0.16-1
- Specfile autogenerated by cpanspec 1.78.