File perl-PostScript-Simple.spec of Package perl-PostScript-Simple

#
# spec file for package perl-PostScript-Simple (Version 0.07)
#
# Copyright (c) 2010 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-PostScript-Simple
Url:            http://search.cpan.org/~mcnewton/PostScript-Simple
License:        GPL-2.0+
Group:          Development/Libraries/Perl
Provides:       PostScript-Simple
AutoReqProv:    on
Version:        0.07
Release:        142
Source:         PostScript-Simple-%{version}.tar.gz
Summary:        a simple method of writing PostScript files from Perl
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

%description
PostScript::Simple allows you to have a simple method of writing
PostScript files from Perl. It has several graphics primitives that
allow lines, circles, polygons and boxes to be drawn. Text can be added
to the page using standard PostScript fonts.



Authors:
--------
    Matthew Newton <mcnewton@cpan.org>

%prep
%setup -n PostScript-Simple-%{version}

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

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc %{_mandir}/man3/*
%doc MANIFEST README Changes
%{perl_vendorarch}/auto/PostScript
%dir %{perl_vendorlib}/PostScript
%dir %{perl_vendorlib}/PostScript/Simple
%{perl_vendorlib}/PostScript/Simple.pm
%{perl_vendorlib}/PostScript/Simple/EPS.pm

%changelog
openSUSE Build Service is sponsored by