source: projects/specs/trunk/p/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker-vl.spec @ 8676

Revision 8676, 2.5 KB checked in by iwaim, 10 years ago (diff)

perl-ExtUtils?-CChecker 0.04-2

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