Initial import

f38
Jitka Plesnikova 7 years ago
parent 6db47dea2e
commit 60cc2a2c5f

1
.gitignore vendored

@ -0,0 +1 @@
/lib-relative-0.002.tar.gz

@ -1,3 +0,0 @@
# perl-lib-relative
This module proposes a straightforward method for adding local directory to @INC. It takes a path relative to the current file, absolutize it, and add it to @INC.

@ -0,0 +1,51 @@
Name: perl-lib-relative
Version: 0.002
Release: 1%{?dist}
Summary: Add paths relative to the current file to @INC
License: Artistic 2.0
URL: http://search.cpan.org/dist/lib-relative/
Source0: http://www.cpan.org/authors/id/D/DB/DBOOK/lib-relative-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.6.1
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
# Tests
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module proposes a straightforward method for adding local directory to
@INC. It takes a path relative to the current file, absolutize it, and add
it to @INC.
%prep
%setup -q -n lib-relative-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Oct 11 2017 Jitka Plesnikova <jplesnik@redhat.com> 0.002-1
- Specfile autogenerated by cpanspec 1.78.

@ -0,0 +1 @@
SHA512 (lib-relative-0.002.tar.gz) = ebe552fbc4967dd8615e2a1ecde69000358b3909095c66b557a6dd68c1a4744ca586dc91d2cf1b679a57ef981ec79a4689ba9c3f846393f4f48e528e85c326b0
Loading…
Cancel
Save