source: projects/specs/trunk/p/perl-Authen-Krb5/perl-Authen-Krb5-vl.spec @ 5878

Revision 5878, 3.7 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Authen-Krb5
2Version:        1.9
3Release:        1%{?_dist_release}
4Summary:        Krb5 Perl module
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Krb5/
8Source0:        http://www.cpan.org/authors/id/J/JH/JHORWITZ/Krb5-%{version}.tar.gz
9BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
10BuildRequires:  perl(ExtUtils::MakeMaker)
11BuildRequires:  krb5-devel
12Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13
14Vendor:         Project Vine
15Distribution:   Vine Linux
16
17%description
18Authen::Krb5 is an object oriented interface to the Kerberos 5 API. Both
19the implementation and documentation are nowhere near complete, and may
20require previous experience with Kerberos 5 programming. Most of the
21functions here are documented in detail in the Kerberos 5 API
22documentation.
23
24%prep
25%setup -q -n Krb5-%{version}
26
27# Fix the references to /usr/local/bin/perl
28sed -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
34mv Makefile.PL Makefile.PL.old
35cat 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}"
41make %{?_smp_mflags}
42
43%install
44rm -rf %{buildroot}
45
46make pure_install PERL_INSTALL_ROOT=%{buildroot}
47
48find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
50find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
51
52%{_fixperms} %{buildroot}
53chmod 644 sample_client sample_server simple_client simple_server
54
55%check
56make test
57
58%clean
59rm -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
69* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9-1
70- initial build for Vine Linux
71
72* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-4
73- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
74
75* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.9-3
76- Perl mass rebuild
77
78* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
80
81* Tue Feb 8 2011 Simon Wilkinson <simon@sxw.org.uk> - 1.9-1
82- 673472 Update to 1.9
83
84* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.7-10
85- 661697 rebuild for fixing problems with vendorach/lib
86
87* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.7-9
88- Mass rebuild with perl-5.12.0
89
90* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.7-8
91- rebuild against perl 5.10.1
92
93* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-7
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
95
96* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-6
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
98
99* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7-5
100Rebuild for new perl
101
102* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.7-4
103- Autorebuild for GCC 4.3
104
105* Tue Jan 29 2008 Simon Wilkinson <simon@sxw.org.uk> 1.7-3
106- Fix library path, so that libk5crypto is used, and not libcrypto
107
108* Mon Jan 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.7-2
109- Use sed, rather than a patch to fix references to perl binary
110  review comment)
111
112* Mon Jan 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.7-1
113- Specfile autogenerated by cpanspec 1.74.
Note: See TracBrowser for help on using the repository browser.