File perl-BugzillaReport.spec of Package perl-BugzillaReport

#
# spec file for package BugzillaReport
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org

# norootforbuild

Name:         perl-BugzillaReport
Version:      2.0
Release:      1
URL:          https://gitlab.suse.de/aginies/bugzilla-report
Requires:     perl-File-Slurp perl-Config-IniFiles perl-XML-Simple
Requires:     perl-HTML-Form perl-WWW-Mechanize perl-SUSE-BugzillaClient
requires:     perl-Net-HTTP > 6.03
Requires:     perl = %{perl_version}
Group:        Development/Libraries/Perl
License:      GPL-2.0
Summary:      Perl Library to do some query on SUSE bugzilla
Source:       %{name}-%{version}.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildArch:    noarch

%description
Be able to do bugzilla report automatically per package
Based on: Stefan Behlert script

Authors:
--------
    Antoine Ginies <aginies@suse.com>

%prep
%setup -q

%build
perl Makefile.PL
make

%install
%perl_make_install
%perl_process_packlist
rm -vf ${RPM_BUILD_ROOT}/%perl_archlib/auto/BugzillaReport/.packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc conf_template.xml create_query_from_user create_SLE* query*.ini br gnuplottemplate.plot
%dir %{perl_vendorlib}/BR
%{perl_vendorlib}/BR/*.pm
%{_mandir}/man*/*pm.gz
%if %suse_version < 1200
/var/adm/perl-modules/%{name}
%endif

%changelog
openSUSE Build Service is sponsored by