perl-Authen-Radius-vl.spec 3.3 KB

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