2011-03-04 21:04:48 +00:00
|
|
|
#
|
2011-09-30 07:09:49 +00:00
|
|
|
# spec file for package perl-Sub-Spec
|
2011-03-04 21:04:48 +00:00
|
|
|
#
|
2012-02-20 08:40:22 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-03-04 21:04:48 +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/
|
|
|
|
#
|
2011-03-03 20:41:17 +00:00
|
|
|
|
2012-02-20 08:40:22 +00:00
|
|
|
|
2011-03-03 20:41:17 +00:00
|
|
|
Name: perl-Sub-Spec
|
2012-02-20 08:40:22 +00:00
|
|
|
Version: 1.0.7
|
2011-12-19 13:11:17 +00:00
|
|
|
Release: 0
|
2011-03-04 21:04:48 +00:00
|
|
|
%define cpan_name Sub-Spec
|
2012-02-20 08:40:22 +00:00
|
|
|
Summary: Subroutine metadata specification
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2011-03-03 20:41:17 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2011-12-19 13:11:17 +00:00
|
|
|
Url: http://search.cpan.org/dist/Sub-Spec/
|
2012-02-20 08:40:22 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/S/SH/SHARYANTO/%{cpan_name}-%{version}.tar.gz
|
2025-08-12 18:17:18 +02:00
|
|
|
Source100: README.md
|
2011-03-04 21:04:48 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
2011-03-03 20:41:17 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-03-04 21:04:48 +00:00
|
|
|
BuildRequires: perl(File::Which)
|
2011-04-07 17:50:44 +00:00
|
|
|
BuildRequires: perl(Log::Any)
|
2012-02-20 08:40:22 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.3601
|
2011-03-04 21:04:48 +00:00
|
|
|
BuildRequires: perl(Probe::Perl)
|
2011-04-07 17:50:44 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2012-02-20 08:40:22 +00:00
|
|
|
#BuildRequires: perl(Sub::Spec::Util)
|
2011-03-04 21:04:48 +00:00
|
|
|
Requires: perl(File::Which)
|
2011-04-07 17:50:44 +00:00
|
|
|
Requires: perl(Log::Any)
|
2011-03-04 21:04:48 +00:00
|
|
|
Requires: perl(Probe::Perl)
|
2011-04-07 17:50:44 +00:00
|
|
|
Requires: perl(Test::More) >= 0.96
|
2011-03-04 21:04:48 +00:00
|
|
|
%{perl_requires}
|
2011-03-03 20:41:17 +00:00
|
|
|
|
|
|
|
%description
|
2012-02-20 08:40:22 +00:00
|
|
|
Subroutine metadata specification
|
2011-04-07 17:50:44 +00:00
|
|
|
|
2011-03-03 20:41:17 +00:00
|
|
|
%prep
|
2011-03-04 21:04:48 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-03-03 20:41:17 +00:00
|
|
|
|
|
|
|
%build
|
2011-03-04 21:04:48 +00:00
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build build flags=%{?_smp_mflags}
|
2011-03-03 20:41:17 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
2011-03-04 21:04:48 +00:00
|
|
|
%install
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2011-04-07 17:50:44 +00:00
|
|
|
%defattr(-,root,root,755)
|
2011-04-15 07:29:43 +00:00
|
|
|
%doc Changes LICENSE README
|
2011-03-03 20:41:17 +00:00
|
|
|
|
2011-03-04 21:04:48 +00:00
|
|
|
%changelog
|