package created using the webbuild interface [release 1.5.0-1mamba;Sat May 25 2024]

This commit is contained in:
Silvan Calarco 2024-05-26 12:30:34 +02:00
parent 36d838f5b6
commit deb49beaef
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# sdbus-cpp
sdbus-c++ is a high-level C++ D-Bus library for Linux designed to provide expressive, easy-to-use API in modern C++. It adds another layer of abstraction on top of sd-bus, a nice, fresh C D-Bus implementation by systemd.

79
sdbus-cpp.spec Normal file
View File

@ -0,0 +1,79 @@
Name: sdbus-cpp
Version: 1.5.0
Release: 1mamba
Summary: A high-level C++ D-Bus library for Linux designed to provide expressive, easy-to-use API in modern C++
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Kistler-Group/sdbus-cpp
Source: https://github.com/Kistler-Group/sdbus-cpp.git/v%{version}/sdbus-cpp-%{version}.tar.bz2
License: LGPL-2.1
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libsystemd-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
sdbus-c++ is a high-level C++ D-Bus library for Linux designed to provide expressive, easy-to-use API in modern C++. It adds another layer of abstraction on top of sd-bus, a nice, fresh C D-Bus implementation by systemd.
%package -n lib%{name}
Group: System/Libraries
Summary: A high-level C++ D-Bus library for Linux designed to provide expressive, easy-to-use API in modern C++
%description -n lib%{name}
sdbus-c++ is a high-level C++ D-Bus library for Linux designed to provide expressive, easy-to-use API in modern C++. It adds another layer of abstraction on top of sd-bus, a nice, fresh C D-Bus implementation by systemd.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsdbus-c++.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/sdbus-c++
%{_includedir}/sdbus-c++/*
%{_libdir}/libsdbus-c++.so
%dir %{_libdir}/cmake/sdbus-c++
%{_libdir}/cmake/sdbus-c++/sdbus-c++*.cmake
%{_libdir}/pkgconfig/sdbus-c++.pc
%dir %{_docdir}/sdbus-c++
%{_docdir}/sdbus-c++/*
%doc ChangeLog NEWS README README.md
%changelog
* Sat May 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
- package created using the webbuild interface