]> git.pld-linux.org Git - packages/perl-Socket6.git/blob - perl-Socket6.spec
- adapterized.
[packages/perl-Socket6.git] / perl-Socket6.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        perl-Socket6 perl module
3 Summary(pl):    Modu³ perla perl-Socket6
4 Name:           perl-Socket6
5 Version:        0.07
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Socket6-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 %requires_eq    perl
14 Requires:       %{perl_sitearch}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 perl-Socket6 is a module that implements a IPv6 API for Perl programs.
19
20 %description -l pl
21 perl-Socket6 jest modu³em umo¿liwiaj±cych dostêp do us³ug IPv6 z
22 poziomu programów perla.
23
24 %prep
25 %setup -q -n Socket6-%{version}
26
27 %build
28 perl Makefile.PL
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT
34
35 %{__make} install DESTDIR=$RPM_BUILD_ROOT
36
37
38 (
39   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Socket6
40   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
41   mv -f .packlist.new .packlist
42 )
43
44 gzip -9nf ChangeLog README 
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc {ChangeLog,README}.gz
52
53 %{perl_sitearch}/Socket6.pm
54 %{perl_sitearch}/auto/Socket6
This page took 0.045721 seconds and 4 git commands to generate.