forked from jengelh/wxWidgets-3_2
Accepting request 810240 from home:StefanBruens:branches:X11:wxWidgets
- Update to new upstream release 3.1.3 For a detailed changelog, see https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.3/docs/changes.txt * Support for per-monitor DPI and dynamic DPI changes under MSW. * More generally, many fixes for various controls appearance in high DPI. * Long requested support for freezing rows and/or columns in wxGrid. * New XRC handlers for wxDataViewCtrl, wxInfoBar. * It is now possible to use gradients when creating wxGraphicsPen. * Extended compiler (MSVS 2019) and platforms (macOS 10.14+) support. * Significant improvements to the (still experimental) wxQt port. * Important bug fixes for focus handling in wxOSX port. - Cleanup spec file - Enable reproducible-build option - Use SDL2 instead of SDL1 (only used by sound plugin) OBS-URL: https://build.opensuse.org/request/show/810240 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=55
This commit is contained in:
parent
b520fd9649
commit
2a2adee16c
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 28 22:51:52 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Update to new upstream release 3.1.3
|
||||
For a detailed changelog, see
|
||||
https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.3/docs/changes.txt
|
||||
* Support for per-monitor DPI and dynamic DPI changes under MSW.
|
||||
* More generally, many fixes for various controls appearance in high DPI.
|
||||
* Long requested support for freezing rows and/or columns in wxGrid.
|
||||
* New XRC handlers for wxDataViewCtrl, wxInfoBar.
|
||||
* It is now possible to use gradients when creating wxGraphicsPen.
|
||||
* Extended compiler (MSVS 2019) and platforms (macOS 10.14+) support.
|
||||
* Significant improvements to the (still experimental) wxQt port.
|
||||
* Important bug fixes for focus handling in wxOSX port.
|
||||
- Cleanup spec file
|
||||
- Enable reproducible-build option
|
||||
- Use SDL2 instead of SDL1 (only used by sound plugin)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 08:55:06 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wxGTK3-3_2
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,25 +22,23 @@ Name: wxGTK3-3_2
|
||||
%define variant suse
|
||||
%define psonum 3_1_3
|
||||
%define sonum 3.1.3
|
||||
Version: 3.1.3~g673
|
||||
Version: 3.1.3
|
||||
Release: 0
|
||||
%define wx_minor 3.1
|
||||
%define wx_micro 3.1.3
|
||||
# build non-UI toolkit related packages
|
||||
%define base_packages 0
|
||||
Summary: C++ Library for Cross-Platform Development
|
||||
License: LGPL-2.1+ WITH WxWindows-exception-3.1
|
||||
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://www.wxwidgets.org/
|
||||
Source: %tarball_name-%version.tar.xz
|
||||
Source: https://github.com/wxWidgets/wxWidgets/releases/download/v%{version}/wxWidgets-%{version}.tar.bz2#/%tarball_name-%version.tar.bz2
|
||||
Source2: README.SUSE
|
||||
Source5: wxWidgets-3_2-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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: cppunit-devel
|
||||
BuildRequires: gcc-c++
|
||||
@ -50,13 +48,7 @@ BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
%define gtk_version 3
|
||||
%define toolkit gtk%gtk_version
|
||||
%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
|
||||
@ -65,6 +57,12 @@ BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(liblzma)
|
||||
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
%else
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
%endif
|
||||
|
||||
%description
|
||||
wxWidgets is a C++ library abstraction layer for a number of GUI
|
||||
@ -216,7 +214,7 @@ Summary: wxWidgets SDL Plugin
|
||||
Group: System/Libraries
|
||||
|
||||
%description plugin-sound_sdlu-3_2
|
||||
SDL Plugin for the wxWidgets cross-platform GUI.
|
||||
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for GTK3-backed wxWidgets 3.2
|
||||
@ -284,6 +282,7 @@ autoconf -f -i
|
||||
%else
|
||||
--disable-debug \
|
||||
%endif
|
||||
--enable-repro-build \
|
||||
--enable-stl \
|
||||
--enable-plugins
|
||||
make %{?_smp_mflags}
|
||||
@ -336,83 +335,65 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
||||
|
||||
%if %base_packages
|
||||
%files -n libwx_baseu-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_baseu_net-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_baseu_xml-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
||||
%endif
|
||||
|
||||
%files -n libwx_%{toolkit}u_adv-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_aui-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_core-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_gl-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_html-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_media-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_qa-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_richtext-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_webview-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_webview-%variant.so.%{sonum}*
|
||||
%dir %_libdir/wx
|
||||
%dir %_libdir/wx/%wx_micro
|
||||
%_libdir/wx/%wx_micro/web-extensions/
|
||||
|
||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||
|
||||
%if %base_packages
|
||||
%files plugin-sound_sdlu-3_2
|
||||
%defattr (-,root,root)
|
||||
%dir %_libdir/wx
|
||||
%dir %_libdir/wx/%wx_micro
|
||||
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr (-,root,root)
|
||||
# Complete documentation is available in the docs packages.
|
||||
%doc docs/*.txt README.SUSE
|
||||
%_bindir/wxrc
|
||||
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 28 22:51:52 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Update to new upstream release 3.1.3
|
||||
For a detailed changelog, see
|
||||
https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.3/docs/changes.txt
|
||||
* Support for per-monitor DPI and dynamic DPI changes under MSW.
|
||||
* More generally, many fixes for various controls appearance in high DPI.
|
||||
* Long requested support for freezing rows and/or columns in wxGrid.
|
||||
* New XRC handlers for wxDataViewCtrl, wxInfoBar.
|
||||
* It is now possible to use gradients when creating wxGraphicsPen.
|
||||
* Extended compiler (MSVS 2019) and platforms (macOS 10.14+) support.
|
||||
* Significant improvements to the (still experimental) wxQt port.
|
||||
* Important bug fixes for focus handling in wxOSX port.
|
||||
- Cleanup spec file
|
||||
- Enable reproducible-build option
|
||||
- Use SDL2 instead of SDL1 (only used by sound plugin)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 08:55:06 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wxQt-3_2
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,38 +22,30 @@ Name: wxQt-3_2
|
||||
%define variant suse
|
||||
%define psonum 3_1_3
|
||||
%define sonum 3.1.3
|
||||
Version: 3.1.3~g673
|
||||
Version: 3.1.3
|
||||
Release: 0
|
||||
%define wx_minor 3.1
|
||||
%define wx_micro 3.1.3
|
||||
# build non-UI toolkit related packages
|
||||
%define base_packages 0
|
||||
Summary: C++ Library for Cross-Platform Development
|
||||
License: LGPL-2.1+ WITH WxWindows-exception-3.1
|
||||
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://www.wxwidgets.org/
|
||||
Source: %tarball_name-%version.tar.xz
|
||||
Source: https://github.com/wxWidgets/wxWidgets/releases/download/v%{version}/wxWidgets-%{version}.tar.bz2#/%tarball_name-%version.tar.bz2
|
||||
Source2: README.SUSE
|
||||
Source5: wxWidgets-3_2-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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: cppunit-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gstreamer-devel
|
||||
BuildRequires: gstreamer-plugins-base-devel
|
||||
%define toolkit qt
|
||||
%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
|
||||
@ -68,6 +60,11 @@ BuildRequires: pkgconfig(Qt5Test) >= 5.2.1
|
||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.1
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(glu)
|
||||
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
%else
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
%endif
|
||||
|
||||
%description
|
||||
wxWidgets is a C++ library abstraction layer for a number of GUI
|
||||
@ -219,7 +216,7 @@ Summary: wxWidgets SDL Plugin
|
||||
Group: System/Libraries
|
||||
|
||||
%description plugin-sound_sdlu-3_2
|
||||
SDL Plugin for the wxWidgets cross-platform GUI.
|
||||
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for Qt-backed wxWidgets 3.2
|
||||
@ -283,6 +280,7 @@ autoconf -f -i
|
||||
%else
|
||||
--disable-debug \
|
||||
%endif
|
||||
--enable-repro-build \
|
||||
--enable-stl \
|
||||
--enable-plugins
|
||||
make %{?_smp_mflags}
|
||||
@ -335,76 +333,59 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
||||
|
||||
%if %base_packages
|
||||
%files -n libwx_baseu-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_baseu_net-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_baseu_xml-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
||||
%endif
|
||||
|
||||
%files -n libwx_%{toolkit}u_adv-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_aui-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_core-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_gl-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_html-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_media-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_qa-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_richtext-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||
|
||||
%if %base_packages
|
||||
%files plugin-sound_sdlu-3_2
|
||||
%defattr (-,root,root)
|
||||
%dir %_libdir/wx
|
||||
%dir %_libdir/wx/%wx_micro
|
||||
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr (-,root,root)
|
||||
# Complete documentation is available in the docs packages.
|
||||
%doc docs/*.txt README.SUSE
|
||||
%_bindir/wxrc
|
||||
|
3
wxWidgets-3.1.3.tar.bz2
Normal file
3
wxWidgets-3.1.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fffc1d34dac54ff7008df327907984b156c50cff5a2f36ee3da6052744ab554a
|
||||
size 21345268
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf31e73d6732001beae34c9b8dd4cd3a2ecb79d1fecaa5c5be7e6a45431a3d43
|
||||
size 22397212
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 28 22:51:52 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Update to new upstream release 3.1.3
|
||||
For a detailed changelog, see
|
||||
https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.3/docs/changes.txt
|
||||
* Support for per-monitor DPI and dynamic DPI changes under MSW.
|
||||
* More generally, many fixes for various controls appearance in high DPI.
|
||||
* Long requested support for freezing rows and/or columns in wxGrid.
|
||||
* New XRC handlers for wxDataViewCtrl, wxInfoBar.
|
||||
* It is now possible to use gradients when creating wxGraphicsPen.
|
||||
* Extended compiler (MSVS 2019) and platforms (macOS 10.14+) support.
|
||||
* Significant improvements to the (still experimental) wxQt port.
|
||||
* Important bug fixes for focus handling in wxOSX port.
|
||||
- Cleanup spec file
|
||||
- Enable reproducible-build option
|
||||
- Use SDL2 instead of SDL1 (only used by sound plugin)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 08:55:06 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wxWidgets-3_2
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,25 +22,23 @@ Name: wxWidgets-3_2
|
||||
%define variant suse
|
||||
%define psonum 3_1_3
|
||||
%define sonum 3.1.3
|
||||
Version: 3.1.3~g673
|
||||
Version: 3.1.3
|
||||
Release: 0
|
||||
%define wx_minor 3.1
|
||||
%define wx_micro 3.1.3
|
||||
# build non-UI toolkit related packages
|
||||
%define base_packages 1
|
||||
Summary: C++ Library for Cross-Platform Development
|
||||
License: LGPL-2.1+ WITH WxWindows-exception-3.1
|
||||
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://www.wxwidgets.org/
|
||||
Source: %tarball_name-%version.tar.xz
|
||||
Source: https://github.com/wxWidgets/wxWidgets/releases/download/v%{version}/wxWidgets-%{version}.tar.bz2#/%tarball_name-%version.tar.bz2
|
||||
Source2: README.SUSE
|
||||
Source5: wxWidgets-3_2-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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: cppunit-devel
|
||||
BuildRequires: gcc-c++
|
||||
@ -50,13 +48,7 @@ BuildRequires: gstreamer-plugins-base-devel
|
||||
BuildRequires: gtk2-devel
|
||||
%define gtk_version 2
|
||||
%define toolkit gtk%gtk_version
|
||||
%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
|
||||
@ -65,6 +57,11 @@ BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(glu)
|
||||
%if 0%{?sle_version} < 150000 && !0%{?is_opensuse}
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
%else
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
%endif
|
||||
|
||||
%description
|
||||
wxWidgets is a C++ library abstraction layer for a number of GUI
|
||||
@ -216,7 +213,7 @@ Summary: wxWidgets SDL Plugin
|
||||
Group: System/Libraries
|
||||
|
||||
%description plugin-sound_sdlu-3_2
|
||||
SDL Plugin for the wxWidgets cross-platform GUI.
|
||||
SDL based sound plugin for the wxWidgets cross-platform GUI.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for GTK2-backed wxWidgets 3.2
|
||||
@ -286,6 +283,7 @@ autoconf -f -i
|
||||
%else
|
||||
--disable-debug \
|
||||
%endif
|
||||
--enable-repro-build \
|
||||
--enable-stl \
|
||||
--enable-plugins
|
||||
make %{?_smp_mflags}
|
||||
@ -338,76 +336,59 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
|
||||
|
||||
%if %base_packages
|
||||
%files -n libwx_baseu-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_baseu_net-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_baseu_xml-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
|
||||
%endif
|
||||
|
||||
%files -n libwx_%{toolkit}u_adv-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_aui-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_core-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_gl-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_html-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_media-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_qa-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_richtext-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_stc-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
|
||||
|
||||
%files -n libwx_%{toolkit}u_xrc-%variant%psonum
|
||||
%defattr (-,root,root)
|
||||
%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
|
||||
|
||||
%if %base_packages
|
||||
%files plugin-sound_sdlu-3_2
|
||||
%defattr (-,root,root)
|
||||
%dir %_libdir/wx
|
||||
%dir %_libdir/wx/%wx_micro
|
||||
%_libdir/wx/%wx_micro/sound_sdlu-%wx_micro.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr (-,root,root)
|
||||
# Complete documentation is available in the docs packages.
|
||||
%doc docs/*.txt README.SUSE
|
||||
%_bindir/wxrc
|
||||
|
Loading…
Reference in New Issue
Block a user