8
0
Files
perl-PostScript-Simple/perl-PostScript-Simple.spec

92 lines
2.6 KiB
RPMSpec

#
# spec file for package perl-PostScript-Simple (Version 0.07)
#
# Copyright (c) 2009 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 v2 or later
Group: Development/Libraries/Perl
Provides: PostScript-Simple
Requires: perl = %{perl_version}
AutoReqProv: on
Version: 0.07
Release: 133
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
%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
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 cwh@suse.de
version 0.07:
- fix lack of newpath in arc
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Sun Jul 31 2005 cthiel@suse.de
- update to version 0.06
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 28 2003 ro@suse.de
- install to vendor location
* Wed Jun 18 2003 coolo@suse.de
- package directories
* Sun May 25 2003 ro@suse.de
- remove unpackaged files from buildroot
* Wed Jun 26 2002 ray@suse.de
- init version 0.04