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

Last change on this file since 1630 was 1587, checked in by tellie, 7 years ago

spec: lzlib: Release version 1.11-4.

File size: 2.5 KB
Line 
1Name: lzlib
2Version: 1.11
3Release: 4%{?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/lzlib-os2 master
9Source3: %name.keyring
10BuildRoot: %{_tmppath}/%{name}-%{version}-build
11
12%description
13The lzlib compression library provides in-memory LZMA compression and
14decompression functions, including integrity checking of the
15decompressed data. The compressed data format used by the library is
16the lzip format.
17
18%package devel
19Summary: LZMA Compression and Decompression Library
20Group: Development/Libraries/C and C++
21Obsoletes: lzlib-devel < %version-%release
22Provides: lzlib-devel = %version-%release
23
24%description devel
25The lzlib compression library provides in-memory LZMA compression and
26decompression functions, including integrity checking of the
27decompressed data. The compressed data format used by the library is
28the lzip format.
29
30This subpackage contains libraries and header files for developing
31applications 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
48make %{?_smp_flags}
49
50%install
51make DESTDIR="%{buildroot}" LDCONFIG=echo install
52# configure had no --disable-static
53#rm -f "%buildroot/%_libdir"/*.a
54
55%check
56make -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
Note: See TracBrowser for help on using the repository browser.