Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Rings:1-MinimalX
libmspack
libmspack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmspack.spec of Package libmspack
# # spec file for package libmspack # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # "alpha" in the version string just says that it is an alpha version. %define _version %{version}alpha Name: libmspack Version: 0.6 Release: 0 Summary: Library That Implements Different Microsoft Compressions License: LGPL-2.1 Group: Development/Libraries/C and C++ Url: http://www.cabextract.org.uk/libmspack/ Source: http://www.cabextract.org.uk/libmspack/%{name}-%{_version}.tar.gz Source2: baselibs.conf # PATCH-FIX-UPSTREAM libmspack-resize-buffer.patch https://github.com/kyz/libmspack/commit/40ef1b4093d77ad3a5cfcee1f5cb6108b3a3bcc2 -- CAB block input buffer is one byte too small. Patch0: %{name}-resize-buffer.patch # PATCH-FIX-UPSTREAM libmspack-fix-bounds-checking.patch https://github.com/kyz/libmspack/commit/72e70a921f0f07fee748aec2274b30784e1d312a -- Fix off-by-one bounds check. Patch1: %{name}-fix-bounds-checking.patch # PATCH-FIX-UPSTREAM libmspack-reject-blank-filenames.patch https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4f -- Avoid returning etries that are blank. Patch2: %{name}-reject-blank-filenames.patch BuildRequires: pkgconfig %description The purpose of libmspack is to provide both compression and decompression of some loosely related file formats used by Microsoft. Currently the most common formats are implemented. %package -n libmspack0 Summary: Library That Implements Different Microsoft Compressions # OpenSUSE <= 10.3, SLES <= 10: Group: System/Libraries Provides: libmspack = %{version}-%{release} Obsoletes: libmspack < %{version}-%{release} %description -n libmspack0 The purpose of libmspack is to provide both compression and decompression of some loosely related file formats used by Microsoft. Currently the most common formats are implemented. %package devel Summary: Static libraries, header files and documentation for libmspack Group: Development/Libraries/C and C++ Requires: libmspack0 = %{version} %description devel The libmspack-devel package contains the header files and static libraries necessary for developing programs using libmspack. %package -n mspack-tools Summary: Library That Implements Different Microsoft Compressions Group: Productivity/File utilities %description -n mspack-tools The purpose of libmspack is to provide both compression and decompression of some loosely related file formats used by Microsoft. Currently the most common formats are implemented. This subpacke provides useful programs that make use of libmspack. * cabrip - Extracts any CAB files embedded in another file. * chmextract - Extracts all files in a CHM file to disk. * msexpand - Expands an SZDD or KWAJ file. * oabextract - Extracts an Exchange Offline Address Book (.LZX) file. %prep %setup -q -n %{name}-%{_version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %configure\ --disable-static make %{?_smp_mflags} %install %make_install rm %{buildroot}%{_libdir}/*.*a %post -n libmspack0 -p /sbin/ldconfig %postun -n libmspack0 -p /sbin/ldconfig %files -n mspack-tools %{_bindir}/cabrip %{_bindir}/chmextract %{_bindir}/msexpand %{_bindir}/oabextract %files -n libmspack0 %doc AUTHORS COPYING.LIB ChangeLog README TODO %{_libdir}/*.so.* %files devel %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor