perl-Authen-Krb5-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Name: perl-Authen-Krb5
  2. Version: 1.9
  3. Release: 2%{?_dist_release}
  4. Summary: Krb5 Perl module
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Krb5/
  8. Source0: http://www.cpan.org/authors/id/J/JH/JHORWITZ/Krb5-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. BuildRequires: krb5-devel
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. Authen::Krb5 is an object oriented interface to the Kerberos 5 API. Both
  17. the implementation and documentation are nowhere near complete, and may
  18. require previous experience with Kerberos 5 programming. Most of the
  19. functions here are documented in detail in the Kerberos 5 API
  20. documentation.
  21. %prep
  22. %setup -q -n Krb5-%{version}
  23. # Fix the references to /usr/local/bin/perl
  24. sed -i 's|/usr/local/bin/perl|/usr/bin/perl|' \
  25. sample_client sample_server simple_client simple_server
  26. %build
  27. # Rewrite the Makefile with our local paths
  28. mv Makefile.PL Makefile.PL.old
  29. cat Makefile.PL.old | \
  30. sed -e's|/usr/lib|%{_libdir}|' \
  31. -e's|/usr/include|%{_includedir}|' \
  32. > Makefile.PL
  33. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf %{buildroot}
  37. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  38. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  39. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  40. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  41. %{_fixperms} %{buildroot}
  42. chmod 644 sample_client sample_server simple_client simple_server
  43. %check
  44. make test
  45. %clean
  46. rm -rf %{buildroot}
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc Changes COPYRIGHT README sample_client sample_server simple_client simple_server TODO
  50. %{perl_vendorarch}/auto/*
  51. %{perl_vendorarch}/Authen
  52. %{_mandir}/man3/*
  53. %changelog
  54. * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9-2
  55. - rebuilt with perl 5.16.3
  56. * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9-1
  57. - initial build for Vine Linux
  58. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-4
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  60. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.9-3
  61. - Perl mass rebuild
  62. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  64. * Tue Feb 8 2011 Simon Wilkinson <simon@sxw.org.uk> - 1.9-1
  65. - 673472 Update to 1.9
  66. * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.7-10
  67. - 661697 rebuild for fixing problems with vendorach/lib
  68. * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.7-9
  69. - Mass rebuild with perl-5.12.0
  70. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.7-8
  71. - rebuild against perl 5.10.1
  72. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-7
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-6
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7-5
  77. Rebuild for new perl
  78. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.7-4
  79. - Autorebuild for GCC 4.3
  80. * Tue Jan 29 2008 Simon Wilkinson <simon@sxw.org.uk> 1.7-3
  81. - Fix library path, so that libk5crypto is used, and not libcrypto
  82. * Mon Jan 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.7-2
  83. - Use sed, rather than a patch to fix references to perl binary
  84. review comment)
  85. * Mon Jan 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.7-1
  86. - Specfile autogenerated by cpanspec 1.74.