Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32:python3
mingw32-filesystem
mingw32-filesystem.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-filesystem.spec of Package mingw32-filesystem
# # spec file for package mingw32-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/ # # 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: mingw32-filesystem Version: 20230614 Release: 0 Summary: MinGW base filesystem and environment License: GPL-2.0-or-later Group: Development/Libraries/Other URL: http://hg.et.redhat.com/misc/fedora-mingw--devel/ Source0: COPYING Source1: macros.mingw32 Source2: mingw32.sh Source3: mingw32-find-debuginfo.sh Source4: mingw32-find-requires.sh Source5: mingw32-find-provides.sh Source6: mingw32-scripts.sh Source7: mingw32-rpmlintrc Source8: mingw32-install-post.sh Source9: mingw32-find-lang.sh Source10: languages Source11: languages.man Source15: mingw32-filesystem-rpmlintrc Source16: mingw-objdump-srcfiles Source17: mingw32_binaries.attr Source19: mingw32_config.attr Source20: mingw32_libs.attr Source21: mingw32_pkgconfig.attr # add excluded system libraries to mingw32-find-requires.sh # TODO: The following provides could be removed after all packages has been rebuild Provides: mingw32(bcrypt.dll) Provides: mingw32(dbghelp.dll) Provides: mingw32(mpr.dll) Provides: mingw32(odbccp32.dll) Provides: mingw32(userenv.dll) Provides: mingw32(uxtheme.dll) # TODO: The available DLL's can be identified by the # available import libraries of the mingw32-runtime package. # needed by mingw32-libqt5-qtbase Provides: mingw32(d2d1.dll) Provides: mingw32(d3d11.dll) Provides: mingw32(d3d12.dll) Provides: mingw32(dcomp.dll) Provides: mingw32(dwrite.dll) Provides: mingw32(dxgi.dll) Provides: mingw32(ncrypt.dll) Provides: mingw32(wtsapi32.dll) Requires: coreutils Requires: findutils Requires: gawk Requires: grep Requires: mingw32-cross-binutils-utils Requires: mingw32-cross-pkgconf-utils Requires: python3 Requires: rpm Requires: rpmlint-mini Requires: sed BuildArch: noarch #!BuildIgnore: post-build-checks %description This package contains the base filesystem layout, RPM macros and environment for all MinGW packages. This environment is maintained by the Fedora MinGW SIG at: http://fedoraproject.org/wiki/SIGs/MinGW %prep %setup -q -c -T cp %{SOURCE0} COPYING sed 's/@VERSION@/%{version}/' < %{SOURCE4} > mingw32-find-requires.sh %build # nothing %install mkdir -p %{buildroot} mkdir -p %{buildroot}%{_prefix}/lib mkdir -p %{buildroot}%{_libexecdir} install -m 755 %{SOURCE6} %{buildroot}%{_libexecdir}/mingw32-scripts # this is already provided by _mingw32_create_macro_links # but including macros.mingw32 results into an unknown failure mkdir -p %{buildroot}%{_bindir} pushd %{buildroot}%{_bindir} for i in mingw32-configure mingw32-make mingw32-gdb; do ln -s %{_libexecdir}/mingw32-scripts $i done popd 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.mingw32 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" %{SOURCE7} | gawk 'BEGIN { print "Filters = ["} { print $0 } END { print "]"}' > %{SOURCE7}.toml install -m 644 %{SOURCE7}.toml %{buildroot}%_rpmlintdir/mingw32.toml %else install -m 644 %{SOURCE7} %{buildroot}%_rpmlintdir/mingw32-rpmlint.config %endif mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32 # GCC requires these directories, even though they contain links # to binaries which are also installed in /usr/bin etc. These # contain native binaries. mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/bin mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/lib # The MinGW system root which will contain Windows native binaries # and Windows-specific header files, pkgconfig, etc. mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/bin mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/include mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/include/sys mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/lib mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/lib/cmake mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/aclocal mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/pkgconfig mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/var mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw%{_localstatedir}/lib mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw%{_localstatedir}/lib/rpm-state mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw%{_localstatedir}/lib/rpm-state/gconf (cd %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root && ln -s mingw i686-w64-mingw32) # Let programs locate their plugins relative to the executable without using # upward movement ("..") in those packages, cf. libdbi, libenchant. # mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/bin/lib ln -s ../../lib "%buildroot/%_prefix/i686-w64-mingw32/sys-root/mingw/bin/lib/i386-pc" mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/doc mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/info mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/man mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/man/man{1,2,3,4,5,6,7,8,9,n} # NB. NOT _libdir mkdir -p %{buildroot}%{_rpmconfigdir} install -m 0755 %{SOURCE3} %{buildroot}%{_rpmconfigdir} install -m 0755 %{SOURCE4} %{buildroot}%{_rpmconfigdir} install -m 0755 %{SOURCE5} %{buildroot}%{_rpmconfigdir} install -m 0755 %{SOURCE8} %{buildroot}%{_rpmconfigdir} install -m 0755 %{SOURCE9} %{buildroot}%{_rpmconfigdir} # dependency generator support mkdir -p %{buildroot}%{_fileattrsdir} install -m 0644 %{SOURCE17} %{buildroot}%{_fileattrsdir} install -m 0644 %{SOURCE19} %{buildroot}%{_fileattrsdir} install -m 0644 %{SOURCE20} %{buildroot}%{_fileattrsdir} install -m 0644 %{SOURCE21} %{buildroot}%{_fileattrsdir} # Create the locale directories: while read LANG ; do mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/locale/$LANG/LC_MESSAGES mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/help/$LANG done < %{SOURCE10} # Create the locale directories for man: while read LANG ; do mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/man/$LANG for sec in 1 2 3 4 5 6 7 8 9 n; do mkdir -p %{buildroot}%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/man/$LANG/man$sec done done < %{SOURCE11} install -m 0755 %{SOURCE16} %{buildroot}%{_bindir}/i686-w64-mingw32-objdump-srcfiles %files %license COPYING %{_rpmmacrodir}/macros.mingw32 %if %{undefined _distconfdir} %config %{_sysconfdir}/profile.d/mingw32.sh %else %{_distconfdir}/profile.d/mingw32.sh %endif %if %suse_version >= 1550 %_rpmlintdir/mingw32.toml %else %_rpmlintdir/mingw32-rpmlint.config %endif %{_fileattrsdir}/mingw32*.attr %{_bindir}/mingw32-* %{_bindir}/i686-w64-mingw32-* %{_libexecdir}/mingw32-scripts %{_prefix}/i686-w64-mingw32/ %{_rpmconfigdir}/mingw32-* %dir %{_prefix}/i686-w64-mingw32/sys-root/mingw/lib/cmake %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