diff --git a/confluent_vtbufferd/confluent_vtbufferd.spec.tmpl b/confluent_vtbufferd/confluent_vtbufferd.spec.tmpl new file mode 100644 index 00000000..4c8c1371 --- /dev/null +++ b/confluent_vtbufferd/confluent_vtbufferd.spec.tmpl @@ -0,0 +1,38 @@ +%define name confluent_vtbufferd +%define version #VERSION# +%define release 1 + +Summary: Console buffer manager for confluent +Name: %{name} +Release: %{release} +Source0: %{name}-%{version}.tar.gz +License: Apache2 +Group: Development/Libraries +Vendor: Lenovo HPC Organization +Url: https://github.com/lenovo/confluent/ + +%description +Service for managing in-memory VT emulation for confluent. + +Contains third party open source code: + +Copyright (c) 2017 Rob King +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the copyright holder nor the + names of contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +%build +make + +%install +mkdir -p $RPM_BUILD_ROOT/opt/confluent/bin +cp vtbufferd $RPM_BUILD_ROOT/opt/confluent/bin/