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