Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64
mingw64-wxWidgets-3_2
mingw64-wxWidgets-3_2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-wxWidgets-3_2.spec of Package mingw64-wxWidgets-3_2
# # spec file for package mingw64-wxWidgets-3_2 # # 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_2 Version: 3.2.0 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 Patch2: soversion.diff Patch3: 16849.diff 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_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_baseu_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_baseu_net_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_baseu_net_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_baseu_xml_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_baseu_xml_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_adv_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_adv_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_aui_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_aui_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_core_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_core_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_gl_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_gl_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_html_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_html_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_media_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_media_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_propgrid_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_propgrid_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_qa_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_qa_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_ribbon_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_ribbon_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_richtext_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_richtext_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_stc_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_stc_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_webview_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_webview_suse3_2 Library for the wxWidgets cross-platform GUI. %package -n mingw64-libwx_mswu_xrc_suse3_2 Summary: wxWidgets-wxMSW library Group: System/Libraries %description -n mingw64-libwx_mswu_xrc_suse3_2 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_2-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 %autosetup -p1 -n wxWidgets-%version %build export MINGW64_CXXFLAGS="%_mingw64_cxxflags -Wno-narrowing" mkdir shared pushd shared %{_mingw64_configure} --enable-stl --enable-accessibility \ --enable-vendor=suse make %{?_smp_mflags} popd # now build the static library mkdir static pushd static %{_mingw64_configure} --disable-shared --enable-stl --enable-accessibility \ --enable-vendor=suse make %{?_smp_mflags} popd %install b=%{buildroot} pushd shared make DESTDIR="$b" install %{?_smp_mflags} popd pushd static make DESTDIR="$b" install %{?_smp_mflags} popd mkdir -p "$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-config-static" "$b/%{_prefix}/%{_mingw64_target}/bin/" # fix generating incorrect symbol links for wx-config # fix wx-config name for static development package mv $b%{_mingw64_bindir}/wx-config $b%{_mingw64_bindir}/wx-static-config # use correct source for link, do not use the static variant ln -fs ../lib/wx/config/x86_64-w64-mingw32-msw-unicode-3.2 $b%{_mingw64_bindir}/wx-config %find_lang wxstd-3.2 %files -n mingw64-libwx_baseu_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_baseu_gcc*.dll %files -n mingw64-libwx_baseu_net_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_baseu_net_gcc*.dll %files -n mingw64-libwx_baseu_xml_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_baseu_xml_gcc*.dll %files -n mingw64-libwx_mswu_adv_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_adv_gcc*.dll %files -n mingw64-libwx_mswu_aui_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_aui_gcc*.dll %files -n mingw64-libwx_mswu_core_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_core_gcc*.dll %files -n mingw64-libwx_mswu_gl_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_gl_gcc*.dll %files -n mingw64-libwx_mswu_html_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_html_gcc*.dll %files -n mingw64-libwx_mswu_media_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_media_gcc*.dll %files -n mingw64-libwx_mswu_propgrid_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_propgrid_gcc*.dll %files -n mingw64-libwx_mswu_qa_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_qa_gcc*.dll %files -n mingw64-libwx_mswu_ribbon_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_ribbon_gcc*.dll %files -n mingw64-libwx_mswu_richtext_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_richtext_gcc*.dll %files -n mingw64-libwx_mswu_stc_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_stc_gcc*.dll %files -n mingw64-libwx_mswu_webview_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_webview_gcc*.dll %files -n mingw64-libwx_mswu_xrc_suse3_2 %defattr(-,root,root) %_mingw64_bindir/libwx_mswu_xrc_gcc*.dll %files devel %defattr(-,root,root) # Complete documentation is available in the docs packages. %doc docs/*.txt %{_prefix}/%{_mingw64_target}/bin/wx* %{_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.2 %dir %{_mingw64_libdir}/wx/include/ %{_mingw64_libdir}/wx/include/x86_64-w64-mingw32-msw-unicode-3.2 %{_mingw64_datadir}/aclocal/ %{_mingw64_datadir}/bakefile/ %files devel-static %defattr(-,root,root) %{_mingw64_bindir}/wx-static-config %{_mingw64_libdir}/libwx*mingw32.a %{_mingw64_libdir}/wx/config/x86_64-w64-mingw32-msw-unicode-static-3.2 %{_mingw64_libdir}/wx/include/x86_64-w64-mingw32-msw-unicode-static-3.2 %files lang -f wxstd-3.2.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