Accepting request 236561 from devel:languages:perl:slic3r

OBS-URL: https://build.opensuse.org/request/show/236561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-wxWidgets?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2014-06-08 11:33:10 +00:00 committed by Git OBS Bridge
parent 24a1100ab2
commit db83240da0

View File

@ -25,7 +25,6 @@ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Alien-wxWidgets/
Source: http://www.cpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@ -34,6 +33,11 @@ BuildRequires: perl(Module::Build) >= 0.28
BuildRequires: perl(Module::Pluggable) >= 2.6
Requires: perl(Module::Pluggable) >= 2.6
%{perl_requires}
# MANUAL
Patch1: perl-Alien-wxWidgets-do_not_build_wxgtk.patch
Patch2: perl-Alien-wxWidgets-ignore_cbuilder_version.patch
BuildRequires: gcc-c++
BuildRequires: wxWidgets-ansi-devel
%description
Please see the Alien manpage for the manifesto of the Alien namespace.
@ -43,10 +47,13 @@ settings from an installed wxWidgets.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch1 -p0
%patch2 -p0
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
yes no | %__perl ./Build.PL installdirs=vendor
yes no | ./Build
./Build build flags=%{?_smp_mflags}
%check