Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-wxWidgets-3_0
mingw64-wxWidgets-3_0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-wxWidgets-3_0.spec of Package mingw64-wxWidgets-3_0
# # spec file for package mingw64-wxWidgets-3_0 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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: mingw64-wxWidgets-3_0 Version: 3.0.2 Release: 0 Summary: C++ Library for Cross-Platform Development License: GPL-2.0+ Group: Development/Libraries/C and C++ Url: http://wxwidgets.org/ Source: http://downloads.sf.net/wxwindows/wxWidgets-%{version}.tar.bz2 Patch1: Fix-calculation-of-space-for-bitmap-in-wxButton.patch Patch2: soversion.diff Patch3: 16849.diff Patch4: 3.0.2-stc-gcc6.patch Patch5: 16984-1.patch Patch6: 16984-2.patch Patch7: 0001-fix-msw-accessibility.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem BuildRequires: mingw64-libexpat-devel BuildRequires: mingw64-libjpeg-devel BuildRequires: mingw64-libpng-devel BuildRequires: mingw64-libtiff-devel BuildRequires: mingw64-zlib-devel %_mingw64_package_header_debug BuildArch: noarch #!BuildIgnore: post-build-checks %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. %package -n mingw64-libwx_baseu_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_baseu_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_baseu_net_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_baseu_net_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_baseu_xml_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_baseu_xml_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_adv_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_adv_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_aui_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_aui_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_core_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_core_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_gl_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_gl_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_html_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_html_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_media_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_media_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_propgrid_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_propgrid_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_qa_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_qa_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_ribbon_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_ribbon_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_richtext_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_richtext_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_stc_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_stc_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_webview_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_webview_suse1 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_xrc_suse1 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_xrc_suse1 Library for the wxWidgets cross-platform GUI. %package devel Summary: Everything needed for development with wxWidgets/wxMSW Group: Development/Libraries/C and C++ %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. This package contains all files needed for developing with wxMSW. %package devel-static Summary: Static libraries for development with wxWidgets/wxMSW Group: Development/Libraries/C and C++ Requires: mingw64-wxWidgets-3_0-devel = %{version}-%{release} %description devel-static 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. This package contains static library for wxMSW development. %lang_package %_mingw64_debug_package %prep %setup -q -n wxWidgets-%version %patch -P 1 -p1 %patch -P 2 -p1 %patch -P 3 -p1 %patch -P 4 -p1 %patch -P 5 -p1 %patch -P 6 -p1 %patch -P 7 -p1 %build export MINGW64_CXXFLAGS="%_mingw64_cxxflags -Wno-narrowing" mkdir shared pushd shared %{_mingw64_configure} --enable-stl --enable-release --enable-debug --enable-accessibility \ --enable-vendor=suse make %{?_smp_mflags} -j2 popd # now build the static library mkdir static pushd static %{_mingw64_configure} --disable-shared --enable-stl --enable-release --enable-debug --enable-accessibility \ --enable-vendor=suse make %{?_smp_mflags} -j2 popd %install b=%{buildroot} pushd shared make DESTDIR="$b" install %{?_smp_mflags} popd # save file mv $b/%{_mingw64_bindir}/wx-config $b/%{_mingw64_bindir}/wx-shared-config pushd static make DESTDIR="$b" install %{?_smp_mflags} popd mv $b/%{_mingw64_bindir}/wx-config $b/%{_mingw64_bindir}/wx-static-config mv $b/%{_mingw64_bindir}/wx-shared-config $b/%{_mingw64_bindir}/wx-config mkdir -p "$b/%{_mingw64_bindir}" mv -v "$b/%{_mingw64_libdir}"/*.dll "$b/%{_mingw64_bindir}/" mkdir -p "$b/%{_prefix}/%{_mingw64_target}/bin" ln -s "%{_mingw64_bindir}/wx-config" "$b/%{_prefix}/%{_mingw64_target}/bin/" ln -s "%{_mingw64_bindir}/wx-static-config" "$b/%{_prefix}/%{_mingw64_target}/bin/" %find_lang wxmsw %find_lang wxstd %files %defattr(-,root,root) %files -n mingw64-libwx_baseu_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_baseu_gcc_suse-1.dll %files -n mingw64-libwx_baseu_net_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_baseu_net_gcc_suse-1.dll %files -n mingw64-libwx_baseu_xml_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_baseu_xml_gcc_suse-1.dll %files -n mingw64-libwx_mswu_adv_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_adv_gcc_suse-1.dll %files -n mingw64-libwx_mswu_aui_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_aui_gcc_suse-1.dll %files -n mingw64-libwx_mswu_core_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_core_gcc_suse-1.dll %files -n mingw64-libwx_mswu_gl_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_gl_gcc_suse-1.dll %files -n mingw64-libwx_mswu_html_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_html_gcc_suse-1.dll %files -n mingw64-libwx_mswu_media_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_media_gcc_suse-1.dll %files -n mingw64-libwx_mswu_propgrid_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_propgrid_gcc_suse-1.dll %files -n mingw64-libwx_mswu_qa_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_qa_gcc_suse-1.dll %files -n mingw64-libwx_mswu_ribbon_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_ribbon_gcc_suse-1.dll %files -n mingw64-libwx_mswu_richtext_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_richtext_gcc_suse-1.dll %files -n mingw64-libwx_mswu_stc_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_stc_gcc_suse-1.dll %files -n mingw64-libwx_mswu_webview_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_webview_gcc_suse-1.dll %files -n mingw64-libwx_mswu_xrc_suse1 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_xrc_gcc_suse-1.dll %files devel %defattr(-,root,root) # Complete documentation is available in the docs packages. %doc docs/*.txt %{_prefix}/%{_mingw64_target}/bin/wx-config %{_mingw64_bindir}/wx-config %{_mingw64_bindir}/wxrc* %{_mingw64_includedir}/wx* %{_mingw64_libdir}/libwx*.dll.a %dir %{_mingw64_libdir}/wx/ %dir %{_mingw64_libdir}/wx/config/ %{_mingw64_libdir}/wx/config/x86_64-w64-mingw32-msw-unicode-3.0 %dir %{_mingw64_libdir}/wx/include/ %{_mingw64_libdir}/wx/include/x86_64-w64-mingw32-msw-unicode-3.0 %{_mingw64_datadir}/aclocal/ %{_mingw64_datadir}/bakefile/ %files devel-static %defattr(-,root,root) %{_prefix}/%{_mingw64_target}/bin/wx-static-config %{_mingw64_bindir}/wx-static-config %{_mingw64_libdir}/libwx*mingw32.a %{_mingw64_libdir}/wx/config/x86_64-w64-mingw32-msw-unicode-static-3.0 %{_mingw64_libdir}/wx/include/x86_64-w64-mingw32-msw-unicode-static-3.0 %files lang -f wxmsw.lang -f wxstd.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor