Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -12,7 +12,7 @@ patches:
|
|||||||
preamble: |-
|
preamble: |-
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||||
BuildRequires: wxWidgets-3_2-nostl-devel
|
BuildRequires: wxWidgets-3_0-nostl-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: wxWidgets-ansi-devel
|
BuildRequires: wxWidgets-ansi-devel
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,14 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Feb 10 22:12:20 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
|
||||||
|
|
||||||
- Normalize CPAN version
|
|
||||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Dec 27 09:14:38 UTC 2024 - Ana Guerrero <ana.guerrero@suse.com>
|
|
||||||
|
|
||||||
- Use wxWidgets-3_2 instead wxWidgets-3_0.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 4 12:00:57 UTC 2024 - pgajdos@suse.com
|
Mon Mar 4 12:00:57 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Alien-wxWidgets
|
# spec file for package perl-Alien-wxWidgets
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -16,37 +16,34 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define cpan_name Alien-wxWidgets
|
|
||||||
Name: perl-Alien-wxWidgets
|
Name: perl-Alien-wxWidgets
|
||||||
Version: 0.690.0
|
Version: 0.69
|
||||||
Release: 0
|
Release: 0
|
||||||
# 0.69 -> normalize -> 0.690.0
|
%define cpan_name Alien-wxWidgets
|
||||||
%define cpan_version 0.69
|
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
||||||
Summary: Building, finding and using wxWidgets binaries
|
Summary: Building, finding and using wxWidgets binaries
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Source0: https://cpan.metacpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{cpan_version}.tar.gz
|
Group: Development/Libraries/Perl
|
||||||
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
Patch0: perl-Alien-wxWidgets-do_not_build_wxgtk.patch
|
Patch0: perl-Alien-wxWidgets-do_not_build_wxgtk.patch
|
||||||
Patch1: perl-Alien-wxWidgets-dump_sorted_config.patch
|
Patch1: perl-Alien-wxWidgets-dump_sorted_config.patch
|
||||||
Patch2: perl-Alien-wxWidgets-ignore_cbuilder_version.patch
|
Patch2: perl-Alien-wxWidgets-ignore_cbuilder_version.patch
|
||||||
# MANUAL
|
# MANUAL
|
||||||
#BuildArch: noarch
|
#BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.24
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.24
|
||||||
BuildRequires: perl(LWP::Protocol::https)
|
BuildRequires: perl(LWP::Protocol::https)
|
||||||
BuildRequires: perl(Module::Build) >= 0.28
|
BuildRequires: perl(Module::Build) >= 0.280000
|
||||||
BuildRequires: perl(Module::Pluggable) >= 2.600
|
BuildRequires: perl(Module::Pluggable) >= 2.6
|
||||||
Requires: perl(Module::Pluggable) >= 2.600
|
Requires: perl(Module::Pluggable) >= 2.6
|
||||||
Provides: perl(Alien::wxWidgets) = %{version}
|
|
||||||
Provides: perl(Alien::wxWidgets::Utility) = 0.590.0
|
|
||||||
%undefine __perllib_provides
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||||
BuildRequires: wxWidgets-3_2-nostl-devel
|
BuildRequires: wxWidgets-3_0-nostl-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: wxWidgets-ansi-devel
|
BuildRequires: wxWidgets-ansi-devel
|
||||||
%endif
|
%endif
|
||||||
@ -59,12 +56,8 @@ In short 'Alien::wxWidgets' can be used to detect and get configuration
|
|||||||
settings from an installed wxWidgets.
|
settings from an installed wxWidgets.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{cpan_version} -N
|
%autosetup -p0 -n %{cpan_name}-%{version}
|
||||||
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
||||||
%patch -P0
|
|
||||||
%patch -P1
|
|
||||||
%patch -P2
|
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
# this copy of GNU patch is only used on win32, remove it for license clarity
|
# this copy of GNU patch is only used on win32, remove it for license clarity
|
||||||
# see https://build.opensuse.org/request/show/237465
|
# see https://build.opensuse.org/request/show/237465
|
||||||
@ -80,10 +73,11 @@ yes no | ./Build
|
|||||||
./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.txt
|
%doc Changes README.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user