]> git.pld-linux.org Git - packages/perl-Device-ParallelPort-drv-parport.git/blame - perl-Device-ParallelPort-drv-parport.spec
rebuild with perl 5.32
[packages/perl-Device-ParallelPort-drv-parport.git] / perl-Device-ParallelPort-drv-parport.spec
CommitLineData
6405febc 1#
80b7c984
MP
2# Conditional build:
3%bcond_without tests # do perform "make test"
0e6ef7a9 4
b705bf99 5%define pdir Device
6%define pnam ParallelPort-drv-parport
adf9d325 7Summary: Device::ParallelPort - driver that uses direct I/O access
b23e2cd3 8Summary(pl.UTF-8): Device::ParallelPort - sterownik używający bezpośredniego wejścia/wyjścia
80b7c984
MP
9Name: perl-Device-ParallelPort-drv-parport
10Version: 1.0
b959eec3 11Release: 15
980b4cf2 12# same as perl (?)
13# README says it is Artistic only, LICENSE says it is LGPL or Artistic
14License: GPL v1+ or Artistic
80b7c984
MP
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 901987e4a37bfe2d7241530bda05f36e
0e6ef7a9 18URL: http://search.cpan.org/dist/Device-ParallelPort-drv-parport/
6405febc 19BuildRequires: perl-devel >= 1:5.8.0
80b7c984
MP
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
6405febc 22BuildRequires: perl-Device-ParallelPort
80b7c984
MP
23%endif
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
6405febc
JB
27This is a Device::ParallelPort driver that uses direct I/O access on
28Linux. It uses the Linux parport driver and is definitely the prefered
29access method on Linux. It also means that you do not require root
30access.
31
a8d8a809
JR
32%description -l pl.UTF-8
33To jest sterownik Device::ParallelPort używający bezpośredniego
34dostępu do wejścia/wyjścia pod Linuksem. Korzysta z linuksowego
0e6ef7a9
ER
35sterownika portu równoległego i jest preferowaną metodą dostępu na
36Linuksie. Oznacza to także, że nie trzeba mieć praw roota.
80b7c984
MP
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44
6405febc
JB
45%{__make} \
46 OPTMIZE="%{rpmcflags}"
80b7c984 47
6405febc 48%{?with_tests:%{__make} test}
80b7c984
MP
49
50%install
51rm -rf $RPM_BUILD_ROOT
6405febc
JB
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
80b7c984
MP
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
6405febc
JB
61%doc Changes README
62%dir %{perl_vendorarch}/Device/ParallelPort
63%dir %{perl_vendorarch}/Device/ParallelPort/drv
80b7c984 64%{perl_vendorarch}/Device/ParallelPort/drv/parport.pm
6405febc
JB
65%dir %{perl_vendorarch}/auto/Device/ParallelPort
66%dir %{perl_vendorarch}/auto/Device/ParallelPort/drv
67%dir %{perl_vendorarch}/auto/Device/ParallelPort/drv/parport
80b7c984
MP
68%attr(755,root,root) %{perl_vendorarch}/auto/Device/ParallelPort/drv/parport/parport.so
69%{_mandir}/man3/*
This page took 0.086281 seconds and 4 git commands to generate.