Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:PerryWerneck:udjat
mingw64-libwmi++
mingw64-wmi++.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-wmi++.spec of Package mingw64-libwmi++
# # spec file for package mingw64-wmi++ # # Copyright (c) 2021 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 _libname mingw64-libwmi++ Name: mingw64-wmi++ Version: 1.0 Release: 0 Summary: Simple C++ library to execute WMI queries License: MIT Group: System/Libraries URL: https://github.com/Thomas-Sparber/wmi Source: wmi-%{version}.tar.xz Source1: pkgconfig.pc BuildRequires: fdupes BuildRequires: cmake BuildRequires: mingw64-filesystem >= 35 BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-extra-cmake-modules Provides: %{name}-devel BuildArch: noarch %description This is a very simple library written in C++ to execute WMI queries. The aim is to make it as simple as possible and stick as much as possible to the C++ standard (avoid Microsoft specific things) so that it even compiles smoothly on MinGW. %prep %autosetup -n wmi-%{version} %build %_mingw64_cmake %_mingw64_make %install find build mkdir -p %{buildroot}%{_mingw64_libdir} install --mode=644 build/libdiaa_sami_comsupp.a %{buildroot}%{_mingw64_libdir} install --mode=644 build/libwmi.a %{buildroot}%{_mingw64_libdir}/libwmi++.a mkdir -p %{buildroot}%{_mingw64_includedir}/wmi install --mode=644 include/* %{buildroot}%{_mingw64_includedir}/wmi mkdir -p %{buildroot}%{_mingw64_libdir}/pkgconfig install --mode=644 %{S:1} %{buildroot}%{_mingw64_libdir}/pkgconfig/wmi++.pc %files %doc README.md %license LICENSE %{_mingw64_libdir}/*.a %dir %{_mingw64_includedir}/wmi %{_mingw64_includedir}/wmi/* %{_mingw64_libdir}/pkgconfig/*.pc %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