File dejsonlz4.spec of Package dejsonlz4
#
# spec file for package dejsonlz4
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: dejsonlz4
Version: 1.1+git20171119
Release: 0
Summary: Decompress Mozilla Firefox bookmarks backup files
License: BSD-2-Clause
URL: https://github.com/avih/dejsonlz4
Source0: %{name}-%{version}.tar.xz
%description
Decompress Mozilla Firefox bookmarks backup files
Current Firefox bookmarks backup files are stored as non-standard file
format based on lz4 compression. These files have a .jsonlz4 extension.
Use dejsonlz4 to decompress them.
%prep
%autosetup
%build
gcc %{optflags} -Wall -o dejsonlz4 src/dejsonlz4.c src/lz4.c
%install
install -Dm0755 dejsonlz4 %{buildroot}%{_bindir}/%{name}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog