commit ebe20e8343e1b9a4b266e4378dfcbdc242cba120832cac9a9f6f82609db68dc4 Author: Stephan Kulow Date: Tue May 30 14:10:54 2017 +0000 initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?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-Base-ModuleBuild-0.040.tar.gz b/Alien-Base-ModuleBuild-0.040.tar.gz new file mode 100644 index 0000000..e21486e --- /dev/null +++ b/Alien-Base-ModuleBuild-0.040.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc6ea1aa98893f0dad8e1c04d499a7d90da48b817a226495b96a711020a131b3 +size 65114 diff --git a/perl-Alien-Base-ModuleBuild.changes b/perl-Alien-Base-ModuleBuild.changes new file mode 100644 index 0000000..f2cc723 --- /dev/null +++ b/perl-Alien-Base-ModuleBuild.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue May 30 14:10:48 UTC 2017 - coolo@suse.com + +- initial package 0.040 + * created by cpanspec 1.78.08 diff --git a/perl-Alien-Base-ModuleBuild.spec b/perl-Alien-Base-ModuleBuild.spec new file mode 100644 index 0000000..a7b1766 --- /dev/null +++ b/perl-Alien-Base-ModuleBuild.spec @@ -0,0 +1,92 @@ +# +# spec file for package perl-Alien-Base-ModuleBuild +# +# 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-Base-ModuleBuild +Version: 0.040 +Release: 0 +%define cpan_name Alien-Base-ModuleBuild +Summary: Module::Build subclass for building Alien:: modules and their libraries +License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Alien-Base-ModuleBuild/ +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(Archive::Extract) +BuildRequires: perl(Capture::Tiny) >= 0.17 +BuildRequires: perl(File::ShareDir) +BuildRequires: perl(File::chdir) >= 0.1005 +BuildRequires: perl(HTTP::Tiny) >= 0.044 +BuildRequires: perl(JSON::PP) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(Module::Build) >= 0.360000 +BuildRequires: perl(Shell::Config::Generate) +BuildRequires: perl(Shell::Guess) +BuildRequires: perl(Sort::Versions) +BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(Text::ParseWords) >= 3.26 +BuildRequires: perl(URI) +BuildRequires: perl(parent) +Requires: perl(Archive::Extract) +Requires: perl(Capture::Tiny) >= 0.17 +Requires: perl(File::ShareDir) +Requires: perl(File::chdir) >= 0.1005 +Requires: perl(HTTP::Tiny) >= 0.044 +Requires: perl(JSON::PP) +Requires: perl(List::MoreUtils) +Requires: perl(Module::Build) >= 0.360000 +Requires: perl(Shell::Config::Generate) +Requires: perl(Shell::Guess) +Requires: perl(Sort::Versions) +Requires: perl(Text::ParseWords) >= 3.26 +Requires: perl(URI) +Requires: perl(parent) +Recommends: perl(HTML::LinkExtor) +%{perl_requires} + +%description +This is a subclass of Module::Build, that with Alien::Base allows for easy +creation of Alien distributions. This module is used during the build step +of your distribution. When properly configured it will + +* use pkg-config to find and use the system version of the library + +* download, build and install the library if the system does not provide it + +%prep +%setup -q -n %{cpan_name}-%{version} +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 + +%build +%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" +./Build build flags=%{?_smp_mflags} + +%check +./Build test + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes maint README +%license LICENSE + +%changelog