2010-11-30 12:37:40 +00:00
|
|
|
#
|
2015-04-17 07:31:40 +00:00
|
|
|
# spec file for package perl-ExtUtils-Install
|
2010-11-30 12:37:40 +00:00
|
|
|
#
|
2017-05-12 06:02:32 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2010-11-30 12:37:40 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2015-04-17 07:31:40 +00:00
|
|
|
|
2010-11-30 12:37:40 +00:00
|
|
|
Name: perl-ExtUtils-Install
|
2017-05-12 06:02:32 +00:00
|
|
|
Version: 2.08
|
2015-04-17 07:31:40 +00:00
|
|
|
Release: 0
|
2010-11-30 12:37:40 +00:00
|
|
|
%define cpan_name ExtUtils-Install
|
2015-04-17 07:31:40 +00:00
|
|
|
Summary: Install Files From Here to There
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2010-11-30 12:37:40 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/ExtUtils-Install/
|
2017-05-12 06:02:32 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
|
2015-04-17 07:31:40 +00:00
|
|
|
Source1: cpanspec.yml
|
2010-11-30 12:37:40 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2015-04-17 07:31:40 +00:00
|
|
|
%{perl_requires}
|
2010-11-30 12:37:40 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Handles the installing and uninstalling of perl modules, scripts, man
|
|
|
|
pages, etc...
|
|
|
|
|
|
|
|
Both install() and uninstall() are specific to the way ExtUtils::MakeMaker
|
|
|
|
handles the installation and deinstallation of perl modules. They are not
|
|
|
|
designed as general purpose tools.
|
|
|
|
|
|
|
|
On some operating systems such as Win32 installation may not be possible
|
2015-04-17 07:31:40 +00:00
|
|
|
until after a reboot has occurred. This can have varying consequences:
|
2010-11-30 12:37:40 +00:00
|
|
|
removing an old DLL does not impact programs using the new one, but if a
|
|
|
|
new DLL cannot be installed properly until reboot then anything depending
|
|
|
|
on it must wait. The package variable
|
|
|
|
|
|
|
|
$ExtUtils::Install::MUST_REBOOT
|
|
|
|
|
|
|
|
is used to store this status.
|
|
|
|
|
2015-04-17 07:31:40 +00:00
|
|
|
If this variable is true then such an operation has occurred and anything
|
|
|
|
depending on this module cannot proceed until a reboot has occurred.
|
2010-11-30 12:37:40 +00:00
|
|
|
|
|
|
|
If this value is defined but false then such an operation has ocurred, but
|
|
|
|
should not impact later operations.
|
|
|
|
|
2015-04-17 07:31:40 +00:00
|
|
|
* _chmod($$;$)
|
|
|
|
|
2017-05-12 06:02:32 +00:00
|
|
|
Wrapper to chmod() for debugging and error trapping.
|
2015-04-17 07:31:40 +00:00
|
|
|
|
|
|
|
* _warnonce(@)
|
|
|
|
|
2017-05-12 06:02:32 +00:00
|
|
|
Warns about something only once.
|
2015-04-17 07:31:40 +00:00
|
|
|
|
|
|
|
* _choke(@)
|
|
|
|
|
2017-05-12 06:02:32 +00:00
|
|
|
Dies with a special message.
|
2010-11-30 12:37:40 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2015-04-17 07:31:40 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2010-11-30 12:37:40 +00:00
|
|
|
|
|
|
|
%check
|
2015-04-17 07:31:40 +00:00
|
|
|
%{__make} test
|
2010-11-30 12:37:40 +00:00
|
|
|
|
|
|
|
%install
|
2015-04-17 07:31:40 +00:00
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2010-11-30 12:37:40 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2015-04-17 07:31:40 +00:00
|
|
|
%defattr(-,root,root,755)
|
2017-05-12 06:02:32 +00:00
|
|
|
%doc Changes README
|
2010-11-30 12:37:40 +00:00
|
|
|
|
|
|
|
%changelog
|