bc1894f893a74056e2bcaa1f746b8a518b4d7ec6
[platform/upstream/gzip.git] / packaging / gzip.spec
1 Name:           gzip
2 Version:        1.5
3 Release:        1
4 License:        GPL-3.0+
5 Summary:        The GNU data compression program
6 Url:            http://www.gzip.org/
7 Group:          Base/Tools
8 Source0:        ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.xz
9 Source1001:     gzip.manifest
10 Requires:       /usr/bin/mktemp
11
12 %description
13 The gzip package contains the popular GNU gzip data compression
14 program. Gzipped files have a .gz extension.
15
16 Gzip should be installed on your system, because it is a
17 very commonly used data compression program.
18
19
20 %prep
21 %setup -q
22 cp %{SOURCE1001} .
23
24 %build
25 %configure \
26     --bindir=%{_bindir}
27
28 make %{?_smp_mflags}
29
30 %install
31 %make_install
32
33 %docs_package
34
35 %files
36 %manifest %{name}.manifest
37 %defattr(-,root,root,-)
38 %license COPYING
39 %{_bindir}/gzip
40 %{_bindir}/gunzip
41 %{_bindir}/zcmp
42 %{_bindir}/zegrep
43 %{_bindir}/zforce
44 %{_bindir}/znew
45 %{_bindir}/gzexe
46 %{_bindir}/zdiff
47 %{_bindir}/zfgrep
48 %{_bindir}/zgrep
49 %{_bindir}/zmore
50 %{_bindir}/zcat
51 %{_bindir}/uncompress
52 %{_bindir}/zless
53