| 1 | Name: perl-Devel-CheckLib
|
|---|
| 2 | Version: 1.11
|
|---|
| 3 | Release: 1%{?dist}
|
|---|
| 4 | Summary: Check that a library is available
|
|---|
| 5 |
|
|---|
| 6 | License: GPL+ or Artistic
|
|---|
| 7 | Group: Development/Libraries
|
|---|
| 8 | URL: http://search.cpan.org/dist/Devel-CheckLib/
|
|---|
| 9 | Vendor: bww bitwise works GmbH
|
|---|
| 10 | Source0: http://www.cpan.org/modules/by-module/Devel/Devel-CheckLib-%{version}.tar.gz
|
|---|
| 11 |
|
|---|
| 12 | BuildArch: noarch
|
|---|
| 13 |
|
|---|
| 14 | BuildRequires: make
|
|---|
| 15 | #BuildRequires: perl-interpreter
|
|---|
| 16 | BuildRequires: perl-generators
|
|---|
| 17 | BuildRequires: perl(ExtUtils::MakeMaker)
|
|---|
| 18 | # Run-time:
|
|---|
| 19 | BuildRequires: perl(Exporter)
|
|---|
| 20 | BuildRequires: perl(File::Spec)
|
|---|
| 21 | BuildRequires: perl(File::Temp) >= 0.16
|
|---|
| 22 | BuildRequires: perl(Text::ParseWords)
|
|---|
| 23 | # Tests:
|
|---|
| 24 | BuildRequires: perl(Cwd)
|
|---|
| 25 | BuildRequires: perl(File::Spec::Functions)
|
|---|
| 26 | BuildRequires: perl(IO::File)
|
|---|
| 27 | #BuildRequires: perl(IO::CaptureOutput) >= 1.0801
|
|---|
| 28 | BuildRequires: perl(lib)
|
|---|
| 29 | BuildRequires: perl(Test::More) >= 0.62
|
|---|
| 30 | # Optional tests
|
|---|
| 31 | #BuildRequires: perl(Mock::Config)
|
|---|
| 32 |
|
|---|
| 33 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|---|
| 34 |
|
|---|
| 35 | %description
|
|---|
| 36 | Devel::CheckLib is a perl module that checks whether a particular C library
|
|---|
| 37 | and its headers are available.
|
|---|
| 38 |
|
|---|
| 39 | %prep
|
|---|
| 40 | %setup -q -n Devel-CheckLib-%{version}
|
|---|
| 41 |
|
|---|
| 42 | %build
|
|---|
| 43 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|---|
| 44 | make %{?_smp_mflags}
|
|---|
| 45 | make manifypods
|
|---|
| 46 |
|
|---|
| 47 | %install
|
|---|
| 48 | make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|---|
| 49 | find $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
|
|---|