[packages/lz4json] - new

qboosh qboosh at pld-linux.org
Sun Oct 4 17:43:29 CEST 2020


commit 15bacec3486d1212f649b333a40bb5b6a84a4fa0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 4 17:46:25 2020 +0200

    - new

 lz4json.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/lz4json.spec b/lz4json.spec
new file mode 100644
index 0000000..a371dff
--- /dev/null
+++ b/lz4json.spec
@@ -0,0 +1,49 @@
+Summary:	Utility to unpack Firefox lz4json files
+Summary(pl.UTF-8):	Narzędzie do rozpakowywania plików lz4json z Firefoksa
+Name:		lz4json
+Version:	2
+Release:	1
+License:	BSD-like
+Group:		Applications/File
+#Source0Download: https://github.com/andikleen/lz4json/releases
+Source0:	https://github.com/andikleen/lz4json/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	639e40a0427c74f8d521a3a7729348fb
+URL:		https://github.com/andikleen/lz4json
+BuildRequires:	lz4-devel
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A little utility to unpack lz4json files as generated by Firefox's
+bookmark backups and session restore. This is a different format from
+what the normal lz4 utility expects.
+
+%description -l pl.UTF-8
+Niewielkie narzędzie do rozpakowywania plików lz4json, generowanych
+przez kopie zapasowe zakładek i sesji Firefoksa. Jest to format inny
+niż oczekiwany przez zwykłe narzędzie lz4.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install lz4jsoncat $RPM_BUILD_ROOT%{_bindir}
+cp -p lz4jsoncat.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/lz4jsoncat
+%{_mandir}/man1/lz4jsoncat.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lz4json.git/commitdiff/15bacec3486d1212f649b333a40bb5b6a84a4fa0



More information about the pld-cvs-commit mailing list