File perl-RPM-Header-PurePerl.spec of Package perl-RPM-Header-PurePerl

# spec file for package perl-RPM-Header-PurePerl
# Copyright (c) 2017 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

Name:           perl-RPM-Header-PurePerl
BuildRequires:  perl-HTML-Tagset
BuildRequires:  perl-macros
Version:        1.0.2
Release:        0
Summary:        A Perl only implementation of a RPM header reader
License:        Artistic-1.0 or GPL-2.0+
Group:          Development/Libraries/Perl
Source:         RPM-Header-PurePerl-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

RPM::Header::PurePerl is a clone of RPM::Header written in only Perl, so it
provides a way to read an rpm package on systems where rpm is not installed. 
RPM::Header::PurePerl can be used as a drop in replacement for RPM::Header,
if needed also the other way round.

%setup -q -n RPM-Header-PurePerl-%{version}

perl Makefile.PL OPTIMIZE="%optflags -Wall"

make test


%doc %{_mandir}/man?/*

openSUSE Build Service is sponsored by