|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
|
|
|
|
|
Name: %{wxgtkname}
|
|
|
|
|
Version: 3.0.2
|
|
|
|
|
Release: 22%{?dist}
|
|
|
|
|
Release: 23%{?dist}
|
|
|
|
|
Summary: GTK port of the wxWidgets GUI library
|
|
|
|
|
License: wxWidgets
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -122,6 +122,8 @@ Requires: %{name}-media = %{version}-%{release}
|
|
|
|
|
Requires: %{wxbasename} = %{version}-%{release}
|
|
|
|
|
Requires: gtk%{gtkver}-devel
|
|
|
|
|
Requires: libGLU-devel
|
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
|
Provides: %{srcname}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -301,6 +303,9 @@ popd
|
|
|
|
|
%postun -n %{wxbasename} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
if [ -f %{_bindir}/wx-config ] && [ ! -h %{_bindir}/wx-config ] ; then
|
|
|
|
|
rm %{_bindir}/wx-config
|
|
|
|
|
fi
|
|
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/wx-config \
|
|
|
|
|
wx-config %{_libexecdir}/%{name}/wx-config 3
|
|
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/wxrc \
|
|
|
|
@ -364,6 +369,9 @@ fi
|
|
|
|
|
%doc docs/doxygen/out/xml/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Sep 19 2016 Scott Talbert <swt@techie.net> - 3.0.2-23
|
|
|
|
|
- Fix alternatives implementation
|
|
|
|
|
|
|
|
|
|
* Mon Sep 19 2016 Scott Talbert <swt@techie.net> - 3.0.2-22
|
|
|
|
|
- Add patch to fix runtime link error due to previous patches
|
|
|
|
|
|
|
|
|
|