forked from pool/perl-PostScript-Simple
Copy from devel:languages:perl/perl-PostScript-Simple based on submit request 29446 from user coolo OBS-URL: https://build.opensuse.org/request/show/29446 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PostScript-Simple?expand=0&rev=5
73 lines
2.1 KiB
RPMSpec
73 lines
2.1 KiB
RPMSpec
#
|
|
# 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: GPLv2+
|
|
Group: Development/Libraries/Perl
|
|
Provides: PostScript-Simple
|
|
Requires: perl = %{perl_version}
|
|
AutoReqProv: on
|
|
Version: 0.07
|
|
Release: 134
|
|
Source: PostScript-Simple-%{version}.tar.gz
|
|
Summary: a simple method of writing PostScript files from Perl
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|