Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 4e33897f24d0a6c6f87637a25b3d443b > files > 2

perl-Wx-Scintilla-0.390.0-20.mga9.src.rpm

%define upstream_name    Wx-Scintilla
%define upstream_version 0.39

%{?perl_default_filter}

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 20

Summary:    A list of Wx::Scintilla constants
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        https://metacpan.org/release/%{upstream_name}
Source0:    https://cpan.metacpan.org/modules/by-module/Wx/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Alien::wxWidgets)
BuildRequires: perl(ExtUtils::XSpp) >= 0.160.200
BuildRequires: perl(Module::Build) >= 0.360.0
BuildRequires: perl(Test::More)
BuildRequires: perl(Wx)
BuildRequires: pkgconfig(libnsl)
BuildRequires: libgtk+2.0-devel
BuildRequires: perl-devel
BuildRequires: libwxgtku2.8-devel

%description
While we already have a good scintilla editor component support via
Wx::StyledTextCtrl in Perl, we already suffer from an older scintilla
package and thus lagging Perl support in the popular Wx Scintilla
component. wxWidgets the http://wxwidgets.org manpage has a *very slow*
release timeline. Scintilla is a contributed project which means it will
not be the latest by the time a new wxWidgets distribution is released. And
on the scintilla front, the Perl 5 lexer is not 100% bug free even and we
do not have any kind of Perl 6 support in Scintilla.

The ambitious goal of this project is to provide fresh Perl 5 and maybe 6
support in the Wx manpage while preserving compatibility with
Wx::StyledTextCtrl and continually contribute it back to Scintilla project.

Note: You cannot load Wx::STC and Wx::Scintilla in the same application.
They are mutually exclusive. The wxSTC_... events are handled by one
library or the other.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

sed -i -e 's|-O2|%{optflags}|' inc/Module/Build/Scintilla/GTK.pm

%build
%{__perl} Build.PL installdirs=vendor
./Build --verbose=1

#check
# requires display
#./Build test

%install
./Build install destdir=%{buildroot}

%files
%doc Changes META.json META.yml MYMETA.yml README XS
%{_mandir}/man3/*
%perl_vendorarch/*


%changelog
* Thu Aug 04 2022 tv <tv> 0.390.0-20.mga9
+ Revision: 1875116
- Rebuild for perl-5.36

* Fri Apr 01 2022 umeabot <umeabot> 0.390.0-19.mga9
+ Revision: 1839946
- Mageia 9 Mass Rebuild

* Tue Dec 15 2020 tv <tv> 0.390.0-18.mga8
+ Revision: 1657526
- BR pkgconfig(libnsl)

* Sat Jul 18 2020 tv <tv> 0.390.0-17.mga8
+ Revision: 1607005
- rebuild for perl-5.32 (binary package w/o a dep on libperl.so

* Wed Feb 12 2020 umeabot <umeabot> 16.mga8-current
+ Revision: 1508512
- Mageia 8 Mass Rebuild

* Fri Sep 21 2018 tv <tv> 0.390.0-15.mga7
+ Revision: 1294387
- fix filelist
+ umeabot <umeabot>
- Mageia 7 Mass Rebuild

* Mon Jun 25 2018 wally <wally> 0.390.0-14.mga7
+ Revision: 1239684
- fix debug pkg build
+ tv <tv>
- rebuild with perl-5.26.x

* Sun Jun 19 2016 pterjan <pterjan> 0.390.0-12.mga6
+ Revision: 1035881
- Rebuild for perl 5.22.2

* Tue Feb 16 2016 umeabot <umeabot> 0.390.0-11.mga6
+ Revision: 962052
- Mageia 6 Mass Rebuild

* Tue Oct 20 2015 tv <tv> 0.390.0-10.mga6
+ Revision: 893114
- rebuild with fixed deps

* Fri Jun 26 2015 tv <tv> 0.390.0-9.mga6
+ Revision: 845527
- rebuild for soname-ifed perl

* Tue Jun 23 2015 sander85 <sander85> 0.390.0-8.mga6
+ Revision: 841194
- Rebuild for perl 5.22

* Wed Oct 15 2014 umeabot <umeabot> 0.390.0-7.mga5
+ Revision: 746560
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.390.0-6.mga5
+ Revision: 686889
- Mageia 5 Mass Rebuild

* Tue Jun 03 2014 jquelin <jquelin> 0.390.0-5.mga5
+ Revision: 632353
- perl 5.20.0 rebuild

* Sat Oct 19 2013 umeabot <umeabot> 0.390.0-4.mga4
+ Revision: 525331
- Mageia 4 Mass Rebuild

* Wed May 29 2013 jquelin <jquelin> 0.390.0-3.mga4
+ Revision: 431011
- perl 5.18.0 rebuild

* Sun Jan 13 2013 umeabot <umeabot> 0.390.0-2.mga3
+ Revision: 374898
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Sep 26 2012 jquelin <jquelin> 0.390.0-1.mga3
+ Revision: 298183
- update to 0.39

* Tue Jun 05 2012 jquelin <jquelin> 0.380.100-1.mga3
+ Revision: 255705
- update to 0.3801

* Wed May 30 2012 jquelin <jquelin> 0.360.0-2.mga3
+ Revision: 251324
- rebuild for perl 5.16

* Thu Jan 05 2012 jquelin <jquelin> 0.360.0-1.mga2
+ Revision: 191388
- update to 0.36

* Fri Nov 18 2011 jquelin <jquelin> 0.340.0-2.mga2
+ Revision: 168880
- adding missing buildrequires:
- adding missing buildrequires:
- adding missing buildrequires
- imported package perl-Wx-Scintilla