commit bb777df8c6bfc916bc995fb877e277f1b86d261e791b244eb0c6e95e42a7d955 Author: Stephan Kulow Date: Tue Oct 10 05:19:25 2017 +0000 initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Build?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Alien-Build-1.25.tar.gz b/Alien-Build-1.25.tar.gz new file mode 100644 index 0000000..4ade33a --- /dev/null +++ b/Alien-Build-1.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59f6094755ae23a8a1956128f10971fabd840a8a309154fe0964d69239041f4b +size 212527 diff --git a/perl-Alien-Build.changes b/perl-Alien-Build.changes new file mode 100644 index 0000000..e0883af --- /dev/null +++ b/perl-Alien-Build.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Oct 10 05:19:19 UTC 2017 - coolo@suse.com + +- initial package 1.25 + * created by cpanspec 1.78.08 diff --git a/perl-Alien-Build.spec b/perl-Alien-Build.spec new file mode 100644 index 0000000..5831c94 --- /dev/null +++ b/perl-Alien-Build.spec @@ -0,0 +1,114 @@ +# +# spec file for package perl-Alien-Build +# +# Copyright (c) 2017 SUSE LINUX 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-Alien-Build +Version: 1.25 +Release: 0 +%define cpan_name Alien-Build +Summary: Build external dependencies for use in CPAN +License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Alien-Build/ +Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Capture::Tiny) >= 0.17 +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(ExtUtils::ParseXS) >= 3.30 +BuildRequires: perl(FFI::CheckLib) >= 0.11 +BuildRequires: perl(File::Which) >= 1.10 +BuildRequires: perl(File::chdir) +BuildRequires: perl(JSON::PP) +BuildRequires: perl(Module::Load) +BuildRequires: perl(Path::Tiny) >= 0.077 +BuildRequires: perl(Test2::API) >= 1.302015 +BuildRequires: perl(Test2::Mock) >= 0.000060 +BuildRequires: perl(Test2::Require) >= 0.000060 +BuildRequires: perl(Test2::Require::Module) >= 0.000060 +BuildRequires: perl(Test2::V0) >= 0.000060 +BuildRequires: perl(Text::ParseWords) >= 3.26 +Requires: perl(Capture::Tiny) >= 0.17 +Requires: perl(ExtUtils::CBuilder) +Requires: perl(ExtUtils::ParseXS) >= 3.30 +Requires: perl(FFI::CheckLib) >= 0.11 +Requires: perl(File::Which) >= 1.10 +Requires: perl(File::chdir) +Requires: perl(JSON::PP) +Requires: perl(Module::Load) +Requires: perl(Path::Tiny) >= 0.077 +Requires: perl(Test2::API) >= 1.302015 +Requires: perl(Test2::Require) >= 0.000060 +Requires: perl(Text::ParseWords) >= 3.26 +%{perl_requires} + +%description +This module provides tools for building external (non-CPAN) dependencies +for CPAN. It is mainly designed to be used at install time of a CPAN +client, and work closely with Alien::Base which is used at runtime. + +This is the detailed documentation for the Alien::Build class. If you are +starting out you probably want to do so from one of these documents: + +* Alien::Build::Manual::AlienUser + +For users of an 'Alien::libfoo' that is implemented using Alien::Base. (The +developer of 'Alien::libfoo' _should_ provide the documentation necessary, +but if not, this is the place to start). + +* Alien::Build::Manual::AlienAuthor + +If you are writing your own Alien based on Alien::Build and Alien::Base. + +* Alien::Build::Manual::FAQ + +If you have a common question that has already been answered, like "How do +I use alienfile with some build system". + +* Alien::Build::Manual::PluginAuthor + +This is for the brave souls who want to write plugins that will work with +Alien::Build + alienfile. + +Note that you will usually not usually create a Alien::Build instance +directly, but rather be using a thin installer layer, such as +Alien::Build::MM (for use with ExtUtils::MakeMaker). One of the goals of +this project is to remain installer agnostic. + +%prep +%setup -q -n %{cpan_name}-%{version} +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc author.yml Changes Changes.Alien-Base Changes.Alien-Base-Wrapper Changes.Test-Alien example README SUPPORT +%license LICENSE + +%changelog