blob: 25351df0e987ccea01828f1ca1d4cc3de94f8690 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
# This spec file is based on:
# [1] https://github.com/PhantomX/chinforpms/blob/991712ffa984e7fa/lzlib/lzlib.spec
Name: lzlib
Version: 1.14
Release: 1%{?dist}
Summary: A compression library for the lzip file format
License: GPLv2+
URL: https://www.nongnu.org/lzip/lzlib.html
Source0: https://download.savannah.gnu.org/releases/lzip/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc
%description
Lzlib is a data compression library providing in-memory LZMA compression
and decompression functions, including integrity checking of the
decompressed data.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
%configure \
--disable-static \
--enable-shared \
--disable-ldconfig \
CFLAGS+='%{build_cflags}' \
LDFLAGS='%{build_ldflags}'
%make_build
%install
%make_install
%files
%license COPYING COPYING.GPL
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/liblz.so.*
%{_infodir}/%{name}.info*
%exclude %{_infodir}/dir
%files devel
%{_includedir}/%{name}.h
%{_libdir}/liblz.so
%changelog
* Sat Nov 02 2024 Ting-Wei Lan <lantw44@gmail.com> - 1.14-1
- Update to 1.14
* Wed Apr 19 2023 Ting-Wei Lan <lantw44@gmail.com> - 1.13-3
- Rebuilt for Fedora 38 and 39
* Sat Oct 29 2022 Ting-Wei Lan <lantw44@gmail.com> - 1.13-2
- Rebuilt for Fedora 37 and 38
* Thu Apr 28 2022 Ting-Wei Lan <lantw44@gmail.com> - 1.13-1
- Update to 1.13
* Sat Sep 25 2021 Ting-Wei Lan <lantw44@gmail.com> - 1.12-3
- Rebuilt for Fedora 35 and 36
* Sat Mar 13 2021 Ting-Wei Lan <lantw44@gmail.com> - 1.12-2
- Rebuilt for Fedora 34 and 35
* Mon Feb 15 2021 Ting-Wei Lan <lantw44@gmail.com> - 1.12-1
- Update to 1.12
* Sun Nov 1 2020 Ting-Wei Lan <lantw44@gmail.com> - 1.11-4
- Rebuilt for Fedora 33 and 34
* Sun Apr 26 2020 Ting-Wei Lan <lantw44@gmail.com> - 1.11-3
- Rebuilt for Fedora 32 and 33
- Don't use macros in URL
* Wed Sep 18 2019 Ting-Wei Lan <lantw44@gmail.com> - 1.11-2
- Use HTTPS links
- Use CFLAGS+= instead of CFLAGS=
- Use exclude macro to drop info dir file
- Don't use wildcards to specify the name of the library
* Fri May 31 2019 Phantom X <megaphantomx at bol dot com dot br> - 1.11-1
- Initial spec
|