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

Revision 9185, 3.8 KB checked in by inagaki, 9 years ago (diff)

2014-12-23 Ryoichi INAGAKI <ryo1@…>

  • perl-Authen-{Krb5, Krb5-Simple}, perl-Gnome2-{Canvas, GConf, VFS, Wnck}, perl-Gtk2-RDF-Core: rebuilt
  • perl-Gnome2, perl-Gtk2-{GladeXML, ImageView?}, perl-NetPacket?: updated


Line 
1Name:           perl-Authen-Krb5
2Version:        1.9
3Release:        2%{?_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:      %{_tmppath}/%{name}-%{version}-root
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* Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9-2
70- rebuilt with perl 5.16.3
71
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
103Rebuild 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.
Note: See TracBrowser for help on using the repository browser.