]> git.pld-linux.org Git - packages/perl-Device-SerialPort.git/blame - perl-Device-SerialPort.spec
- hack device test (fixes build with devfs and no ttyS device)
[packages/perl-Device-SerialPort.git] / perl-Device-SerialPort.spec
CommitLineData
e9d4915a 1#
2# Conditional build:
944b1b5b
JB
3%bcond_with tests # perform "make test" (uses serial port)
4#
e9d4915a 5%include /usr/lib/rpm/macros.perl
6%define pdir Device
7%define pnam SerialPort
32cd4b82 8Summary: Device::SerialPort - Linux/POSIX emulation of Win32::SerialPort functions
9Summary(pl): Device::SerialPort - zgodna z POSIX emulacja funcji Win32::SerialPort w Linuksie
e9d4915a 10Name: perl-Device-SerialPort
4d92eef9 11Version: 1.000002
944b1b5b 12Release: 2
453fa268 13# same as perl
14License: GPL v1+ or Artistic
e9d4915a 15Group: Development/Languages/Perl
52420bd1 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
4d92eef9 17# Source0-md5: f53db3733679adc5d05d06fa530444b6
5f15a341 18BuildRequires: perl-devel >= 1:5.8.0
fa9295a8 19BuildRequires: rpm-perlprov >= 4.1-13
e9d4915a 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
32cd4b82 23Device::SerialPort module provides an object-based user interface
24essentially identical to the one provided by the Win32::SerialPort
25module.
e9d4915a 26
32cd4b82 27%description -l pl
28