2010-07-25 16:13:41 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Graphics-Primitive
|
2010-08-22 23:55:26 +00:00
|
|
|
Version: 0.52
|
2010-07-25 16:13:41 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Device and Library Agnostic Graphic Primitives for Perl
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/G/GP/GPHAT/Graphics-Primitive-%{version}.tar.gz
|
2010-07-25 16:19:33 +00:00
|
|
|
Patch1: perl-Graphics-Primitive-remove_done_testing.patch
|
2010-07-25 16:13:41 +00:00
|
|
|
URL: http://search.cpan.org/dist/Graphics-Primitive/
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
2010-12-01 13:45:50 +00:00
|
|
|
%{perl_requires}
|
2010-07-25 16:13:41 +00:00
|
|
|
BuildRequires: make perl
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
BuildRequires: perl(Graphics::Color::RGB)
|
|
|
|
BuildRequires: perl(MooseX::Storage)
|
|
|
|
BuildRequires: perl(JSON::Any)
|
|
|
|
BuildRequires: perl(Geometry::Primitive)
|
|
|
|
BuildRequires: perl(Forest::Tree)
|
|
|
|
Requires: perl(Moose)
|
|
|
|
Requires: perl(Graphics::Color::RGB)
|
|
|
|
Requires: perl(MooseX::Storage)
|
|
|
|
Requires: perl(JSON::Any)
|
|
|
|
Requires: perl(Geometry::Primitive)
|
|
|
|
Requires: perl(Forest::Tree)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Graphics::Primitive is a device and library agnostic system for creating and
|
|
|
|
manipulating various graphical elements such as Borders, Fonts, Paths and the
|
|
|
|
like.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Graphics-Primitive-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
2010-07-25 16:19:33 +00:00
|
|
|
%if 0%{?suse_version} < 1120
|
|
|
|
%patch1
|
|
|
|
%endif
|
|
|
|
|
2010-07-25 16:13:41 +00:00
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%dir %{perl_vendorlib}/Graphics
|
|
|
|
%{perl_vendorlib}/Graphics/Primitive.pm
|
|
|
|
%{perl_vendorlib}/Graphics/Primitive
|
|
|
|
%dir %{perl_vendorarch}/auto/Graphics
|
|
|
|
%{perl_vendorarch}/auto/Graphics/Primitive
|
|
|
|
%doc %{perl_man3dir}/Graphics::Primitive.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Graphics::Primitive::*.%{perl_man3ext}%{ext_man}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
# vim: set sw=4 ts=4 et nu:
|