File perl-GLPlugin.spec of Package perl-GLPlugin

#
# spec file for package perl-GLPlugin
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014, Martin Hauke <mardnh@gmx.de>
#
# 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/
#


%define cpan_name GLPlugin
Name:           perl-%{cpan_name}
Version:        0.0.0.git1440354876.f10f6bb
Release:        0
Summary:        Perl modules providing the basis for Gerhard Laussers Icinga plugins
License:        Artistic-2.0
Group:          Development/Libraries/Perl
Url:            https://github.com/lausser/GLPlugin
Source:         %{name}-%{version}.tar.xz
BuildRequires:  perl
BuildRequires:  perl(Test::More)
BuildRequires:  perl-macros
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%{perl_requires}

%description
Perl modules providing the basis for Gerhard Laussers Icinga plugins

%prep
%setup -q

%build
perl Makefile.PL
make %{?_smp_mflags}

%check
make %{?_smp_mflags} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README

%changelog
openSUSE Build Service is sponsored by