websocketpp/websocketpp.spec

63 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

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