source: spec/trunk/SPECS/perl-Devel-CheckLib.spec@ 1566

Last change on this file since 1566 was 1325, checked in by Silvan Scherrer, 8 years ago

add newline to the end of the file

File size: 1.7 KB
Line 
1Name: perl-Devel-CheckLib
2Version: 1.11
3Release: 1%{?dist}
4Summary: Check that a library is available
5
6License: GPL+ or Artistic
7Group: Development/Libraries
8URL: http://search.cpan.org/dist/Devel-CheckLib/
9Vendor: bww bitwise works GmbH
10Source0: http://www.cpan.org/modules/by-module/Devel/Devel-CheckLib-%{version}.tar.gz
11
12BuildArch: noarch
13
14BuildRequires: make
15#BuildRequires: perl-interpreter
16BuildRequires: perl-generators
17BuildRequires: perl(ExtUtils::MakeMaker)
18# Run-time:
19BuildRequires: perl(Exporter)
20BuildRequires: perl(File::Spec)
21BuildRequires: perl(File::Temp) >= 0.16
22BuildRequires: perl(Text::ParseWords)
23# Tests:
24BuildRequires: perl(Cwd)
25BuildRequires: perl(File::Spec::Functions)
26BuildRequires: perl(IO::File)
27#BuildRequires: perl(IO::CaptureOutput) >= 1.0801
28BuildRequires: perl(lib)
29BuildRequires: perl(Test::More) >= 0.62
30# Optional tests
31#BuildRequires: perl(Mock::Config)
32
33Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
34
35%description
36Devel::CheckLib is a perl module that checks whether a particular C library
37and its headers are available.
38
39%prep
40%setup -q -n Devel-CheckLib-%{version}
41
42%build
43perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
44make %{?_smp_mflags}
45make manifypods
46
47%install
48make pure_install DESTDIR=$RPM_BUILD_ROOT
49find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
50%{_fixperms} $RPM_BUILD_ROOT/*
51
52%check
53#make test
54
55%files
56%doc CHANGES README TODO
57%{_bindir}/*
58%{perl_vendorlib}/Devel*
59%{_mandir}/man1/*.1*
60%{_mandir}/man3/*.3*
61
62%changelog
63* Wed Feb 21 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.11-1
64- initial rpm
Note: See TracBrowser for help on using the repository browser.