Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rguenther:plgrnd
crossguid
crossguid.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crossguid.spec of Package crossguid
# # spec file for package crossguid # # Copyright (c) 2022 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 sover 0 Name: crossguid Version: 0.2.2.20190529T083634.ca1bf4b Release: 0 Summary: Cross platform C++ GUID/UUID library License: MIT Group: Development/Libraries/C and C++ URL: https://github.com/graeme-hill/crossguid Source0: %{name}-%{version}.tar.xz Patch0: include_missing_cstdint.patch BuildRequires: cmake >= 3.8 BuildRequires: pkgconfig BuildRequires: pkgconfig(uuid) %if 0%{?suse_version} < 1500 BuildRequires: gcc8-c++ %else BuildRequires: gcc-c++ %endif %description Lightweight cross platform C++ GUID/UUID library %package devel Summary: Development files for lib%{name} Group: Development/Libraries/C and C++ Requires: lib%{name}%{sover} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use lib%{name}. %package -n lib%{name}%{sover} Summary: C++ GUID/UUID library Group: System/Libraries %description -n lib%{name}%{sover} Lightweight cross platform C++ GUID/UUID library %prep %autosetup -p1 %build test -x "$(type -p g++)" && export CXX="$_" test -x "$(type -p g++-7)" && export CXX="$_" test -x "$(type -p g++-8)" && export CXX="$_" test -x "$(type -p g++-9)" && export CXX="$_" %cmake %make_jobs %install %cmake_install %ldconfig_scriptlets -n lib%{name}%{sover} %files -n lib%{name}%{sover} %license LICENSE %{_libdir}/lib%{name}.so.%{sover}* %files devel %{_includedir}/* %{_datadir}/* %{_libdir}/lib%{name}.so %{_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