Blob Blame History Raw
Name:           jtc
Version:        1.75d
Release:        1%{?dist}
Summary:        JSON processing utility

License:        MIT
URL:            https://github.com/ldn-softdev/jtc
Source0:        %{URL}/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires:  gcc-c++

%description
jtc stand for: JSON transformational chains (used to be JSON test console).

jtc offers a powerful way to select one or multiple elements from a source JSON
and apply various actions on the selected elements at once (wrap selected
elements into a new JSON, filter in/out, sort elements, update elements, insert
new elements, remove, copy, move, compare, transform, swap around and many other
operations).


%prep
%autosetup

%build
g++ -std=gnu++14 %optflags %{name}.cpp -o %{name}

%install
install -Dpm 0755 %{name} %{buildroot}/%{_bindir}/%{name}

%files
%{_bindir}/%{name}
%license LICENSE
%doc README.md
%doc "User Guide.md"
%doc "Walk-path tutorial.md"
%doc "Release Notes.md"

%changelog
* Tue Jan 21 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 1.75d-1
- New upstream release 1.75d

* Sun Jan 12 2020 Dan Čermák <dan.cermak@cgc-instruments.com> - 1.75c-1
- Initial package version