commit cd3adb8bc8799905b54c7748069345625f38c5edb33fe6d238f094d395a5127a Author: Pascal Bleser Date: Mon Aug 23 00:36:00 2010 +0000 0.6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-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/Devel-CheckLib-0.6.tar.gz b/Devel-CheckLib-0.6.tar.gz new file mode 100644 index 0000000..6396fb6 --- /dev/null +++ b/Devel-CheckLib-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfa268a49df84ed547e39babc095f32dcd186714f55049e441f8b6469de87e07 +size 10240 diff --git a/perl-Devel-CheckLib.changes b/perl-Devel-CheckLib.changes new file mode 100644 index 0000000..1c874fe --- /dev/null +++ b/perl-Devel-CheckLib.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Aug 23 00:35:47 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (0.6) + diff --git a/perl-Devel-CheckLib.spec b/perl-Devel-CheckLib.spec new file mode 100644 index 0000000..b621dcf --- /dev/null +++ b/perl-Devel-CheckLib.spec @@ -0,0 +1,56 @@ +# vim: set sw=4 ts=4 et nu: +# norootforbuild + +Name: perl-Devel-CheckLib +Version: 0.6 +Release: 0 +Summary: Check that a library is available +Source: http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Devel-CheckLib-%{version}.tar.gz +URL: http://search.cpan.org/dist/Devel-CheckLib/ +Group: Development/Libraries/Perl +License: Perl License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +Requires: perl = %{perl_version} +BuildRequires: make perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::CaptureOutput) +Requires: perl(Test::More) +Requires: perl(File::Temp) +Requires: perl(IO::CaptureOutput) + +%description +Devel::CheckLib is a perl module that checks whether a particular C library and +its headers are available. + +%prep +%setup -q -n "Devel-CheckLib-%{version}" +%__sed -i '/^auto_install/d' Makefile.PL + +%build +%__perl Makefile.PL PREFIX="%{_prefix}" +%__make %{?jobs:-j%{jobs}} + +%install +%perl_make_install +%perl_process_packlist + +%check +%__make test + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%doc CHANGES TODO README +%{_bindir}/use-devel-checklib +%doc %{_mandir}/man1/use-devel-checklib.1%{ext_man} +%dir %{perl_vendorlib}/Devel +%{perl_vendorlib}/Devel/CheckLib.pm +%dir %{perl_vendorarch}/auto/Devel +%{perl_vendorarch}/auto/Devel/CheckLib +%doc %{perl_man3dir}/Devel::CheckLib.%{perl_man3ext}%{ext_man} +/var/adm/perl-modules/%{name} +