]> git.pld-linux.org Git - packages/perl-Socket6.git/blame - perl-Socket6.spec
- up to 0.29
[packages/perl-Socket6.git] / perl-Socket6.spec
CommitLineData
3a4ba478 1#
2# Conditional build:
1ad5ea7b 3%bcond_without tests # do not perform "make test"
3a4ba478 4#
ceba953d 5%include /usr/lib/rpm/macros.perl
6300954d 6%define pdir Socket6
7%define pnam Socket6
c02fb4a0
JB
8Summary: Socket6 Perl module - IPv6-related part of the C socket.h defines and structure manipulators
9Summary(pl.UTF-8): Moduł Perla Socket6 - definicje i operacje na strukturach socket.h związanych z IPv6
ceba953d 10Name: perl-Socket6
04550811
AM
11Version: 0.29
12Release: 1
3a4ba478 13License: BSD-like
ceba953d 14Group: Development/Languages/Perl
df54bf50 15Source0: http://www.cpan.org/modules/by-module/Socket6/%{pnam}-%{version}.tar.gz
04550811 16# Source0-md5: dab4b2dcc76f81b8bedea72d8fd1bc28
df54bf50 17URL: http://search.cpan.org/dist/Socket6/
f2aafb60 18BuildRequires: rpm-perlprov >= 4.1-13
e4f88c2f 19BuildRequires: perl-devel >= 1:5.8.0
ceba953d
AF
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
c02fb4a0
JB
23The Socket6 module provides glue routines to the various IPv6
24functions.
ceba953d 25
e80ec47c 26%description -l pl.UTF-8
c02fb4a0 27Moduł Socket6 udostępnia perlowy interfejs do różnych funkcji IPv6.
ceba953d
AF
28
29%prep
5cf0dad1 30%setup -q -n %{pnam}-%{version}
ceba953d
AF
31
32%build
f2aafb60 33%{__perl} Makefile.PL \
d2680df3 34 INSTALLDIRS=vendor
ceba953d 35%{__make}
0ab242b3 36pod2man --section=3pm Socket6.pm >Socket6.3pm
ceba953d 37
3a4ba478 38%{?with_tests:%{__make} test}
39
ceba953d
AF
40%install
41rm -rf $RPM_BUILD_ROOT
5cf0dad1 42install -d $RPM_BUILD_ROOT%{_mandir}/man3
ceba953d 43
5deb819f 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
5cf0dad1 46install Socket6.3pm $RPM_BUILD_ROOT%{_mandir}/man3
ceba953d
AF
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
5cf0dad1 53%doc ChangeLog README
df54bf50
JB
54%{perl_vendorarch}/Socket6.pm
55%dir %{perl_vendorarch}/auto/Socket6
df54bf50 56%attr(755,root,root) %{perl_vendorarch}/auto/Socket6/Socket6.so
c02fb4a0 57%{_mandir}/man3/Socket6.3pm*
This page took 0.093613 seconds and 4 git commands to generate.