| |
@@ -12,7 +12,7 @@
|
| |
|
| |
Name: perl-Wx
|
| |
Version: 0.9932
|
| |
- Release: 11%{?dist}
|
| |
+ Release: 12%{?dist}
|
| |
Summary: Interface to the wxWidgets cross-platform GUI toolkit
|
| |
Group: Development/Libraries
|
| |
License: GPL+ or Artistic
|
| |
@@ -21,7 +21,8 @@
|
| |
# Work around BOM_UTF8 clash between wxGTK and Perl. Should be fixed in newer
|
| |
# wxGTK, CPAN RT#121464, <http://trac.wxwidgets.org/ticket/13599>.
|
| |
Patch0: Wx-0.9932-Undefine-BOM_UTF8.patch
|
| |
- BuildRequires: wxGTK-devel
|
| |
+ Patch1: gtk3.patch
|
| |
+ BuildRequires: wxGTK3-devel
|
| |
BuildRequires: gcc-c++
|
| |
BuildRequires: perl-devel
|
| |
BuildRequires: perl-generators
|
| |
@@ -662,6 +663,7 @@
|
| |
%prep
|
| |
%setup -q -n Wx-%{version}
|
| |
%patch0 -p1
|
| |
+ %patch1 -p1
|
| |
|
| |
chmod -c a-x README.txt docs/todo.txt samples/*/*.pl
|
| |
find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" |
|
| |
@@ -680,7 +682,7 @@
|
| |
%build
|
| |
perl Makefile.PL --wx-unicode \
|
| |
--wx-version=`wx-config --version | cut -d . -f 1-2` \
|
| |
- --wx-toolkit=gtk2 \
|
| |
+ --wx-toolkit=gtk \
|
| |
INSTALLDIRS=vendor \
|
| |
OPTIMIZE="$RPM_OPT_FLAGS -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-local-typedefs"
|
| |
make %{?_smp_mflags}
|
| |
@@ -705,6 +707,9 @@
|
| |
%{_mandir}/man3/*.3pm*
|
| |
|
| |
%changelog
|
| |
+ * Wed Aug 22 2018 Scott Talbert <swt@techie.net> - 0.9932-12
|
| |
+ - Rebuild with wxWidgets 3.0
|
| |
+
|
| |
* Mon Jul 23 2018 Tom Callaway <spot@fedoraproject.org> - 0.9932-11
|
| |
- add BuildRequires: gcc-c++
|
| |
|
| |