Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
sdbus-cpp
sdbus-cpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sdbus-cpp.spec of Package sdbus-cpp
# # spec file for package sdbus-cpp # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2021-2024 Luca Boccassi <bluca@debian.org> # Copyright (c) 2020-2021 RedHat Inc. # # 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/ # %global version_major 1 %global version_minor 6 %global version_micro 0 Name: sdbus-cpp Version: %{version_major}.%{version_minor}.%{version_micro} Release: 0 Summary: High-level C++ D-Bus library License: LGPL-2.1-only Group: Development/Libraries/C and C++ URL: https://github.com/Kistler-Group/sdbus-cpp Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake >= 3.12 BuildRequires: gcc-c++ BuildRequires: pkgconfig(libsystemd) >= 236 %description High-level C++ D-Bus library for Linux designed to provide easy-to-use yet powerful API in modern C++ %package -n libsdbus-c++1 Summary: Shared library for %{name} Group: Development/Libraries/C and C++ %description -n libsdbus-c++1 Shared library files for %{name}. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libsdbus-c++1 = %{version} %description devel CMake, pkg-config, headers and other development files for %{name}. %package devel-doc Summary: Developer documentation for %{name} Group: Development/Libraries/C and C++ BuildArch: noarch BuildRequires: doxygen %description devel-doc READMEs and generated doxygen documentation for %{name} %package xml2cpp Summary: Stub code generator for sdbus-c++ Group: Development/Libraries/C and C++ Requires: libsdbus-c++1 = %{version} BuildRequires: pkgconfig(expat) %description xml2cpp The stub code generator for generating the adapter and proxy interfaces out of the D-Bus IDL XML description. %prep %autosetup -n %{name}-%{version} %build %cmake . \ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/packages/sdbus-c++ \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_CODE_GEN=ON \ -DBUILD_DOXYGEN_DOC=ON %cmake_build %cmake_build doc %install %cmake_install %post -n libsdbus-c++1 -p /sbin/ldconfig %postun -n libsdbus-c++1 -p /sbin/ldconfig %files -n libsdbus-c++1 %license COPYING %{_libdir}/libsdbus-c++.so.* %files devel %dir %{_libdir}/cmake/sdbus-c++ %dir %{_libdir}/cmake/sdbus-c++-tools %dir %{_docdir}/sdbus-c++ %doc %{_docdir}/sdbus-c++/AUTHORS %doc %{_docdir}/sdbus-c++/ChangeLog %doc %{_docdir}/sdbus-c++/NEWS %doc %{_docdir}/sdbus-c++/README %doc %{_docdir}/sdbus-c++/COPYING %{_libdir}/cmake/sdbus-c++* %{_libdir}/pkgconfig/sdbus-c++* %{_libdir}/libsdbus-c++.so %{_includedir}/* %files devel-doc %dir %{_docdir}/sdbus-c++ %dir %{_docdir}/sdbus-c++/html %doc %{_docdir}/sdbus-c++/html/* %doc %{_docdir}/sdbus-c++/README.md %doc %{_docdir}/sdbus-c++/sdbus-c++-class-diagram.png %doc %{_docdir}/sdbus-c++/sdbus-c++-class-diagram.uml %doc %{_docdir}/sdbus-c++/systemd-dbus-config.md %doc %{_docdir}/sdbus-c++/using-sdbus-c++.md %license COPYING %files xml2cpp %{_bindir}/sdbus-c++-xml2cpp %license COPYING %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