Stephan Kulow
2017-05-30 14:10:54 +00:00
committed by Git OBS Bridge
commit ebe20e8343
5 changed files with 124 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc6ea1aa98893f0dad8e1c04d499a7d90da48b817a226495b96a711020a131b3
size 65114

View File

@@ -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

View File

@@ -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