2014-12-07 01:34:49 +01:00
|
|
|
#
|
|
|
|
# spec file for package wxWidgets-3_2
|
|
|
|
#
|
2017-11-28 10:57:09 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-12-07 01:34:49 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: wxWidgets-3_2
|
|
|
|
%define base_name wxWidgets
|
|
|
|
%define tarball_name wxWidgets
|
2017-11-28 10:57:09 +01:00
|
|
|
%define variant suse
|
2017-11-28 11:59:33 +01:00
|
|
|
%define sonum 4
|
2017-11-28 13:46:45 +01:00
|
|
|
Version: 3.1.1~2244
|
2014-12-07 01:34:49 +01:00
|
|
|
Release: 0
|
2014-12-07 12:05:04 +01:00
|
|
|
%define wx_minor 3.1
|
2017-11-28 13:46:45 +01:00
|
|
|
%define wx_micro 3.1.1
|
2014-12-07 01:34:49 +01:00
|
|
|
# lang packages are exactly equal for all variants. Build it only once:
|
|
|
|
%if "%name" == "%base_name"
|
|
|
|
%define BUILD_LANG 1
|
|
|
|
%else
|
|
|
|
%define BUILD_LANG 0
|
|
|
|
%endif
|
2017-11-28 10:57:09 +01:00
|
|
|
# build non-UI toolkit related packages
|
|
|
|
%define base_packages 1
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: C++ Library for Cross-Platform Development
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-03-29 16:37:29 +02:00
|
|
|
Url: http://www.wxwidgets.org/
|
2017-11-28 11:59:33 +01:00
|
|
|
Source: %tarball_name-%version.tar.xz
|
2014-12-07 01:34:49 +01:00
|
|
|
Source2: README.SUSE
|
|
|
|
Source5: rpmlintrc
|
|
|
|
# This script is not used during build, but it makes possible to
|
|
|
|
# identify and backport wxPython fixes to wxWidgets.
|
|
|
|
Source6: wxpython-mkdiff.sh
|
|
|
|
Patch1: soversion.diff
|
2017-11-28 10:57:09 +01:00
|
|
|
Patch2: wxqt-compile.diff
|
2017-11-28 11:19:42 +01:00
|
|
|
BuildRoot: %_tmppath/%name-%version-build
|
2014-12-07 01:34:49 +01:00
|
|
|
BuildRequires: SDL-devel
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: cppunit-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gnome-vfs2-devel
|
2016-04-14 00:26:49 +02:00
|
|
|
BuildRequires: gstreamer-devel
|
|
|
|
BuildRequires: gstreamer-plugins-base-devel
|
2014-12-07 01:34:49 +01:00
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
%define gtk_version 2
|
2017-11-28 11:19:42 +01:00
|
|
|
%define toolkit gtk%gtk_version
|
2014-12-07 01:34:49 +01:00
|
|
|
%if 0%{?suse_version} >= 1220
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
%else
|
|
|
|
%if 0%{?sles_version} >= 11
|
|
|
|
BuildRequires: xorg-x11-libSM-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libmspack-devel
|
|
|
|
BuildRequires: libnotify-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: pkgconfig(glu)
|
|
|
|
|
|
|
|
%description
|
|
|
|
wxWidgets is a free C++ library for cross-platform GUI.
|
|
|
|
With wxWidgets, you can create applications for different GUIs (GTK+,
|
|
|
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%if %base_packages
|
|
|
|
%package -n libwx_baseu-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
# Name up to openSUSE 11.3 and up to wxGTK-2.8:
|
|
|
|
Obsoletes: wxGTK <= %version.0
|
|
|
|
# Third party base package name:
|
|
|
|
Obsoletes: wxWidgets < %version
|
|
|
|
# wxWidgets-lang requires wxWidgets. Provide them to fix dependencies:
|
|
|
|
Provides: wxWidgets = %version
|
|
|
|
Recommends: %base_name-lang >= %version
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_baseu-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_baseu_net-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_baseu_net-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_baseu_xml-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_baseu_xml-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 10:57:09 +01:00
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_adv-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_adv-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_aui-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_aui-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_core-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_core-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_gl-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_gl-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_html-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_html-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_media-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_media-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_propgrid-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_propgrid-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_qa-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_qa-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_ribbon-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_ribbon-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_richtext-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_richtext-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_stc-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_stc-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%package -n libwx_%{toolkit}u_xrc-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Summary: wxWidgets Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%description -n libwx_%{toolkit}u_xrc-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
Library for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%if %base_packages
|
2014-12-07 01:34:49 +01:00
|
|
|
%package plugin-sound_sdlu-3_2
|
|
|
|
Summary: wxWidgets SDL Plugin
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description plugin-sound_sdlu-3_2
|
|
|
|
SDL Plugin for the wxWidgets cross-platform GUI.
|
|
|
|
|
2017-11-28 10:57:09 +01:00
|
|
|
%endif
|
|
|
|
|
2014-12-07 01:34:49 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Everything needed for development with wxWidgets
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: gtk%gtk_version-devel
|
2017-11-28 11:19:42 +01:00
|
|
|
Requires: libwx_baseu-%variant%sonum = %version
|
|
|
|
Requires: libwx_baseu_net-%variant%sonum = %version
|
|
|
|
Requires: libwx_baseu_xml-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_adv-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_aui-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_core-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_gl-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_html-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_media-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_propgrid-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_qa-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_ribbon-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_richtext-%variant%sonum = %version
|
|
|
|
Requires: libwx_%{toolkit}u_stc-%variant%sonum = %version
|
2014-12-07 01:34:49 +01:00
|
|
|
Requires: pkgconfig(gl)
|
2017-11-28 11:19:42 +01:00
|
|
|
Requires: libwx_%{toolkit}u_xrc-%variant%sonum = %version
|
2014-12-07 01:34:49 +01:00
|
|
|
Requires: pkgconfig(glu)
|
|
|
|
Provides: wxWidgets-devel = %version-%release
|
2015-03-29 22:12:37 +02:00
|
|
|
Provides: wxGTK2-devel = %version-%release
|
2014-12-07 01:34:49 +01:00
|
|
|
Conflicts: otherproviders(wxWidgets-devel)
|
2015-03-29 22:12:37 +02:00
|
|
|
Conflicts: wxWidgets-experimental-devel
|
2014-12-07 01:34:49 +01:00
|
|
|
# Name up to openSUSE 11.3 and up to wxGTK-2.8.x:
|
|
|
|
Provides: wxGTK-devel = %version-%release
|
|
|
|
Obsoletes: wxGTK-devel <= %version-%release
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
wxWidgets is a free C++ library for cross-platform GUI development.
|
|
|
|
With wxWidgets, you can create applications for different GUIs (GTK+,
|
|
|
|
Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code.
|
|
|
|
|
2017-11-28 10:57:09 +01:00
|
|
|
This package contains all files needed for developing with wxGTK%gtk_version.
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
Note: wxWidgets variant devel packages are mutually exclusive. Please
|
|
|
|
read %_docdir/%name/README.SUSE to pick a correct variant.
|
|
|
|
|
|
|
|
%if %BUILD_LANG
|
|
|
|
%lang_package -n %base_name
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
echo "=== RPM build flags: WX_DEBUG=0%{?WX_DEBUG}"
|
2016-07-22 21:02:12 +02:00
|
|
|
%setup -q -n %tarball_name-%version
|
2017-11-30 18:31:54 +01:00
|
|
|
%patch -P 1 -P 2 -p1
|
2014-12-07 01:34:49 +01:00
|
|
|
cp %{S:2} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoconf -f -i
|
|
|
|
# With 2.9.1:
|
|
|
|
# --enable-objc_uniquifying is relevant only for Cocoa
|
|
|
|
# --enable-accessibility is currently supported only in msw
|
|
|
|
# --enable-extended_rtti does not compile
|
|
|
|
|
|
|
|
%configure\
|
2017-11-28 11:19:42 +01:00
|
|
|
--enable-vendor=%variant \
|
2014-12-07 01:34:49 +01:00
|
|
|
--with-gtk=%gtk_version\
|
|
|
|
--enable-unicode\
|
|
|
|
--with-opengl\
|
|
|
|
--with-libmspack\
|
|
|
|
--with-sdl\
|
|
|
|
--with-gnomevfs\
|
|
|
|
--enable-ipv6\
|
|
|
|
--enable-mediactrl\
|
|
|
|
--enable-optimise\
|
|
|
|
%if 0%{?WX_DEBUG}
|
|
|
|
--enable-debug\
|
|
|
|
%else
|
|
|
|
--disable-debug\
|
|
|
|
%endif
|
|
|
|
--enable-stl\
|
|
|
|
--enable-plugins
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%if %BUILD_LANG
|
|
|
|
cd locale
|
|
|
|
make allmo
|
|
|
|
cd ..
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%clean
|
|
|
|
:
|
|
|
|
|
|
|
|
%install
|
2017-11-28 11:19:42 +01:00
|
|
|
export VENDORTAG='-$variant' # only needed for non-MSW
|
2014-12-07 01:34:49 +01:00
|
|
|
make install DESTDIR="%buildroot"
|
2017-11-28 11:19:42 +01:00
|
|
|
%if %base_packages==0
|
2017-11-28 10:57:09 +01:00
|
|
|
# Drop libraries already supplied by another packages
|
2017-11-28 11:19:42 +01:00
|
|
|
rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \
|
2017-11-28 10:57:09 +01:00
|
|
|
"%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so
|
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
%if %BUILD_LANG
|
|
|
|
# Locales for MS Windows:
|
|
|
|
rm -Rf %buildroot/%_datadir/locale/*/LC_MESSAGES/wxmsw.mo
|
|
|
|
%find_lang wxstd
|
|
|
|
%else
|
|
|
|
rm -Rf %buildroot/%_datadir/locale
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# HACK: Fix wx-config symlink (bug introduced in 2.9.4).
|
|
|
|
ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%if %base_packages
|
|
|
|
%post -n libwx_baseu-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_baseu-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_baseu_net-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_baseu_net-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_baseu_xml-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_baseu_xml-%variant%sonum -p /sbin/ldconfig
|
2014-12-07 01:34:49 +01:00
|
|
|
%endif
|
2017-11-28 11:19:42 +01:00
|
|
|
%post -n libwx_%{toolkit}u_adv-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_adv-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_aui-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_aui-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_core-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_core-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_gl-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_gl-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_html-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_html-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_media-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_media-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_propgrid-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_propgrid-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_qa-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_qa-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_ribbon-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_ribbon-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_richtext-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_richtext-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_stc-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_stc-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%post -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig
|
|
|
|
%postun -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
%if %BUILD_LANG
|
|
|
|
|
|
|
|
%files lang -f wxstd.lang
|
|
|
|
%endif
|
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%if %base_packages
|
|
|
|
%files -n libwx_baseu-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_baseu_net-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_baseu_xml-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
2017-11-28 10:57:09 +01:00
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_adv-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_aui-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_core-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_gl-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_html-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_media-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_propgrid-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_qa-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_ribbon-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_richtext-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_stc-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%files -n libwx_%{toolkit}u_xrc-%variant%sonum
|
2014-12-07 01:34:49 +01:00
|
|
|
%defattr (-,root,root)
|
2017-11-28 11:19:42 +01:00
|
|
|
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 11:19:42 +01:00
|
|
|
%if %base_packages
|
2014-12-07 01:34:49 +01:00
|
|
|
%files plugin-sound_sdlu-3_2
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%dir %_libdir/wx
|
2014-12-07 12:31:40 +01:00
|
|
|
%dir %_libdir/wx/%wx_micro
|
|
|
|
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
2017-11-28 10:57:09 +01:00
|
|
|
%endif
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-,root,root)
|
|
|
|
# Complete documentation is available in the docs packages.
|
|
|
|
%doc docs/*.txt README.SUSE
|
|
|
|
%_bindir/wxrc
|
|
|
|
%_bindir/wxrc-%wx_minor
|
|
|
|
%_bindir/*-config*
|
|
|
|
%_datadir/aclocal
|
|
|
|
%_datadir/bakefile
|
|
|
|
%_includedir/wx-%wx_minor
|
|
|
|
%_libdir/*.so
|
|
|
|
%dir %_libdir/wx
|
|
|
|
%_libdir/wx/config
|
|
|
|
%_libdir/wx/include
|
|
|
|
|
|
|
|
%changelog
|