Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Project not found: home:rhabacker:branches:KDE:Frameworks
home:rhabacker:branches:windows:mingw:win64:KF5103
mingw64-cross-filesystem
mingw64-cross-filesystem.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-cross-filesystem.spec of Package mingw64-cross-filesystem
# # spec file for package mingw64-cross-filesystem # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define _mingw64_target x86_64-w64-mingw64 # Tumbleweed %if %suse_version >= 1550 %define _rpmlintdir /opt/testing/share/rpmlint %else %define _rpmlintdir /opt/testing/share/rpmlint/mini %endif %define debug_package %{nil} %if %{undefined _distconfdir} %define _distconfdir %{_sysconfdir} %endif %if %{undefined _rpmmacrodir} %define _rpmmacrodir %{_sysconfdir}/rpm %endif Name: mingw64-cross-filesystem Version: 1.0.0 Release: 0 Summary: MinGW base filesystem and environment License: GPL-2.0-or-later Group: Development/Libraries/Other URL: https://en.opensuse.org/Build:projects:windows:mingw:win32 Source0: COPYING Source1: macros.mingw64-cross Source2: mingw64-cross.sh Source3: mingw64-cross-rpmlintrc Source4: mingw64-cross-filesystem-rpmlintrc #!BuildIgnore: post-build-checks BuildArch: noarch %description This package contains the base filesystem layout, RPM macros and environment for native packages installed in the root path of the associated target (in this case /usr/x86_64-w64-mingw64) and needed to build cross-compiled MinGW packages. %prep %setup -q -c -T cp %{SOURCE0} COPYING %build # nothing %install mkdir -p %{buildroot} mkdir -p %{buildroot}%_rpmlintdir # tumbleweed %if %suse_version >= 1550 # convert to toml file format, which seems to be required sed "s,addFilter *(\", ',g;s#\")#',#g" %{SOURCE3} | gawk 'BEGIN { print "Filters = ["} { print $0 } END { print "]"}' > %{SOURCE3}.toml install -m 644 %{SOURCE3}.toml %{buildroot}%_rpmlintdir/mingw64-cross.toml %else install -m 644 %{SOURCE3} %{buildroot}%_rpmlintdir/mingw64-cross-rpmlint.config %endif mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/include mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/bin mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/lib %ifnarch i586 mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/lib64/{pkgconfig,cmake,qt5} %else mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/lib/{pkgconfig,cmake,qt5} %endif mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/share/doc mkdir -p %{buildroot}%{_distconfdir}/profile.d install -m 644 %{SOURCE2} %{buildroot}%{_distconfdir}/profile.d/ mkdir -p %{buildroot}%{_rpmmacrodir} install -m 644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.mingw64-cross # kf5 mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/lib64/qt5/mkspecs/modules mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/share/qlogging-categories5 mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/mime/packages pushd /usr/share/locale for i in *; do mkdir -p %{buildroot}%{_prefix}/%{_mingw64_target}/share/locale/$i/LC_MESSAGES done popd %files %license COPYING %{_rpmmacrodir}/macros.mingw64-cross %if %{undefined _distconfdir} %config %{_sysconfdir}/profile.d/mingw64-cross.sh %else %{_distconfdir}/profile.d/mingw64-cross.sh %endif %if %suse_version >= 1550 %_rpmlintdir/mingw64-cross.toml %else %_rpmlintdir/mingw64-cross-rpmlint.config %endif %{_prefix}/x86_64-w64-mingw64/ %{_rpmmacrodir}/macros.mingw64-cross %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