forked from pool/perl-Alien-wxWidgets
Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
5d2dae1277 | ||
6f7e59b776 | |||
b7e35405a1 | |||
|
eaed377fa7 | ||
|
80ff1e19c2 |
@ -12,7 +12,7 @@ patches:
|
||||
preamble: |-
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
BuildRequires: wxWidgets-3_0-nostl-devel
|
||||
BuildRequires: wxWidgets-3_2-nostl-devel
|
||||
%else
|
||||
BuildRequires: wxWidgets-ansi-devel
|
||||
%endif
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Alien-wxWidgets
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,34 +16,37 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Alien-wxWidgets
|
||||
Version: 0.69
|
||||
Release: 0
|
||||
%define cpan_name Alien-wxWidgets
|
||||
Summary: Building, finding and using wxWidgets binaries
|
||||
Name: perl-Alien-wxWidgets
|
||||
Version: 0.690.0
|
||||
Release: 0
|
||||
# 0.69 -> normalize -> 0.690.0
|
||||
%define cpan_version 0.69
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
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
|
||||
Summary: Building, finding and using wxWidgets binaries
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: perl-Alien-wxWidgets-do_not_build_wxgtk.patch
|
||||
Patch1: perl-Alien-wxWidgets-dump_sorted_config.patch
|
||||
Patch2: perl-Alien-wxWidgets-ignore_cbuilder_version.patch
|
||||
# MANUAL
|
||||
#BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.24
|
||||
BuildRequires: perl(LWP::Protocol::https)
|
||||
BuildRequires: perl(Module::Build) >= 0.280000
|
||||
BuildRequires: perl(Module::Pluggable) >= 2.6
|
||||
Requires: perl(Module::Pluggable) >= 2.6
|
||||
BuildRequires: perl(Module::Build) >= 0.28
|
||||
BuildRequires: perl(Module::Pluggable) >= 2.600
|
||||
Requires: perl(Module::Pluggable) >= 2.600
|
||||
Provides: perl(Alien::wxWidgets) = %{version}
|
||||
Provides: perl(Alien::wxWidgets::Utility) = 0.590.0
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
BuildRequires: wxWidgets-3_0-nostl-devel
|
||||
BuildRequires: wxWidgets-3_2-nostl-devel
|
||||
%else
|
||||
BuildRequires: wxWidgets-ansi-devel
|
||||
%endif
|
||||
@ -56,8 +59,12 @@ In short 'Alien::wxWidgets' can be used to detect and get configuration
|
||||
settings from an installed wxWidgets.
|
||||
|
||||
%prep
|
||||
%autosetup -p0 -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -N
|
||||
|
||||
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
|
||||
# this copy of GNU patch is only used on win32, remove it for license clarity
|
||||
# see https://build.opensuse.org/request/show/237465
|
||||
@ -73,11 +80,10 @@ yes no | ./Build
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README.txt
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user