Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
windows:mingw:win64
mingw64-SDL2_net
mingw64-SDL2_net.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-SDL2_net.spec of Package mingw64-SDL2_net
# # spec file for package mingw64-SDL2_net # # Copyright (c) 2024, Martin Hauke <mardnh@gmx.de> # # 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 realname SDL2_net Name: mingw64-%{realname} Version: 2.2.0 Release: 0 Summary: SDL2 networking library License: Zlib Group: Development/Libraries/C and C++ URL: https://github.com/libsdl-org/SDL_net Source: https://github.com/libsdl-org/SDL_net/archive/refs/tags/release-%{version}.tar.gz#/%{realname}-%{version}.tar.gz Patch0: 0001-cmake-always-install-SDL2_net.pc.patch Patch1: 0002-cmake-make-cmake-installation-folder-configurable.patch Patch2: 0003-cmake-set-INETLIB-used-for-private-libs-in-SDL2_net..patch Patch3: 0004-cmake-fix-indentation-of-pkg-config-if-else-block.patch Patch4: 0005-cmake-cannot-install-SDL2_net-when-SDL2-is-also-buil.patch Patch6: 0007-Use-CMAKE_CURRENT_-_DIR-instead-of-CMAKE_-_DIR.patch BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-cmake BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-libSDL2-devel %_mingw64_package_header_debug BuildArch: noarch %description This is a networking library for use with SDL. %package devel Summary: Development files for the SDL2 networking library Group: Development/Libraries/C and C++ Requires: %name = %version %description devel This is a networking library for use with SDL. %_mingw64_debug_package %prep %setup -q -n SDL_net-release-%{version} %autopatch -p1 sed -i 's/\r$//' CHANGES.txt README.txt %build %{_mingw64_cmake} -DCMAKE_INSTALL_LIBDIR:PATH=lib %make_build %install %{_mingw64_cmake_install} rm %buildroot/%_mingw64_datadir/licenses/SDL2_net/LICENSE.txt %files %license LICENSE.txt %{_mingw64_bindir}/SDL2_net.dll %files devel %doc CHANGES.txt README.txt %{_mingw64_includedir}/SDL2/SDL_net.h %{_mingw64_libdir}/libSDL2_net.dll.a %{_mingw64_libdir}/pkgconfig/SDL2_net.pc %{_mingw64_libdir}/cmake/SDL2_net %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