source: projects/specs/trunk/p/perl-Net-Radius/perl-Net-Radius-vl.spec @ 9187

Revision 9187, 1.6 KB checked in by inagaki, 9 years ago (diff)

2014-12-23 Ryoichi INAGAKI <ryo1@…>

  • perl-CGI-FormBuilder?, perl-Devel-{EnforceEncapsulation?, GlobalDestruction?}, perl-Moose, perl-Net-{Pcap, Radius, Telnet, Write}, perl-Template-Toolkit, perl-Text-Unidecode, perl-XML-RSS: updated
  • perl-CGI-SSI, perl-Geography-Countries, perl-MIME-Lite-TT, perl-MP3-Info, perl-Text-Glob: rebuilt
  • perl-Sub-Exporter-Progressive: new


Line 
1%define real_name Net-Radius
2
3Summary:        Object-oriented Perl interface to RADIUS
4Name:           perl-Net-Radius
5Version:        2.103
6Release:        1%{?_dist_release}
7License:        Artistic or GPL+
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/Net-Radius/
10Source:         http://www.cpan.org/modules/by-module/Net/Net-Radius-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildArch:      noarch
13BuildRequires:  perl
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  perl(Digest::MD5)
16BuildRequires:  perl(Test::More)
17BuildRequires:  perl(Test::Warn)
18Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
19
20%description
21Object-oriented Perl interface to RADIUS.
22
23%prep
24%setup -q -n %{real_name}-%{version}
25
26%build
27%{__perl} Makefile.PL INSTALLDIRS=vendor
28make %{?_smp_mflags}
29
30%install
31rm -rf %{buildroot}
32make pure_install PERL_INSTALL_ROOT=%{buildroot}
33find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
34find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
35find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
36chmod -R u+w %{buildroot}/*
37find contrib/ docs/ examples/ -type f -exec %{__chmod} a-x {} \;
38
39%clean
40rm -rf %{buildroot}
41
42%check
43make test
44
45%files
46%defattr(-, root, root, -)
47%doc Changes MANIFEST MANIFEST.SKIP META.yml
48%doc README README.3COM README.VSA README.broken README.packets README.server
49%doc contrib/ docs/ examples/
50%{perl_vendorlib}/*
51%{_mandir}/man3/*
52
53%changelog
54* Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.103-1
55- updated to 2.103
56- built with perl 5.16.3
57
58* Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.56-1
59- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.