Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
76da08e010 | |||
6722789555 | |||
ad85d3e7a5 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
36
cpanspec.yml
Normal file
36
cpanspec.yml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
patches:
|
||||||
|
avextend.diff: -p0
|
||||||
|
# bar.patch:
|
||||||
|
# baz.patch: PATCH-FIX-OPENSUSE
|
||||||
|
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_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
||||||
|
#ignore_provides: Module::To::Ignore
|
||||||
|
#skip_doc: regexp_to_skip_for_doc.*
|
||||||
|
#add_doc: files to add to docs
|
||||||
|
#misc: |-
|
||||||
|
#anything else to be added to spec file
|
||||||
|
#follows directly after %files section, so it can contain new blocks or also
|
||||||
|
#changes to %files section
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 17:43:54 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 20 02:33:50 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Sat Jan 20 02:33:50 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Boost-Geometry-Utils
|
# spec file for package perl-Boost-Geometry-Utils
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,51 +12,58 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Boost-Geometry-Utils
|
|
||||||
Version: 0.15
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Boost-Geometry-Utils
|
%define cpan_name Boost-Geometry-Utils
|
||||||
|
Name: perl-Boost-Geometry-Utils
|
||||||
|
Version: 0.150.0
|
||||||
|
Release: 0
|
||||||
|
# 0.15 -> normalize -> 0.150.0
|
||||||
|
%define cpan_version 0.15
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: Bindings for the Boost Geometry library
|
Summary: Bindings for the Boost Geometry library
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Group: Development/Libraries/Perl
|
Source0: https://cpan.metacpan.org/authors/id/A/AA/AAR/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Url: http://search.cpan.org/dist/Boost-Geometry-Utils/
|
Source1: cpanspec.yml
|
||||||
Source: http://www.cpan.org/authors/id/A/AA/AAR/%{cpan_name}-%{version}.tar.gz
|
Source100: README.md
|
||||||
Patch0: avextend.diff
|
Patch0: avextend.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(ExtUtils::CppGuess) >= 0.07
|
BuildRequires: perl(ExtUtils::CppGuess) >= 0.70
|
||||||
BuildRequires: perl(ExtUtils::Typemaps::Default) >= 0.05
|
BuildRequires: perl(ExtUtils::Typemaps::Default) >= 0.50
|
||||||
BuildRequires: perl(ExtUtils::XSpp) >= 0.16
|
BuildRequires: perl(ExtUtils::XSpp) >= 0.160
|
||||||
BuildRequires: perl(Module::Build) >= 0.38
|
BuildRequires: perl(Module::Build) >= 0.38
|
||||||
BuildRequires: perl(Module::Build::WithXSpp) >= 0.10
|
BuildRequires: perl(Module::Build::WithXSpp) >= 0.100
|
||||||
|
Provides: perl(Boost::Geometry::Utils) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL
|
# MANUAL BEGIN
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bindings for the Boost Geometry library
|
Bindings for the Boost Geometry library
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -N
|
||||||
|
|
||||||
|
%patch -P0 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
perl Build.PL --installdirs=vendor optimize="%{optflags}"
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build --flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc CHANGES README
|
||||||
%doc CHANGES LICENSE README src xsp
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user