From 3cf7211485a9941db2f26edc86abce5155d2864b Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Oct 08 2016 01:08:25 +0000 Subject: Add a -webview subpackage in F26+ --- diff --git a/wxGTK3.spec b/wxGTK3.spec index 3875a7f..6111acb 100644 --- a/wxGTK3.spec +++ b/wxGTK3.spec @@ -11,7 +11,7 @@ Name: %{wxgtkname} Version: 3.0.2 -Release: 26%{?dist} +Release: 27%{?dist} Summary: GTK port of the wxWidgets GUI library License: wxWidgets Group: System Environment/Libraries @@ -129,6 +129,9 @@ Summary: Development files for the wxGTK3 library Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-gl = %{version}-%{release} Requires: %{name}-media = %{version}-%{release} +%if 0%{?fedora} > 25 +Requires: %{name}-webview = %{version}-%{release} +%endif Requires: %{wxbasename} = %{version}-%{release} Requires: gtk%{gtkver}-devel Requires: libGLU-devel @@ -170,6 +173,21 @@ comprehensive set of helper classes for most common application tasks, ranging from networking to HTML display and image manipulation. +%if 0%{?fedora} > 25 +%package webview +Summary: WebView add-on for the wxWidgets library +Group: System Environment/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description webview +WebView add-on for the wxWidgets library. +wxWidgets is the GTK port of the C++ cross-platform wxWidgets +GUI library, offering classes for all common GUI controls as well as a +comprehensive set of helper classes for most common application tasks, +ranging from networking to HTML display and image manipulation. +%endif + + %package -n %{wxbasename} Summary: Non-GUI support classes from the wxWidgets library Group: System Environment/Libraries @@ -292,6 +310,11 @@ popd %post media -p /sbin/ldconfig %postun media -p /sbin/ldconfig +%if 0%{?fedora} > 25 +%post webview -p /sbin/ldconfig +%postun webview -p /sbin/ldconfig +%endif + %post -n %{wxbasename} -p /sbin/ldconfig %postun -n %{wxbasename} -p /sbin/ldconfig @@ -323,8 +346,10 @@ fi %{_libdir}/libwx_gtk%{gtkver}u_richtext-*.so.* %{_libdir}/libwx_gtk%{gtkver}u_stc-*.so.* %if %{gtkver} == 3 +%if 0%{?fedora} < 26 %{_libdir}/libwx_gtk%{gtkver}u_webview-*.so.* %endif +%endif %{_libdir}/libwx_gtk%{gtkver}u_xrc-*.so.* %files devel @@ -348,6 +373,11 @@ fi %files media %{_libdir}/libwx_gtk%{gtkver}u_media-*.so.* +%if 0%{?fedora} > 25 +%files webview +%{_libdir}/libwx_gtk%{gtkver}u_webview-*.so.* +%endif + %files -n %{wxbasename} %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt %doc docs/licendoc.txt docs/preamble.txt docs/readme.txt @@ -362,6 +392,9 @@ fi %doc docs/doxygen/out/xml/* %changelog +* Sat Oct 08 2016 Scott Talbert - 3.0.2-27 +- Add a -webview subpackage in F26+ + * Tue Oct 04 2016 Jeremy Newton - 3.0.2-26 - Memory leak in last patch, add patch to fix it - Change last patch to 3.0 branch for consistency