| 1 | Name: lzlib
|
|---|
| 2 | Version: 1.12
|
|---|
| 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 github http://github.com/TeLLie/%{name}-os2 %{version}-os2
|
|---|
| 9 | %if !0%{?os2_version}
|
|---|
| 10 | Source3: %name.keyring
|
|---|
| 11 | %endif
|
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|---|
| 13 |
|
|---|
| 14 | %description
|
|---|
| 15 | The lzlib compression library provides in-memory LZMA compression and
|
|---|
| 16 | decompression functions, including integrity checking of the
|
|---|
| 17 | decompressed data. The compressed data format used by the library is
|
|---|
| 18 | the lzip format.
|
|---|
| 19 |
|
|---|
| 20 | %package devel
|
|---|
| 21 | Summary: LZMA Compression and Decompression Library
|
|---|
| 22 | Group: Development/Libraries/C and C++
|
|---|
| 23 | Obsoletes: lzlib-devel < %version-%release
|
|---|
| 24 | Provides: lzlib-devel = %version-%release
|
|---|
| 25 |
|
|---|
| 26 | %description devel
|
|---|
| 27 | The lzlib compression library provides in-memory LZMA compression and
|
|---|
| 28 | decompression functions, including integrity checking of the
|
|---|
| 29 | decompressed data. The compressed data format used by the library is
|
|---|
| 30 | the lzip format.
|
|---|
| 31 |
|
|---|
| 32 | This subpackage contains libraries and header files for developing
|
|---|
| 33 | applications that want to make use of libcerror.
|
|---|
| 34 |
|
|---|
| 35 | %prep
|
|---|
| 36 | %scm_setup
|
|---|
| 37 |
|
|---|
| 38 | %build
|
|---|
| 39 | # not autoconf!
|
|---|
| 40 | # don't use the configure macro here, as it will cause the configure script to
|
|---|
| 41 | # skip parameters as soon as it encounters one that it doesn't understand
|
|---|
| 42 | ./configure LDFLAGS="-Zomf -Zexe" LIBS="-lcx" \
|
|---|
| 43 | --prefix="%{_prefix}" \
|
|---|
| 44 | --bindir="%{_bindir}" \
|
|---|
| 45 | --includedir="%{_includedir}" \
|
|---|
| 46 | --infodir="%{_infodir}" \
|
|---|
| 47 | --libdir="%{_libdir}" \
|
|---|
| 48 | --mandir="%{_mandir}"
|
|---|
| 49 |
|
|---|
| 50 | make %{?_smp_flags}
|
|---|
| 51 |
|
|---|
| 52 | %install
|
|---|
| 53 | make DESTDIR="%{buildroot}" LDCONFIG=echo install
|
|---|
| 54 | %if !0%{?os2_version}
|
|---|
| 55 | # configure had no --disable-static
|
|---|
| 56 | #rm -f "%buildroot/%_libdir"/*.a
|
|---|
| 57 | %endif
|
|---|
| 58 |
|
|---|
| 59 | %check
|
|---|
| 60 | make -k check
|
|---|
| 61 |
|
|---|
| 62 | %post devel
|
|---|
| 63 | %if !0%{?os2_version}
|
|---|
| 64 | %install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info"
|
|---|
| 65 | %endif
|
|---|
| 66 |
|
|---|
| 67 | %postun devel
|
|---|
| 68 | %if !0%{?os2_version}
|
|---|
| 69 | %install_info_delete --info-dir="%_infodir" "%_infodir/%name.info"
|
|---|
| 70 | %endif
|
|---|
| 71 |
|
|---|
| 72 | %files
|
|---|
| 73 | %defattr(-,root,root)
|
|---|
| 74 | %doc AUTHORS ChangeLog COPYING NEWS README
|
|---|
| 75 |
|
|---|
| 76 | %files devel
|
|---|
| 77 | %defattr(-,root,root)
|
|---|
| 78 | %{_includedir}/lzlib.h
|
|---|
| 79 | %{_libdir}/liblz.a
|
|---|
| 80 | %exclude /@unixroot/usr/share/info/dir
|
|---|
| 81 | %if !0%{?os2_version}
|
|---|
| 82 | %{_infodir}/*.info*
|
|---|
| 83 | %endif
|
|---|
| 84 | %doc %{_infodir}/lzlib.info*
|
|---|
| 85 |
|
|---|
| 86 | %changelog
|
|---|
| 87 | * Wed Jan 06 2021 Elbert Pol <elbert.pol@gmail.com> - 1.12 - 1
|
|---|
| 88 | - Updated to latest version
|
|---|
| 89 |
|
|---|
| 90 | * Sun Feb 03 2019 Elbert Pol <elbert.pol@gmail.com> - 1.11-4
|
|---|
| 91 | - Fix for the Transaction Check Error
|
|---|
| 92 |
|
|---|
| 93 | * Thu Jan 31 2019 Elbert Pol <elbert.pol@gmail.com> - 1.11-3
|
|---|
| 94 | - Upload src to github
|
|---|
| 95 |
|
|---|
| 96 | * Sun Jan 13 2019 Elbert Pol <elbert.pol@gmail.com> - 1.11-2
|
|---|
| 97 | - Fix error about info
|
|---|
| 98 |
|
|---|
| 99 | * Sat Jan 12 2019 Elbert Pol <elbert.pol@gmail.com> - 1.11-1
|
|---|
| 100 | - First Rpm version OS/2
|
|---|