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