]> git.pld-linux.org Git - packages/lz4json.git/blob - lz4json.spec
- new
[packages/lz4json.git] / lz4json.spec
1 Summary:        Utility to unpack Firefox lz4json files
2 Summary(pl.UTF-8):      Narzędzie do rozpakowywania plików lz4json z Firefoksa
3 Name:           lz4json
4 Version:        2
5 Release:        1
6 License:        BSD-like
7 Group:          Applications/File
8 #Source0Download: https://github.com/andikleen/lz4json/releases
9 Source0:        https://github.com/andikleen/lz4json/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  639e40a0427c74f8d521a3a7729348fb
11 URL:            https://github.com/andikleen/lz4json
12 BuildRequires:  lz4-devel
13 BuildRequires:  pkgconfig
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A little utility to unpack lz4json files as generated by Firefox's
18 bookmark backups and session restore. This is a different format from
19 what the normal lz4 utility expects.
20
21 %description -l pl.UTF-8
22 Niewielkie narzędzie do rozpakowywania plików lz4json, generowanych
23 przez kopie zapasowe zakładek i sesji Firefoksa. Jest to format inny
24 niż oczekiwany przez zwykłe narzędzie lz4.
25
26 %prep
27 %setup -q
28
29 %build
30 %{__make} \
31         CC="%{__cc}" \
32         CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
33         LDFLAGS="%{rpmldflags}"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
38
39 install lz4jsoncat $RPM_BUILD_ROOT%{_bindir}
40 cp -p lz4jsoncat.1 $RPM_BUILD_ROOT%{_mandir}/man1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README
48 %attr(755,root,root) %{_bindir}/lz4jsoncat
49 %{_mandir}/man1/lz4jsoncat.1*
This page took 0.092448 seconds and 3 git commands to generate.