Compare commits

...

11 Commits

Author SHA256 Message Date
d160e9013f Add Gitea build results 2025-08-12 18:14:26 +02:00
b2bbe15305 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=12
2024-07-22 21:03:33 +00:00
Stephan Kulow
84276ae440 Accepting request 741161 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec
   * Add PERL_USE_UNSAFE_INC
   * Remove unused patch perl-Graphics-Primitive-remove_done_testing.patch
     (not needed anymore)

OBS-URL: https://build.opensuse.org/request/show/741161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=11
2019-10-19 14:33:44 +00:00
Stephan Kulow
a0a8eb119c Accepting request 297501 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/297501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=10
2015-04-17 05:09:31 +00:00
Stephan Kulow
969419f8d6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=9 2011-11-11 11:18:26 +00:00
Pascal Bleser
4d07cfb2aa fix for older perl
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=8
2011-02-18 22:50:01 +00:00
Pascal Bleser
931a3d51d2 0.53
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=7
2011-02-18 22:10:58 +00:00
Stephan Kulow
f37d105ec5 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=6
2010-12-03 14:06:46 +00:00
Stephan Kulow
517f19bac2 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=5
2010-12-01 13:45:50 +00:00
Stephan Kulow
3b2a9dae81 - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=4
2010-11-29 18:55:38 +00:00
Pascal Bleser
bfe8fd4c18 0.52
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=3
2010-08-22 23:55:26 +00:00
7 changed files with 169 additions and 69 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:200e9f6780c65785d1ecccdfd556bf3a873612e13798a96348e829ffecba2f9a
size 40716

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d4ccb532a4ff663037ed9fe49fcfcbb901a899311bd147cee309d05ca246057
size 45138

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Graphics-Primitive/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Graphics-Primitive)

20
cpanspec.yml Normal file
View File

@@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,15 +0,0 @@
--- t/20-border.t.orig 2010-07-25 18:15:48.000000000 +0200
+++ t/20-border.t 2010-07-25 18:18:27.000000000 +0200
@@ -1,4 +1,5 @@
-use Test::More;
+use strict;
+use Test::More tests => 15;
BEGIN {
use_ok('Graphics::Primitive::Border');
@@ -39,4 +40,3 @@
cmp_ok($b2->top->width, '==', 5, 'width in constructor');
cmp_ok($b2->top->color->red, '==', .3, 'color in constructor');
-done_testing;
\ No newline at end of file

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Fri Oct 18 20:43:49 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Regenerate spec with newest cpanspec
* Add PERL_USE_UNSAFE_INC
* Remove unused patch perl-Graphics-Primitive-remove_done_testing.patch
(not needed anymore)
-------------------------------------------------------------------
Thu Apr 16 21:19:25 UTC 2015 - coolo@suse.com
- updated to 0.67
see /usr/share/doc/packages/perl-Graphics-Primitive/Changes
-------------------------------------------------------------------
Thu Apr 16 21:19:23 UTC 2015 - coolo@suse.com
- updated to 0.61
see /usr/share/doc/packages/perl-Graphics-Primitive/Changes
0.61 Jun 2, 2011
- Fix broken merge (thanks Ansgar Burchardt)
0.60 May 5, 2011
- If minimum_width or minimum_height is set, don't allow height or width to
be set to anything smaller!
-------------------------------------------------------------------
Fri Feb 18 22:06:46 UTC 2011 - pascal.bleser@opensuse.org
- update to 0.53:
* add callback to Component
-------------------------------------------------------------------
Wed Dec 1 13:32:41 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:05 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Aug 22 23:24:26 UTC 2010 - pascal.bleser@opensuse.org
- update to 0.52:
* POD updates
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 25 16:12:57 UTC 2010 - pascal.bleser@opensuse.org Sun Jul 25 16:12:57 UTC 2010 - pascal.bleser@opensuse.org

View File

@@ -1,68 +1,102 @@
# norootforbuild #
# spec file for package perl-Graphics-Primitive
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cpan_name Graphics-Primitive
Name: perl-Graphics-Primitive Name: perl-Graphics-Primitive
Version: 0.51 Version: 0.670.0
Release: 0 Release: 0
Summary: Device and Library Agnostic Graphic Primitives for Perl # 0.67 -> normalize -> 0.670.0
Source: http://search.cpan.org/CPAN/authors/id/G/GP/GPHAT/Graphics-Primitive-%{version}.tar.gz %define cpan_version 0.67
Patch1: perl-Graphics-Primitive-remove_done_testing.patch License: Artistic-1.0 OR GPL-1.0-or-later
URL: http://search.cpan.org/dist/Graphics-Primitive/ Summary: Device and library agnostic graphic primitives
Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name}
License: Perl License Source0: https://cpan.metacpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{cpan_version}.tar.gz
BuildRoot: %{_tmppath}/build-%{name}-%{version} Source1: cpanspec.yml
Requires: perl = %{perl_version} Source100: README.md
BuildRequires: make perl BuildArch: noarch
BuildRequires: perl(Moose) BuildRequires: perl
BuildRequires: perl(Graphics::Color::RGB) BuildRequires: perl-macros
BuildRequires: perl(MooseX::Storage) BuildRequires: perl(Data::Visitor::Callback) >= 0.30
BuildRequires: perl(JSON::Any) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
BuildRequires: perl(Geometry::Primitive) BuildRequires: perl(Forest) >= 0.60.0
BuildRequires: perl(Forest::Tree) BuildRequires: perl(Geometry::Primitive) >= 0.160
Requires: perl(Moose) BuildRequires: perl(Graphics::Color) >= 0.200
Requires: perl(Graphics::Color::RGB) BuildRequires: perl(JSON::Any) >= 1.22
Requires: perl(MooseX::Storage) BuildRequires: perl(Moose) >= 0.90
Requires: perl(JSON::Any) BuildRequires: perl(MooseX::Clone) >= 0.04
Requires: perl(Geometry::Primitive) BuildRequires: perl(MooseX::Storage) >= 0.17
Requires: perl(Forest::Tree) Requires: perl(Data::Visitor::Callback) >= 0.30
Requires: perl(Forest) >= 0.60.0
Requires: perl(Geometry::Primitive) >= 0.160
Requires: perl(Graphics::Color) >= 0.200
Requires: perl(JSON::Any) >= 1.22
Requires: perl(Moose) >= 0.90
Requires: perl(MooseX::Clone) >= 0.04
Requires: perl(MooseX::Storage) >= 0.17
Provides: perl(Graphics::Primitive) = %{version}
Provides: perl(Graphics::Primitive::Aligned)
Provides: perl(Graphics::Primitive::Border)
Provides: perl(Graphics::Primitive::Brush)
Provides: perl(Graphics::Primitive::Canvas)
Provides: perl(Graphics::Primitive::Component)
Provides: perl(Graphics::Primitive::ComponentList)
Provides: perl(Graphics::Primitive::Container)
Provides: perl(Graphics::Primitive::Driver)
Provides: perl(Graphics::Primitive::Driver::TextLayout)
Provides: perl(Graphics::Primitive::Font)
Provides: perl(Graphics::Primitive::Image)
Provides: perl(Graphics::Primitive::Insets)
Provides: perl(Graphics::Primitive::Operation)
Provides: perl(Graphics::Primitive::Operation::Fill)
Provides: perl(Graphics::Primitive::Operation::Stroke)
Provides: perl(Graphics::Primitive::Oriented)
Provides: perl(Graphics::Primitive::Paint)
Provides: perl(Graphics::Primitive::Paint::Gradient)
Provides: perl(Graphics::Primitive::Paint::Gradient::Linear)
Provides: perl(Graphics::Primitive::Paint::Gradient::Radial)
Provides: perl(Graphics::Primitive::Paint::Solid)
Provides: perl(Graphics::Primitive::Path)
Provides: perl(Graphics::Primitive::TextBox)
%undefine __perllib_provides
%{perl_requires}
%description %description
Graphics::Primitive is a device and library agnostic system for creating and Graphics::Primitive is library agnostic system for drawing things.
manipulating various graphical elements such as Borders, Fonts, Paths and the
like. The idea is to allow you to create and manipulate graphical components and
then pass them off to a Driver for actual drawing.
%prep %prep
%setup -q -n "Graphics-Primitive-%{version}" %autosetup -n %{cpan_name}-%{cpan_version}
%__sed -i '/^auto_install/d' Makefile.PL
%if 0%{?suse_version} < 1120
%patch1
%endif
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %make_build
%check
make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check %files -f %{name}.files
%__make test
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc Changes README %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 %changelog
# vim: set sw=4 ts=4 et nu: