source: spec/trunk/SPECS/lzlib.spec@ 1750

Last change on this file since 1750 was 1742, checked in by tellie, 5 years ago

spec: lzlib: Release version 1.12-1.

File size: 2.7 KB
Line 
1Name: lzlib
2Version: 1.12
3Release: 1%{?dist}
4Summary: LZMA Compression and Decompression Library
5License: GPL-2.0+
6Group: Development/Libraries/C and C++
7Url: http://www.nongnu.org/lzip/lzlib.html
8%scm_source github http://github.com/TeLLie/%{name}-os2 %{version}-os2
9%if !0%{?os2_version}
10Source3: %name.keyring
11%endif
12BuildRoot: %{_tmppath}/%{name}-%{version}-build
13
14%description
15The lzlib compression library provides in-memory LZMA compression and
16decompression functions, including integrity checking of the
17decompressed data. The compressed data format used by the library is
18the lzip format.
19
20%package devel
21Summary: LZMA Compression and Decompression Library
22Group: Development/Libraries/C and C++
23Obsoletes: lzlib-devel < %version-%release
24Provides: lzlib-devel = %version-%release
25
26%description devel
27The lzlib compression library provides in-memory LZMA compression and
28decompression functions, including integrity checking of the
29decompressed data. The compressed data format used by the library is
30the lzip format.
31
32This subpackage contains libraries and header files for developing
33applications 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
50make %{?_smp_flags}
51
52%install
53make 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
60make -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
Note: See TracBrowser for help on using the repository browser.