commit d21a85402fc5325e134b164d13cd2e5b1bd58c4bb0544b05d2b4a8b0165270a2 Author: Stephan Kulow Date: Fri Jan 21 20:22:02 2011 +0000 iniital package OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Install-CheckLib?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/Module-Install-CheckLib-0.08.tar.bz2 b/Module-Install-CheckLib-0.08.tar.bz2 new file mode 100644 index 0000000..fcbf9f0 --- /dev/null +++ b/Module-Install-CheckLib-0.08.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4c40ece81cefc3c336d50e131ef63f93fda21e3da02833b450379511d2183a0 +size 25316 diff --git a/perl-Module-Install-CheckLib.changes b/perl-Module-Install-CheckLib.changes new file mode 100644 index 0000000..32436d1 --- /dev/null +++ b/perl-Module-Install-CheckLib.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Fri Jan 21 20:21:57 UTC 2011 - coolo@novell.com + +- initial package 0.08 + * created by cpanspec 1.78.03 + diff --git a/perl-Module-Install-CheckLib.spec b/perl-Module-Install-CheckLib.spec new file mode 100644 index 0000000..6e9a569 --- /dev/null +++ b/perl-Module-Install-CheckLib.spec @@ -0,0 +1,76 @@ +# +# spec file for package perl-Module-Install-CheckLib (Version 0.08) +# +# 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-Module-Install-CheckLib +Version: 0.08 +Release: 1 +License: GPL+ or Artistic +%define cpan_name Module-Install-CheckLib +Summary: A Module::Install extension to check that a library is available +Url: http://search.cpan.org/dist/Module-Install-CheckLib/ +Group: Development/Libraries/Perl +#Source: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-CheckLib-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRequires: perl(Capture::Tiny) >= 0.05 +BuildRequires: perl(Devel::CheckLib) >= 0.7 +BuildRequires: perl(File::Temp) +BuildRequires: perl(Module::Install) >= 0.99 +BuildRequires: perl +BuildRequires: perl-macros +Requires: perl(Devel::CheckLib) >= 0.7 +Requires: perl(Module::Install) >= 0.99 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%{perl_requires} + +%description +Module::Install::CheckLib is a the Module::Install manpage extension that +integrates the Devel::CheckLib manpage so that CPAN authors may stipulate +which particular C library and its headers they want available and to exit +the 'Makefile.PL' gracefully if they aren't. + +The author specifies which C libraries, etc, they want available. the +Devel::CheckLib manpage is copied to the 'inc/' directory along with the +the Module::Install manpage files. + +On the module user side, the bundled 'inc/' the Devel::CheckLib manpage +determines whether the current environment is supported or not and will +exit accordingly. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf %{buildroot} + +%files -f %{name}.files +%defattr(644,root,root,755) +%doc Changes LICENSE README + +%changelog