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

Last change on this file since 1566 was 1553, checked in by tellie, 7 years ago

spec: lzlib: Release version 1.11-1.

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