Group :: Desenvolvimento/Outros
RPM: perl-ExtUtils-InstallPaths
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-ExtUtils-InstallPaths
Version: 0.012
Release: alt1_7
Summary: Build.PL install path logic made easy
License: GPL+ or Artistic
URL: https://metacpan.org/release/ExtUtils-InstallPaths
Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-InstallPaths-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module
BuildRequires: perl(Carp.pm)
BuildRequires: perl(ExtUtils/Config.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(Config.pm)
BuildRequires: perl(File/Spec/Functions.pm)
BuildRequires: perl(File/Temp.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
# Runtime
%description
This module tries to make install path resolution as easy as possible.
When you want to install a module, it needs to figure out where to install
things. The nutshell version of how this works is that default installation
locations are determined from ExtUtils::Config, and they may be individually
overridden by using the install_path attribute. An install_base attribute lets
you specify an alternative installation root like /home/foo and prefix does
something similar in a rather different (and more complicated) way. destdir
lets you specify a temporary installation directory like /tmp/install in case
you want to create bundled-up installable packages.
%prep
%setup -q -n ExtUtils-InstallPaths-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
# %{_fixperms} -c %{buildroot}
%check
make test
%files
%if 0%{?_licensedir:1}
%doc --no-dereference LICENSE
%else
%doc LICENSE
%endif
%doc Changes
%{perl_vendor_privlib}/ExtUtils/
%changelog
…
Todas as alterações você pod ver aqui
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-ExtUtils-InstallPaths
Version: 0.012
Release: alt1_7
Summary: Build.PL install path logic made easy
License: GPL+ or Artistic
URL: https://metacpan.org/release/ExtUtils-InstallPaths
Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-InstallPaths-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Module
BuildRequires: perl(Carp.pm)
BuildRequires: perl(ExtUtils/Config.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Test Suite
BuildRequires: perl(Config.pm)
BuildRequires: perl(File/Spec/Functions.pm)
BuildRequires: perl(File/Temp.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
# Runtime
%description
This module tries to make install path resolution as easy as possible.
When you want to install a module, it needs to figure out where to install
things. The nutshell version of how this works is that default installation
locations are determined from ExtUtils::Config, and they may be individually
overridden by using the install_path attribute. An install_base attribute lets
you specify an alternative installation root like /home/foo and prefix does
something similar in a rather different (and more complicated) way. destdir
lets you specify a temporary installation directory like /tmp/install in case
you want to create bundled-up installable packages.
%prep
%setup -q -n ExtUtils-InstallPaths-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
# %{_fixperms} -c %{buildroot}
%check
make test
%files
%if 0%{?_licensedir:1}
%doc --no-dereference LICENSE
%else
%doc LICENSE
%endif
%doc Changes
%{perl_vendor_privlib}/ExtUtils/
%changelog
…
Todas as alterações você pod ver aqui