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