# Restore old style debuginfo creation for rpm >= 4.14.
%undefine _debugsource_packages
%undefine _debuginfo_subpackages

# -*- rpm-spec -*-
BuildRoot:      %_topdir/beectl-1.3.6-Source
Summary:        Native Messaging Host for the Bee Browser Extension <https://github.com/rosmanov/chrome-bee>
Name:           beectl
Version:        1.3.6
Release:        1
License:        unknown
Group:          Development Tools
Vendor:         Humanity

Source: beectl-1.3.6.tar.gz
BuildRequires: git, cmake >= 3.12, make, gcc



%define debug_package %{nil}

%define _rpmdir %_topdir/RPMS
%define _srcrpmdir %_topdir/SRPMS
%define _rpmfilename beectl-1.3.6-Source.rpm
%define _unpackaged_files_terminate_build 0





%description
DESCRIPTION
===========

This is an installer created using CPack (https://cmake.org). No additional installation instructions provided.



# This is a shortcutted spec file generated by CMake RPM generator
# we skip _install step because CPack does that for us.
# We do only save CPack installed tree in _prepr
# and then restore it in build.
%prep
%setup -c


%build
mkdir cpack_rpm_build_dir
cd cpack_rpm_build_dir
'/usr/bin/cmake'  -DCPACK_PACKAGING_INSTALL_PREFIX=/ ../beectl-1.3.6-Source
make %{?_smp_mflags}

#p build

%install

cd cpack_rpm_build_dir
cpack -G RPM
mv *.rpm %_rpmdir

%clean

%changelog
* Sun Mar 12 2023 @PROJECT_CONTACT@ 1.3.6-1
- Added -h and --help CLI arguments.
- Updated cJSON library version to v1.7.15.
* Wed Oct 05 2022 @PROJECT_CONTACT@ 1.3.5-1
- Install Firefox manifest into /usr/lib64 instead of /usr/lib
  on 64-bit platforms.
* Thu Apr 07 2022 @PROJECT_CONTACT@ 1.3.4-1
- Fixed trailing character truncation in the temporary file path when editor
  was obtained from TMPDIR on non-Windows platforms.
* Tue Sep 21 2021 @PROJECT_CONTACT@ 1.3.3-1
- Fixed #5: command line arguments were not escaped properly in Windows.
* Wed Dec 30 2020 @PROJECT_CONTACT@ 1.3.1-1
- Fixed double free (thanks to Térence Clastres)
* Sat Aug 15 2020 @PROJECT_CONTACT@ 1.2.0-1
- Added support for custom filename extension via "ext" JSON property
- Fixed potential double free and a leak
- Miscellaneous tiny improvements of development files
* Sat Nov 02 2019 @PROJECT_CONTACT@ 1.1.4-1
* Fri Jan 11 2019 @PROJECT_CONTACT@ 1.0.0-1
- First release