perl-Authen-Radius-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. Name: perl-Authen-Radius
  2. Version: 0.24
  3. Release: 1%{?_dist_release}
  4. Summary: Perl Authen::Radius modules
  5. # See LICENSING.txt
  6. License: Artistic 2.0
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/RadiusPerl/
  9. Source0: http://search.cpan.org/CPAN/authors/id/P/PO/PORTAONE/Authen-Radius-%{version}.tar.gz
  10. Source1: LICENSING.txt
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildArch: noarch
  13. BuildRequires: perl(Data::Dumper)
  14. BuildRequires: perl(Data::HexDump) >= 0.02
  15. BuildRequires: perl(Digest::MD5) >= 2.20
  16. BuildRequires: perl(IO) >= 1.12
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. RadiusPerl is a Perl 5 module (Radius.pm) which allows you to
  22. communicate with a Radius server from Perl. You can just authenticate
  23. usernames/passwords via Radius, or completely imitate AAA requests and
  24. process server response.
  25. %prep
  26. %setup -q -n Authen-Radius-%{version}
  27. cp %{SOURCE1} .
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  34. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  35. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
  36. chmod -R u+rwX,go+rX,go-w %{buildroot}/*
  37. %check
  38. # Disabled check, as a running Radius-server is needed
  39. #make test
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc Changes README LICENSING.txt
  45. %{perl_vendorlib}/*
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.24-1
  49. - updated to 0.24
  50. - added BR: perl(Data::Dumper)
  51. * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org>- 0.13-1
  52. - initial build for Vine Linux
  53. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-11
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  55. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-10
  56. - Perl mass rebuild
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-9
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-8
  60. - 661697 rebuild for fixing problems with vendorach/lib
  61. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-7
  62. - Mass rebuild with perl-5.12.0
  63. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.13-6
  64. - rebuild against perl 5.10.1
  65. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-5
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-4
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  69. * Tue Sep 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.13-3
  70. - fix license tag (with permission from upstream)
  71. * Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.13-2
  72. - rebuild for new perl
  73. * Sat Mar 10 2007 Andreas Thienemann <andreas@bawue.net> - 0.13-1
  74. - Updated to 0.13
  75. - Added perl-devel BuildReq
  76. * Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 0.12-3
  77. - FE6 Rebuild
  78. * Thu Apr 13 2006 Andreas Thienemann <andreas@bawue.net> 0.12-2
  79. - Final cleanup for inclusion.
  80. * Wed Mar 29 2006 Andreas Thienemann <andreas@bawue.net> 0.12-1
  81. - Cleaned up for FE
  82. - Specfile autogenerated by cpanspec 1.64.