1 | Name: lzlib
|
---|
2 | Version: 1.11
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: LZMA Compression and Decompression Library
|
---|
5 | License: GPL-2.0+
|
---|
6 | Group: Development/Libraries/C and C++
|
---|
7 | Url: http://www.nongnu.org/lzip/lzlib.html
|
---|
8 | %scm_source git file://e:/gcc/lzlib-1.11 lzlib-1.11
|
---|
9 | #Source: http://download.savannah.gnu.org/releases/lzip/lzlib/%name-%version.tar.gz
|
---|
10 | #Source2: http://download.savannah.gnu.org/releases/lzip/lzlib/%name-%version.tar.gz.sig
|
---|
11 | Source3: %name.keyring
|
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
13 | #PreReq: %install_info_prereq
|
---|
14 |
|
---|
15 | %description
|
---|
16 | The lzlib compression library provides in-memory LZMA compression and
|
---|
17 | decompression functions, including integrity checking of the
|
---|
18 | decompressed data. The compressed data format used by the library is
|
---|
19 | the lzip format.
|
---|
20 |
|
---|
21 | %package devel
|
---|
22 | Summary: LZMA Compression and Decompression Library
|
---|
23 | Group: Development/Libraries/C and C++
|
---|
24 | Obsoletes: lzlib-devel < %version-%release
|
---|
25 | Provides: lzlib-devel = %version-%release
|
---|
26 |
|
---|
27 | %description devel
|
---|
28 | The lzlib compression library provides in-memory LZMA compression and
|
---|
29 | decompression functions, including integrity checking of the
|
---|
30 | decompressed data. The compressed data format used by the library is
|
---|
31 | the lzip format.
|
---|
32 |
|
---|
33 | This subpackage contains libraries and header files for developing
|
---|
34 | applications that want to make use of libcerror.
|
---|
35 |
|
---|
36 | %prep
|
---|
37 | %setup -q
|
---|
38 | %scm_setup
|
---|
39 |
|
---|
40 | %build
|
---|
41 | # not autoconf!
|
---|
42 | # don't use the configure macro here, as it will cause the configure script to
|
---|
43 | # skip parameters as soon as it encounters one that it doesn't understand
|
---|
44 | ./configure \
|
---|
45 | --prefix="%{_prefix}" \
|
---|
46 | --bindir="%{_bindir}" \
|
---|
47 | --includedir="%{_includedir}" \
|
---|
48 | --infodir="%{_infodir}" \
|
---|
49 | --libdir="%{_libdir}" \
|
---|
50 | --mandir="%{_mandir}" \
|
---|
51 | LDFLAGS="-Zomf -Zexe" \
|
---|
52 | LIBS="-lcx"
|
---|
53 |
|
---|
54 | make %{?_smp_flags}
|
---|
55 |
|
---|
56 | %install
|
---|
57 | make DESTDIR="%{buildroot}" LDCONFIG=echo install
|
---|
58 | # configure had no --disable-static
|
---|
59 | # rm -f "%buildroot/%_libdir"/*.a
|
---|
60 |
|
---|
61 | %check
|
---|
62 | make -k check
|
---|
63 |
|
---|
64 | #%post -n -p /sbin/ldconfig
|
---|
65 | #%postun -n -p /sbin/ldconfig
|
---|
66 |
|
---|
67 | %post devel
|
---|
68 | #%install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info"
|
---|
69 |
|
---|
70 | %postun devel
|
---|
71 | #%install_info_delete --info-dir="%_infodir" "%_infodir/%name.info"
|
---|
72 |
|
---|
73 | %files
|
---|
74 | %defattr(-,root,root)
|
---|
75 | %doc AUTHORS ChangeLog COPYING NEWS README
|
---|
76 | %{_libdir}/liblz*.a
|
---|
77 |
|
---|
78 | %files devel
|
---|
79 | /@unixroot/usr/share/info/dir
|
---|
80 | %defattr(-,root,root)
|
---|
81 | %{_includedir}/lzlib.h
|
---|
82 | %{_libdir}/liblz*.a
|
---|
83 | %doc %{_infodir}/lzlib.info.gz
|
---|
84 |
|
---|
85 | %changelog
|
---|
86 | * Sat Jan 12 2019 Elbert Pol <elbert.pol@gmail.com> - 1.11-1
|
---|
87 | - First Rpm version OS/2
|
---|