>From 0d3120f9b5b500188dc7a075373d3e8a9f280e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com> Date: Mon, 20 Apr 2015 17:53:04 +0200 Subject: Initial import (#1211346)
diff --git a/.gitignore b/.gitignore index e69de29..ee51ced 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Sys-Info-Base-0.7804.tar.gz diff --git a/perl-Sys-Info-Base.spec b/perl-Sys-Info-Base.spec new file mode 100644 index 0000000..45bae7c --- /dev/null +++ b/perl-Sys-Info-Base.spec @@ -0,0 +1,69 @@ +Name: perl-Sys-Info-Base +Version: 0.7804 +Release: 1%{?dist} +Summary: Provides various system information +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Sys-Info-Base/ +Source0: http://www.cpan.org/authors/id/B/BU/BURAK/Sys-Info-Base-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +# XXX: BuildRequires: perl(IO::File) +# XXX: BuildRequires: perl(IPC::Open3) +BuildRequires: perl(lib) +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +# XXX: BuildRequires: perl(Data::Dumper) +# XXX: BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(IO::File) +BuildRequires: perl(POSIX) +# XXX: BuildRequires: perl(Socket) +BuildRequires: perl(subs) +# XXX: BuildRequires: perl(Sys::Hostname) +# XXX: BuildRequires: perl(Text::Template::Simple) +BuildRequires: perl(vars) +# Tests only +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(POSIX) +Requires: perl(Socket) +Requires: perl(Sys::Hostname) + +%description +%{summary}. + +%prep +%setup -q -n Sys-Info-Base-%{version} + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Apr 13 2015 Petr Å abata <con...@redhat.com> 0.7804-1 +- Initial packaging diff --git a/sources b/sources index e69de29..db3b49b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7cc29c1d82dfd63fdda1bac29bce2195 Sys-Info-Base-0.7804.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Sys-Info-Base.git/commit/?h=f21&id=0d3120f9b5b500188dc7a075373d3e8a9f280e71
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel