|
alexjnewt@hotmail.com |
ff74a61 |
%global srcname wxWidgets
|
|
alexjnewt@hotmail.com |
ff74a61 |
%global wxgtkname wxGTK3
|
|
alexjnewt@hotmail.com |
ff74a61 |
%global wxbasename wxBase3
|
|
alexjnewt@hotmail.com |
ff74a61 |
#RHEL 6 does not have gtk3
|
|
alexjnewt@hotmail.com |
ff74a61 |
#RHEL prior to 6 is unsupported by this package
|
|
alexjnewt@hotmail.com |
ff74a61 |
%if 0%{?el6}
|
|
alexjnewt@hotmail.com |
ff74a61 |
%global gtkver 2
|
|
alexjnewt@hotmail.com |
ff74a61 |
%else
|
|
alexjnewt@hotmail.com |
ff74a61 |
%global gtkver 3
|
|
alexjnewt@hotmail.com |
ff74a61 |
%endif
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
Mystro256 |
37d5bdf |
#For git snapshots, set to 0 to use release instead:
|
|
Mystro256 |
37d5bdf |
%global usesnapshot 1
|
|
Mystro256 |
37d5bdf |
%if 0%{?usesnapshot}
|
|
Mystro256 |
6276214 |
%global commit0 f90b768ea040529fe33fda7e20f5fe2765de1dd0
|
|
Mystro256 |
37d5bdf |
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
Mystro256 |
37d5bdf |
#What doc version to use with the snapshot (usually last release):
|
|
Mystro256 |
fb90136 |
%global builddocs 1
|
|
Mystro256 |
37d5bdf |
%endif
|
|
Mystro256 |
37d5bdf |
|
|
alexjnewt@hotmail.com |
ff74a61 |
Name: %{wxgtkname}
|
|
Mystro256 |
37d5bdf |
Version: 3.0.3
|
|
|
965da34 |
Release: 0.3%{?usesnapshot:.git%{shortcommit0}}%{?dist}
|
|
alexjnewt@hotmail.com |
ff74a61 |
Summary: GTK port of the wxWidgets GUI library
|
|
alexjnewt@hotmail.com |
ff74a61 |
License: wxWidgets
|
|
alexjnewt@hotmail.com |
ff74a61 |
Group: System Environment/Libraries
|
|
alexjnewt@hotmail.com |
ff74a61 |
URL: http://www.wxwidgets.org/
|
|
Mystro256 |
37d5bdf |
|
|
Mystro256 |
37d5bdf |
%if 0%{?usesnapshot}
|
|
Mystro256 |
37d5bdf |
Source0: https://github.com/%{srcname}/%{srcname}/archive/%{commit0}.tar.gz#/%{srcname}-%{shortcommit0}.tar.gz
|
|
Mystro256 |
37d5bdf |
%else
|
|
Mystro256 |
37d5bdf |
Source0: https://github.com/%{srcname}/%{srcname}/releases/download/v%{version}/%{srcname}-%{version}.tar.bz2
|
|
Mystro256 |
37d5bdf |
%endif
|
|
Mystro256 |
fb90136 |
%if ! 0%{?builddocs}
|
|
Mystro256 |
fb90136 |
Source1: https://github.com/%{srcname}/%{srcname}/releases/download/v%{version}/%{srcname}-%{version}-docs-html.tar.bz2
|
|
Mystro256 |
fb90136 |
%endif
|
|
alexjnewt@hotmail.com |
ff74a61 |
Source10: wx-config
|
|
|
dd37920 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1225148
|
|
|
dd37920 |
# remove abort when ABI check fails
|
|
|
dd37920 |
# Backport from wxGTK
|
|
Jeremy Newton |
359a25b |
Patch0: %{name}-%{version}-abicheck.patch
|
|
|
965da34 |
# Switch to use GStreamer 1.0 - patch is from Debian
|
|
|
965da34 |
Patch1: %{name}-%{version}-gst1.0.patch
|
|
|
263c5a5 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: gtk%{gtkver}-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
#Note webkitgtk (GTK2) does not appear to be supported
|
|
alexjnewt@hotmail.com |
ff74a61 |
%if %{gtkver} == 3
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: webkitgtk3-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
%endif
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: zlib-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: libpng-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: libjpeg-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: libtiff-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: expat-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: SDL-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: libGLU-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: libSM-devel
|
|
|
965da34 |
BuildRequires: gstreamer1-plugins-base-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: GConf2-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: gettext
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: cppunit-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildRequires: libmspack-devel
|
|
|
a9e6f4a |
BuildRequires: doxygen
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
Provides: %{srcname} = %{version}-%{release}
|
|
|
26939d0 |
Provides: bundled(scintilla) = 3.2.1
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: %{wxbasename}%{?_isa} = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%description
|
|
alexjnewt@hotmail.com |
ff74a61 |
wxWidgets is the GTK port of the C++ cross-platform wxWidgets
|
|
alexjnewt@hotmail.com |
ff74a61 |
GUI library, offering classes for all common GUI controls as well as a
|
|
alexjnewt@hotmail.com |
ff74a61 |
comprehensive set of helper classes for most common application tasks,
|
|
alexjnewt@hotmail.com |
ff74a61 |
ranging from networking to HTML display and image manipulation.
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%package devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
Group: Development/Libraries
|
|
alexjnewt@hotmail.com |
ff74a61 |
Summary: Development files for the wxGTK3 library
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: %{name}-gl = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: %{name}-media = %{version}-%{release}
|
|
|
3cf7211 |
%if 0%{?fedora} > 25
|
|
|
3cf7211 |
Requires: %{name}-webview = %{version}-%{release}
|
|
|
3cf7211 |
%endif
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: %{wxbasename} = %{version}-%{release}
|
|
Jeremy Newton |
63d23b2 |
Requires: gtk%{gtkver}-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: libGLU-devel
|
|
|
b6b7424 |
Requires(post): %{_sbindir}/update-alternatives
|
|
|
b6b7424 |
Requires(postun): %{_sbindir}/update-alternatives
|
|
alexjnewt@hotmail.com |
ff74a61 |
Provides: %{srcname}-devel = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%description devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
This package include files needed to link with the wxGTK3 library.
|
|
alexjnewt@hotmail.com |
ff74a61 |
wxWidgets is the GTK port of the C++ cross-platform wxWidgets
|
|
alexjnewt@hotmail.com |
ff74a61 |
GUI library, offering classes for all common GUI controls as well as a
|
|
alexjnewt@hotmail.com |
ff74a61 |
comprehensive set of helper classes for most common application tasks,
|
|
alexjnewt@hotmail.com |
ff74a61 |
ranging from networking to HTML display and image manipulation.
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%package gl
|
|
alexjnewt@hotmail.com |
ff74a61 |
Summary: OpenGL add-on for the wxWidgets library
|
|
alexjnewt@hotmail.com |
ff74a61 |
Group: System Environment/Libraries
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%description gl
|
|
alexjnewt@hotmail.com |
ff74a61 |
OpenGL (a 3D graphics API) add-on for the wxWidgets library.
|
|
alexjnewt@hotmail.com |
ff74a61 |
wxWidgets is the GTK port of the C++ cross-platform wxWidgets
|
|
alexjnewt@hotmail.com |
ff74a61 |
GUI library, offering classes for all common GUI controls as well as a
|
|
alexjnewt@hotmail.com |
ff74a61 |
comprehensive set of helper classes for most common application tasks,
|
|
alexjnewt@hotmail.com |
ff74a61 |
ranging from networking to HTML display and image manipulation.
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%package media
|
|
alexjnewt@hotmail.com |
ff74a61 |
Summary: Multimedia add-on for the wxWidgets library
|
|
alexjnewt@hotmail.com |
ff74a61 |
Group: System Environment/Libraries
|
|
alexjnewt@hotmail.com |
ff74a61 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%description media
|
|
alexjnewt@hotmail.com |
ff74a61 |
Multimedia add-on for the wxWidgets library.
|
|
alexjnewt@hotmail.com |
ff74a61 |
wxWidgets is the GTK port of the C++ cross-platform wxWidgets
|
|
alexjnewt@hotmail.com |
ff74a61 |
GUI library, offering classes for all common GUI controls as well as a
|
|
alexjnewt@hotmail.com |
ff74a61 |
comprehensive set of helper classes for most common application tasks,
|
|
alexjnewt@hotmail.com |
ff74a61 |
ranging from networking to HTML display and image manipulation.
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
|
3cf7211 |
%if 0%{?fedora} > 25
|
|
|
3cf7211 |
%package webview
|
|
|
3cf7211 |
Summary: WebView add-on for the wxWidgets library
|
|
|
3cf7211 |
Group: System Environment/Libraries
|
|
|
3cf7211 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
3cf7211 |
|
|
|
3cf7211 |
%description webview
|
|
|
3cf7211 |
WebView add-on for the wxWidgets library.
|
|
|
3cf7211 |
wxWidgets is the GTK port of the C++ cross-platform wxWidgets
|
|
|
3cf7211 |
GUI library, offering classes for all common GUI controls as well as a
|
|
|
3cf7211 |
comprehensive set of helper classes for most common application tasks,
|
|
|
3cf7211 |
ranging from networking to HTML display and image manipulation.
|
|
|
3cf7211 |
%endif
|
|
|
3cf7211 |
|
|
|
3cf7211 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%package -n %{wxbasename}
|
|
alexjnewt@hotmail.com |
ff74a61 |
Summary: Non-GUI support classes from the wxWidgets library
|
|
alexjnewt@hotmail.com |
ff74a61 |
Group: System Environment/Libraries
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%description -n %{wxbasename}
|
|
alexjnewt@hotmail.com |
ff74a61 |
Every wxWidgets application must link against this library. It contains
|
|
alexjnewt@hotmail.com |
ff74a61 |
mandatory classes that any wxWidgets code depends on (like wxString) and
|
|
alexjnewt@hotmail.com |
ff74a61 |
portability classes that abstract differences between platforms. wxBase can
|
|
alexjnewt@hotmail.com |
ff74a61 |
be used to develop console mode applications -- it does not require any GUI
|
|
alexjnewt@hotmail.com |
ff74a61 |
libraries or the X Window System.
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%package docs
|
|
alexjnewt@hotmail.com |
ff74a61 |
Group: Development/Libraries
|
|
alexjnewt@hotmail.com |
ff74a61 |
Summary: Documentation for the wxGTK3 library
|
|
alexjnewt@hotmail.com |
5d8810e |
Requires: %{name} = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
Provides: %{srcname}-docs = %{version}-%{release}
|
|
alexjnewt@hotmail.com |
ff74a61 |
BuildArch: noarch
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%description docs
|
|
alexjnewt@hotmail.com |
ff74a61 |
This package provides documentation for the %{srcname} library.
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
|
a9e6f4a |
%package xmldocs
|
|
|
a9e6f4a |
Group: Development/Libraries
|
|
|
a9e6f4a |
Summary: XML Documentation for the wxGTK3 library
|
|
|
a9e6f4a |
Requires: %{name} = %{version}-%{release}
|
|
|
a9e6f4a |
Provides: %{srcname}-xmldocs = %{version}-%{release}
|
|
|
a9e6f4a |
BuildArch: noarch
|
|
|
a9e6f4a |
|
|
|
a9e6f4a |
%description xmldocs
|
|
|
a9e6f4a |
This package provides XML documentation for the %{srcname} library.
|
|
|
a9e6f4a |
|
|
|
a9e6f4a |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%prep
|
|
Mystro256 |
37d5bdf |
%if 0%{?usesnapshot}
|
|
Mystro256 |
fb90136 |
%autosetup -n %{srcname}-%{commit0} %{!?builddocs:-a 1} -p1
|
|
Mystro256 |
37d5bdf |
%else
|
|
Mystro256 |
fb90136 |
%autosetup -n %{srcname}-%{version} %{!?builddocs:-a 1} -p1
|
|
Mystro256 |
37d5bdf |
%endif
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
# patch some installed files to avoid conflicts with 2.8.*
|
|
alexjnewt@hotmail.com |
c239e24 |
sed -i -e 's|aclocal)|aclocal/wxwin3.m4)|' Makefile.in
|
|
alexjnewt@hotmail.com |
ff74a61 |
sed -i -e 's|wxstd.mo|wxstd3.mo|' Makefile.in
|
|
alexjnewt@hotmail.com |
ff74a61 |
sed -i -e 's|wxmsw.mo|wxmsw3.mo|' Makefile.in
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
# fix plugin dir for 64-bit
|
|
alexjnewt@hotmail.com |
66df003 |
sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure
|
|
alexjnewt@hotmail.com |
ff74a61 |
sed -i -e 's|/lib|/%{_lib}|' src/unix/stdpaths.cpp
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
|
0c7f9b3 |
# Trick configure into using pkg-config for cppunit-config
|
|
|
0c7f9b3 |
sed -i -e 's|$CPPUNIT_CONFIG --version|$CPPUNIT_CONFIG --modversion|' configure
|
|
|
0c7f9b3 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%build
|
|
alexjnewt@hotmail.com |
ff74a61 |
# likely still dereferences type-punned pointers
|
|
alexjnewt@hotmail.com |
ff74a61 |
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
alexjnewt@hotmail.com |
ff74a61 |
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
alexjnewt@hotmail.com |
ff74a61 |
# fix unused-direct-shlib-dependency error:
|
|
alexjnewt@hotmail.com |
ff74a61 |
export LDFLAGS="-Wl,--as-needed"
|
|
|
0c7f9b3 |
# Trick configure into using pkg-config for cppunit-config
|
|
|
0c7f9b3 |
export CPPUNIT_CONFIG="/usr/bin/pkg-config cppunit"
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
Mystro256 |
37d5bdf |
%if 0%{?usesnapshot}
|
|
Mystro256 |
37d5bdf |
#For snapshots, mo files need to be generated
|
|
Mystro256 |
37d5bdf |
pushd locale
|
|
Mystro256 |
37d5bdf |
make allmo
|
|
Mystro256 |
37d5bdf |
popd
|
|
Mystro256 |
37d5bdf |
%endif
|
|
Mystro256 |
37d5bdf |
|
|
|
244ea7f |
./autogen.sh
|
|
alexjnewt@hotmail.com |
ff74a61 |
%configure \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--with-gtk=%{gtkver} \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--with-opengl \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--with-sdl \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--with-gnomeprint \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--with-libmspack \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--enable-intl \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--enable-no_deps \
|
|
alexjnewt@hotmail.com |
ff74a61 |
--disable-rpath \
|
|
alexjnewt@hotmail.com |
e6c1c37 |
--enable-ipv6
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
Mystro256 |
37d5bdf |
%make_build
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
|
484b3a8 |
#Docs
|
|
|
484b3a8 |
%if 0%{?builddocs}
|
|
|
484b3a8 |
WX_SKIP_DOXYGEN_VERSION_CHECK=1 docs/doxygen/regen.sh html
|
|
|
484b3a8 |
mv docs/doxygen/out/html .
|
|
|
484b3a8 |
%else
|
|
|
484b3a8 |
mv %{srcname}-%{version} html
|
|
|
484b3a8 |
%endif
|
|
|
484b3a8 |
|
|
|
a9e6f4a |
pushd docs/doxygen
|
|
|
a9e6f4a |
WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh xml
|
|
|
a9e6f4a |
popd
|
|
|
a9e6f4a |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%install
|
|
alexjnewt@hotmail.com |
ff74a61 |
%makeinstall
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
# install our multilib-aware wrapper
|
|
alexjnewt@hotmail.com |
6a6f413 |
##Remove installed
|
|
alexjnewt@hotmail.com |
ff74a61 |
rm %{buildroot}%{_bindir}/wx-config
|
|
alexjnewt@hotmail.com |
c239e24 |
##Install new and symlink
|
|
alexjnewt@hotmail.com |
c239e24 |
install -p -D -m 755 %{SOURCE10} %{buildroot}%{_libexecdir}/%{name}/wx-config
|
|
alexjnewt@hotmail.com |
c239e24 |
ln -s ../..%{_libexecdir}/%{name}/wx-config %{buildroot}%{_bindir}/wx-config-3.0
|
|
Mystro256 |
8b9de37 |
touch %{buildroot}%{_bindir}/wx-config
|
|
alexjnewt@hotmail.com |
6a6f413 |
##If gtk2
|
|
alexjnewt@hotmail.com |
6a6f413 |
%if %{gtkver} == 2
|
|
alexjnewt@hotmail.com |
c239e24 |
sed -i -e 's|gtk3|gtk2|' %{buildroot}%{_libexecdir}/%{name}/wx-config
|
|
alexjnewt@hotmail.com |
6a6f413 |
%endif
|
|
alexjnewt@hotmail.com |
6a6f413 |
|
|
Mystro256 |
8b9de37 |
#Alternatives setup with wxrc
|
|
alexjnewt@hotmail.com |
c239e24 |
mv %{buildroot}%{_bindir}/wxrc* %{buildroot}%{_libexecdir}/%{name}
|
|
alexjnewt@hotmail.com |
c239e24 |
ln -s ../..%{_libexecdir}/%{name}/wxrc-3.0 %{buildroot}%{_bindir}/wxrc-3.0
|
|
Mystro256 |
8b9de37 |
touch %{buildroot}%{_bindir}/wxrc
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
# move bakefiles to avoid conflicts with 2.8.*
|
|
alexjnewt@hotmail.com |
c239e24 |
mkdir %{buildroot}%{_datadir}/bakefile/presets/wx3
|
|
alexjnewt@hotmail.com |
c239e24 |
mv %{buildroot}%{_datadir}/bakefile/presets/*.* %{buildroot}%{_datadir}/bakefile/presets/wx3
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%find_lang wxstd3
|
|
alexjnewt@hotmail.com |
ff74a61 |
%find_lang wxmsw3
|
|
alexjnewt@hotmail.com |
ff74a61 |
cat wxmsw3.lang >> wxstd3.lang
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%check
|
|
alexjnewt@hotmail.com |
ff74a61 |
pushd tests
|
|
alexjnewt@hotmail.com |
ff74a61 |
make %{?_smp_mflags} test
|
|
alexjnewt@hotmail.com |
ff74a61 |
popd
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%post -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
%postun -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%post gl -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
%postun gl -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%post media -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
%postun media -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
|
3cf7211 |
%if 0%{?fedora} > 25
|
|
|
3cf7211 |
%post webview -p /sbin/ldconfig
|
|
|
3cf7211 |
%postun webview -p /sbin/ldconfig
|
|
|
3cf7211 |
%endif
|
|
|
3cf7211 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%post -n %{wxbasename} -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
%postun -n %{wxbasename} -p /sbin/ldconfig
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
Mystro256 |
8b9de37 |
%post devel
|
|
|
b6b7424 |
if [ -f %{_bindir}/wx-config ] && [ ! -h %{_bindir}/wx-config ] ; then
|
|
|
b6b7424 |
rm %{_bindir}/wx-config
|
|
|
b6b7424 |
fi
|
|
Mystro256 |
8b9de37 |
%{_sbindir}/update-alternatives --install %{_bindir}/wx-config \
|
|
Mystro256 |
8b9de37 |
wx-config %{_libexecdir}/%{name}/wx-config 3
|
|
Mystro256 |
8b9de37 |
%{_sbindir}/update-alternatives --install %{_bindir}/wxrc \
|
|
Mystro256 |
8b9de37 |
wxrc %{_libexecdir}/%{name}/wxrc 3
|
|
Mystro256 |
8b9de37 |
|
|
Mystro256 |
8b9de37 |
%postun devel
|
|
Mystro256 |
8b9de37 |
if [ $1 -eq 0 ] ; then
|
|
Mystro256 |
8b9de37 |
%{_sbindir}/update-alternatives --remove wx-config %{_libexecdir}/%{name}/wx-config
|
|
Mystro256 |
8b9de37 |
%{_sbindir}/update-alternatives --remove wxrc %{_libexecdir}/%{name}/wxrc
|
|
Mystro256 |
8b9de37 |
fi
|
|
Mystro256 |
8b9de37 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%files -f wxstd3.lang
|
|
alexjnewt@hotmail.com |
ff74a61 |
%doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt
|
|
alexjnewt@hotmail.com |
ff74a61 |
%doc docs/licendoc.txt docs/preamble.txt docs/readme.txt
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_adv-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_aui-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_core-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_html-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_propgrid-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_qa-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_ribbon-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_richtext-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_stc-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%if %{gtkver} == 3
|
|
|
3cf7211 |
%if 0%{?fedora} < 26
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_webview-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%endif
|
|
|
3cf7211 |
%endif
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_xrc-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%files devel
|
|
Mystro256 |
8b9de37 |
%ghost %{_bindir}/wx-config
|
|
Mystro256 |
8b9de37 |
%ghost %{_bindir}/wxrc
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_bindir}/wxrc-3.0
|
|
alexjnewt@hotmail.com |
c239e24 |
%{_bindir}/wx-config-3.0
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_includedir}/wx-3.0
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_*.so
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/wx
|
|
alexjnewt@hotmail.com |
c239e24 |
%{_datadir}/aclocal/wxwin3.m4
|
|
Jeremy Newton |
63d23b2 |
%{_datadir}/bakefile/presets/wx3
|
|
Jeremy |
ade3f6c |
#Exclude some python bitecode
|
|
Jeremy |
ade3f6c |
%exclude %{_datadir}/bakefile/presets/wx3/*.pyc
|
|
Jeremy |
ade3f6c |
%exclude %{_datadir}/bakefile/presets/wx3/*.pyo
|
|
alexjnewt@hotmail.com |
c239e24 |
%{_libexecdir}/%{name}
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%files gl
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_gl-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%files media
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_gtk%{gtkver}u_media-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
|
3cf7211 |
%if 0%{?fedora} > 25
|
|
|
3cf7211 |
%files webview
|
|
|
3cf7211 |
%{_libdir}/libwx_gtk%{gtkver}u_webview-*.so.*
|
|
|
3cf7211 |
%endif
|
|
|
3cf7211 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%files -n %{wxbasename}
|
|
alexjnewt@hotmail.com |
ff74a61 |
%doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt
|
|
alexjnewt@hotmail.com |
ff74a61 |
%doc docs/licendoc.txt docs/preamble.txt docs/readme.txt
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_baseu-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_baseu_net-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
%{_libdir}/libwx_baseu_xml-*.so.*
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%files docs
|
|
alexjnewt@hotmail.com |
ff74a61 |
%doc html
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
|
a9e6f4a |
%files xmldocs
|
|
|
a9e6f4a |
%doc docs/doxygen/out/xml/*
|
|
|
a9e6f4a |
|
|
alexjnewt@hotmail.com |
ff74a61 |
%changelog
|
|
|
965da34 |
* Fri Dec 30 2016 Scott Talbert <swt@techie.net> - 3.0.3-0.3.gitf90b768
|
|
|
965da34 |
- Switch to use GStreamer 1.0 (#1402628)
|
|
|
965da34 |
|
|
Mystro256 |
6276214 |
* Wed Dec 28 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.3-0.2.gitf90b768
|
|
Mystro256 |
6276214 |
- Update to newer git snapshot
|
|
Mystro256 |
6276214 |
|
|
Mystro256 |
37d5bdf |
* Sat Dec 10 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.3-0.1.git9518d52
|
|
Mystro256 |
37d5bdf |
- Update to git snapshot
|
|
Mystro256 |
37d5bdf |
|
|
|
fe5a6f0 |
* Mon Nov 21 2016 Scott Talbert <swt@techie.net> - 3.0.2-30
|
|
|
fe5a6f0 |
- Fix poedit regression in -29 - add paint clipping region patch (#1396747)
|
|
|
fe5a6f0 |
- Add patch to change ~wxPGChoicesData from private to protected
|
|
|
fe5a6f0 |
|
|
|
095c4c4 |
* Mon Nov 14 2016 Scott Talbert <swt@techie.net> - 3.0.2-29
|
|
|
095c4c4 |
- Fix some sizing problems with GTK3 (#1392102)
|
|
|
095c4c4 |
- Fix non-default window background color with GTK+ >= 3.20 (#1393847)
|
|
|
095c4c4 |
|
|
|
6ddfa9d |
* Mon Oct 10 2016 Scott Talbert <swt@techie.net> - 3.0.2-28
|
|
|
6ddfa9d |
- Fix rename issues in Filezilla with overlay scrollbars disabled (#1381765)
|
|
|
6ddfa9d |
|
|
|
3cf7211 |
* Sat Oct 08 2016 Scott Talbert <swt@techie.net> - 3.0.2-27
|
|
|
3cf7211 |
- Add a -webview subpackage in F26+
|
|
|
3cf7211 |
|
|
Mystro256 |
7793bd7 |
* Tue Oct 04 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-26
|
|
Mystro256 |
7793bd7 |
- Memory leak in last patch, add patch to fix it
|
|
Mystro256 |
7793bd7 |
- Change last patch to 3.0 branch for consistency
|
|
Mystro256 |
7793bd7 |
|
|
Mystro256 |
e523d93 |
* Tue Oct 04 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-25
|
|
Mystro256 |
e523d93 |
- Add patch to fix bug 1381767
|
|
Mystro256 |
e523d93 |
- Clean up spec file with autosetup
|
|
Mystro256 |
e523d93 |
|
|
|
a2cf677 |
* Sat Sep 24 2016 Scott Talbert <swt@techie.net> - 3.0.2-24
|
|
|
a2cf677 |
- Add patch to fix crash in wxGCDC::DrawEllipticArc()
|
|
|
a2cf677 |
|
|
|
b6b7424 |
* Mon Sep 19 2016 Scott Talbert <swt@techie.net> - 3.0.2-23
|
|
|
b6b7424 |
- Fix alternatives implementation
|
|
|
b6b7424 |
|
|
|
cb22fbe |
* Mon Sep 19 2016 Scott Talbert <swt@techie.net> - 3.0.2-22
|
|
|
cb22fbe |
- Add patch to fix runtime link error due to previous patches
|
|
|
cb22fbe |
|
|
|
e712f1c |
* Tue Sep 13 2016 Scott Talbert <swt@techie.net> - 3.0.2-21
|
|
|
e712f1c |
- Add patch to resolve wxGetKeyState() crash on Wayland (#1266743)
|
|
|
e712f1c |
- Add patch to fix wxFontEnumerator stop function
|
|
|
e712f1c |
- Add patch to fix wxNativeFontInfo::InitFromFont()
|
|
|
e712f1c |
|
|
Mystro256 |
8b9de37 |
* Sun Aug 28 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-20
|
|
Mystro256 |
8b9de37 |
- Fix alternatives with wxGTK (#1077718)
|
|
Mystro256 |
8b9de37 |
|
|
|
263c5a5 |
* Mon Apr 4 2016 Tom Callaway <tcallawa@redhat.com> - 3.0.2-19
|
|
|
263c5a5 |
- Add patch to resolve window sizing issue with gtk 3.19+
|
|
|
263c5a5 |
|
|
|
5c3df27 |
* Sun Mar 20 2016 Scott Talbert <swt@techie.net> - 3.0.2-18
|
|
|
5c3df27 |
- Add patch for wxEVT_MEDIA_XXX event types (for Phoenix)
|
|
|
5c3df27 |
|
|
|
92c277c |
* Wed Feb 24 2016 Scott Talbert <swt@techie.net> - 3.0.2-17
|
|
|
92c277c |
- Add patch to resolve issue with wxStaticText growing, fixes RH#1282142
|
|
|
92c277c |
- Add patches to resolve issues under Wayland with window sizing, RH#1294229
|
|
|
92c277c |
|
|
|
a9e6f4a |
* Tue Feb 23 2016 Scott Talbert <swt@techie.net> - 3.0.2-16
|
|
|
a9e6f4a |
- Add -xmldocs subpackage containing XML documentation (needed for Phoenix)
|
|
|
a9e6f4a |
|
|
|
0c7f9b3 |
* Tue Feb 23 2016 Scott Talbert <swt@techie.net> - 3.0.2-15
|
|
|
0c7f9b3 |
- Add GCC6 patches for STC and strings tests
|
|
|
0c7f9b3 |
- Adapt cppunit to use pkg-config (cppunit-config has been removed in F24)
|
|
|
0c7f9b3 |
- Fixes FTBFS in F24 Rawhide, RH#1308244
|
|
|
0c7f9b3 |
|
|
Jeremy |
ade3f6c |
* Mon Feb 22 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-14
|
|
Jeremy |
ade3f6c |
- Should actually fix RH#1294712
|
|
Jeremy |
ade3f6c |
|
|
|
01a7868 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-13
|
|
|
01a7868 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
01a7868 |
|
|
Jeremy Newton |
63d23b2 |
* Thu Dec 31 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-12
|
|
Jeremy Newton |
63d23b2 |
- Remove python artifacts in bakefile dir, causes multilib devel conflict RH#1294712
|
|
Jeremy Newton |
63d23b2 |
- Fix package devel not owning created wx3 backfile preset dir
|
|
Jeremy Newton |
63d23b2 |
- Add support for MIPS to wx-config RH#1294895
|
|
Jeremy Newton |
63d23b2 |
- Wayland Patch
|
|
Jeremy Newton |
63d23b2 |
|
|
Jeremy Newton |
63d23b2 |
* Thu Nov 5 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-11
|
|
Jeremy Newton |
359a25b |
- Added patch to fix checkbox and radio button issues for f21 onwards
|
|
Jeremy Newton |
359a25b |
|
|
Jeremy Newton |
63d23b2 |
* Sun Nov 1 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-10
|
|
Jeremy Newton |
077fb78 |
- Removed depreciated/retired libgnomeprintui22
|
|
Jeremy Newton |
077fb78 |
|
|
Jeremy Newton |
63d23b2 |
* Sat Aug 22 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-9
|
|
Jeremy Newton |
94da280 |
- Include spinbutton patch from upstream
|
|
Jeremy Newton |
94da280 |
|
|
Jeremy Newton |
63d23b2 |
* Mon Jun 22 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-8
|
|
Jeremy Newton |
39885d3 |
- Include some upstream patches to fix crashes and warnings
|
|
Jeremy Newton |
39885d3 |
|
|
|
d9af07c |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-7
|
|
|
d9af07c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d9af07c |
|
|
|
dd37920 |
* Thu May 28 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.2-6
|
|
|
dd37920 |
- Don't abort on ABI check, backport from wxGTK
|
|
|
dd37920 |
|
|
|
26939d0 |
* Mon May 04 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-5
|
|
|
26939d0 |
- Indicate that this package bundles scintilla 3.2.1.
|
|
|
26939d0 |
|
|
Jeremy Newton |
63d23b2 |
* Thu Feb 26 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-4
|
|
Jeremy Newton |
94da280 |
- Bump to rebuild, fix bug #1210239
|
|
|
744d50f |
|
|
Jeremy Newton |
63d23b2 |
* Thu Feb 26 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-3
|
|
Jeremy Newton |
25637af |
- Bump to rebuild for gcc 5.0 to fix some issues
|
|
Jeremy Newton |
25637af |
|
|
Jeremy Newton |
63d23b2 |
* Tue Nov 04 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-2
|
|
alexjnewt@hotmail.com |
c239e24 |
- Moving things around again, hopefully fixing RH#1124402
|
|
alexjnewt@hotmail.com |
c239e24 |
- Adding symlinks to avoid breaking things
|
|
alexjnewt@hotmail.com |
c239e24 |
|
|
Jeremy Newton |
63d23b2 |
* Tue Nov 04 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-1
|
|
alexjnewt@hotmail.com |
72aded6 |
- Update to 3.0.2
|
|
alexjnewt@hotmail.com |
72aded6 |
|
|
|
5be127b |
* Mon Nov 03 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 3.0.1-5
|
|
|
5be127b |
- Add aarch64 and ppc64le to list of 64-bit architectures
|
|
|
5be127b |
|
|
Jeremy Newton |
63d23b2 |
* Tue Sep 30 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.1-4
|
|
alexjnewt@hotmail.com |
66df003 |
- Add conflict with wxgtk-devel again, temporary fix until it can be resolved
|
|
alexjnewt@hotmail.com |
66df003 |
|
|
Jeremy Newton |
63d23b2 |
* Tue Sep 30 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.1-3
|
|
alexjnewt@hotmail.com |
6a6f413 |
- Avoid gtk warnings, fixes RH#1147995
|
|
alexjnewt@hotmail.com |
6a6f413 |
- Moving wxrc and wx-config to libexec instead of renaming
|
|
alexjnewt@hotmail.com |
6a6f413 |
- Misc changes and spec error fixes, fixes RH#1124402
|
|
|
e711fbf |
|
|
Jeremy Newton |
63d23b2 |
* Sat Jul 5 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.1-1
|
|
alexjnewt@hotmail.com |
b365113 |
- Bump to 3.0.1 RH#1076617
|
|
alexjnewt@hotmail.com |
992ca3a |
|
|
Jeremy Newton |
63d23b2 |
* Tue Mar 18 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.0-6
|
|
alexjnewt@hotmail.com |
e6c1c37 |
- Removed disable-catch_segvs, see RH#1076617
|
|
alexjnewt@hotmail.com |
e6c1c37 |
|
|
Jeremy Newton |
63d23b2 |
* Mon Mar 17 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.0-5
|
|
alexjnewt@hotmail.com |
bc8166e |
- Renable combat28 - without it causes bugs RH#1076617 and a few others
|
|
alexjnewt@hotmail.com |
bc8166e |
|
|
Jeremy Newton |
63d23b2 |
* Wed Feb 19 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.0-4
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Fixed GTK3 bug with wx-config
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Fixed a unused-direct-shlib-dependency error
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
Jeremy Newton |
63d23b2 |
* Mon Feb 17 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.0-3
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Added patch to avoid build fail on gtk 3.10+
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Reverted patching to make devel package compatible with wxGTK-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Added combatibility for RHEL 6+
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Changed all mention of GTK3 and GTK2 to GTK for consistency
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
Jeremy Newton |
63d23b2 |
* Mon Feb 10 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.0-2
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Changed to build against gtk3
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Add webkit to build requires
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Removed patching to make devel package compatible with wxGTK-devel
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Disable 2.8.* combatibility (redundant functionality)
|
|
alexjnewt@hotmail.com |
ff74a61 |
|
|
Jeremy Newton |
63d23b2 |
* Sat Jan 4 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.0-1
|
|
alexjnewt@hotmail.com |
ff74a61 |
- Initial build of wxwidgets version 3, mostly based on wxGTK spec
|