package created using the webbuild interface [release 0.8.2-1mamba;Thu Nov 23 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:13:34 +01:00
parent e849bc442e
commit 3a373358be
2 changed files with 64 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# websocketpp # websocketpp
C++ websocket client/server library.

62
websocketpp.spec Normal file
View File

@ -0,0 +1,62 @@
Name: websocketpp
Version: 0.8.2
Release: 1mamba
Summary: C++ websocket client/server library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.zaphoyd.com/websocketpp
Source: https://github.com/zaphoyd/websocketpp.git/%{version}/websocketpp-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
C++ websocket client/server library.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
%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 \
-DINSTALL_CMAKE_DIR=%{_libdir}/cmake/websocketpp
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/websocketpp
%{_includedir}/websocketpp/*
%dir %{_libdir}/cmake/websocketpp
%{_libdir}/cmake/websocketpp/websocketpp-*.cmake
%doc COPYING
%changelog
* Thu Nov 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-1mamba
- package created using the webbuild interface