package created using the webbuild interface [release 0.2.8-1mamba;Tue May 25 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 19:12:13 +01:00
parent ea313df4af
commit 20df37ea53
2 changed files with 97 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# waylandpp
C++ bindings for Wayland.

95
waylandpp.spec Normal file
View File

@ -0,0 +1,95 @@
Name: waylandpp
Version: 0.2.8
Release: 1mamba
Summary: C++ binding for Wayland
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/NilsBrause/waylandpp
Source: https://github.com/NilsBrause/waylandpp.git/%{version}/waylandpp-%{version}.tar.bz2
License: MIT, GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: pugixml-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
C++ bindings for Wayland.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for C++ bindings for Wayland.
%description -n lib%{name}
C++ bindings for Wayland.
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}
Requires: pkg-config
%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 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%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}/libwayland-client++.so.*
%{_libdir}/libwayland-client-extra++.so.*
%{_libdir}/libwayland-cursor++.so.*
%{_libdir}/libwayland-egl++.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/wayland-scanner++
%{_includedir}/wayland-*.hpp
%{_libdir}/libwayland-client++.so
%{_libdir}/libwayland-client-extra++.so
%{_libdir}/libwayland-cursor++.so
%{_libdir}/libwayland-egl++.so
%dir %{_datadir}/doc/waylandpp
%dir %{_datadir}/doc/waylandpp/html
%{_datadir}/doc/waylandpp/html/*
%dir %{_datadir}/doc/waylandpp/latex
%{_datadir}/doc/waylandpp/latex/*
%{_mandir}/man3/wayland*.3*
%dir %{_datadir}/waylandpp
%dir %{_datadir}/waylandpp/protocols
%{_datadir}/waylandpp/protocols/*.xml
%dir %{_libdir}/cmake/waylandpp
%{_libdir}/cmake/waylandpp/waylandpp*.cmake
%{_libdir}/pkgconfig/wayland-*.pc
%doc README.md
%changelog
* Tue May 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.8-1mamba
- package created using the webbuild interface