forked from pool/perl-PostScript-Simple
84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package perl-PostScript-Simple (Version 0.07)
|
|
#
|
|
# Copyright (c) 2006 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-PostScript-Simple
|
|
URL: http://search.cpan.org/~mcnewton/PostScript-Simple
|
|
License: GPL
|
|
Group: Development/Libraries/Perl
|
|
Provides: PostScript-Simple
|
|
Requires: perl = %{perl_version}
|
|
Autoreqprov: on
|
|
Version: 0.07
|
|
Release: 1
|
|
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 -n perl-PostScript-Simple
|
|
* 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
|
|
* Mon May 26 2003 - ro@suse.de
|
|
- remove unpackaged files from buildroot
|
|
* Wed Jun 26 2002 - ray@suse.de
|
|
- init version 0.04
|