64 lines
1.8 KiB
RPMSpec
64 lines
1.8 KiB
RPMSpec
![]() |
# norootforbuild
|
||
|
|
||
|
Name: perl-Graphics-Primitive
|
||
|
Version: 0.51
|
||
|
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
|
||
|
URL: http://search.cpan.org/dist/Graphics-Primitive/
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Perl License
|
||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||
|
Requires: perl = %{perl_version}
|
||
|
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
|
||
|
|
||
|
%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}
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|
||
|
# vim: set sw=4 ts=4 et nu:
|