[5803] | 1 | Name: perl-ExtUtils-CChecker |
---|
| 2 | Version: 0.04 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Configure-time utilities for using C headers, libraries, or OS features |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/ExtUtils-CChecker/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/ExtUtils-CChecker-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl(ExtUtils::CBuilder) |
---|
| 12 | BuildRequires: perl(Module::Build) |
---|
| 13 | BuildRequires: perl(Test::Exception) |
---|
| 14 | BuildRequires: perl(Test::More) |
---|
| 15 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
| 16 | Requires: perl(ExtUtils::CBuilder) |
---|
| 17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | Often Perl modules are written to wrap functionality found in existing C |
---|
| 21 | headers, libraries, or to use OS-specific features. It is useful in the |
---|
| 22 | Build.PL or Makefile.PL file to check for the existence of these |
---|
| 23 | requirements before attempting to actually build the module. |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n ExtUtils-CChecker-%{version} |
---|
| 27 | |
---|
| 28 | %build |
---|
| 29 | %{__perl} Build.PL installdirs=vendor |
---|
| 30 | ./Build |
---|
| 31 | |
---|
| 32 | %install |
---|
| 33 | rm -rf %{buildroot} |
---|
| 34 | |
---|
| 35 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
| 36 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 37 | |
---|
| 38 | %{_fixperms} %{buildroot}/* |
---|
| 39 | |
---|
| 40 | %check |
---|
| 41 | ./Build test |
---|
| 42 | |
---|
| 43 | %clean |
---|
| 44 | rm -rf %{buildroot} |
---|
| 45 | |
---|
| 46 | %files |
---|
| 47 | %defattr(-,root,root,-) |
---|
| 48 | %doc Changes LICENSE README |
---|
| 49 | %{perl_vendorlib}/* |
---|
| 50 | %{_mandir}/man3/* |
---|
| 51 | |
---|
| 52 | %changelog |
---|
| 53 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1 |
---|
| 54 | - initial build for Vine Linux |
---|
| 55 | |
---|
| 56 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-5 |
---|
| 57 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 58 | |
---|
| 59 | * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-4 |
---|
| 60 | - Perl mass rebuild |
---|
| 61 | |
---|
| 62 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3 |
---|
| 63 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 64 | |
---|
| 65 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-2 |
---|
| 66 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 67 | |
---|
| 68 | * Sun Aug 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.04-1 |
---|
| 69 | - Update to 0.04 |
---|
| 70 | |
---|
| 71 | * Tue Jun 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.03-2 |
---|
| 72 | - rebuilt for perl |
---|
| 73 | |
---|
| 74 | * Mon Apr 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.03-1 |
---|
| 75 | - Specfile autogenerated by cpanspec 1.78. |
---|