File cabextract.spec of Package cabextract

# spec file for package cabextract
# Copyright (c) 2016 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

Name:           cabextract
Version:        1.6
Release:        0
Summary:        A Program to Extract Microsoft Cabinet Files
License:        GPL-3.0+
Group:          System/Console
BuildRequires:  pkgconfig(libmspack)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Cabinet (.CAB) files are a form of archive, which Microsoft uses to
distribute their software and things like Windows Font Packs.
cabextract can be used to unpack these files.

%setup -q

CFLAGS="%{optflags} -fPIE -fno-strict-aliasing"
%configure \
make %{?_smp_mflags} LDFLAGS="-pie"

make DESTDIR=%{buildroot} install %{?_smp_mflags}


openSUSE Build Service is sponsored by