forked from pool/perl-Probe-Perl
Accepting request 30406 from devel:languages:perl
Copy from devel:languages:perl/perl-Probe-Perl based on submit request 30406 from user anicka OBS-URL: https://build.opensuse.org/request/show/30406 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Probe-Perl?expand=0&rev=1
This commit is contained in:
61
perl-Probe-Perl.spec
Normal file
61
perl-Probe-Perl.spec
Normal file
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# spec file for package perl-Probe-Perl (Version 0.01)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-Probe-Perl
|
||||
Version: 0.01
|
||||
Release: 1
|
||||
Summary: Information about the currently running perl
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Url: http://search.cpan.org/dist/Probe-Perl/
|
||||
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
This module provides methods for obtaining information about the currently
|
||||
running perl interpreter. It originally began life as code in the
|
||||
Module::Build project, but has been externalized here for general use.
|
||||
|
||||
%prep
|
||||
%setup -q -n Probe-Perl-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user