innoextract/innoextract.spec
Martin Pluskal a23d11ac4d Accepting request 735357 from home:mnhauke
- Add patches: (needed to fix builds for Factory)
  * 0002-CMake-Remove-library-link-checks.patch
  * 0005-CMake-Remove-automatic-re-check-of-libraries.patch

OBS-URL: https://build.opensuse.org/request/show/735357
OBS-URL: https://build.opensuse.org/package/show/Archiving/innoextract?expand=0&rev=26
2019-10-07 12:05:32 +00:00

71 lines
2.3 KiB
RPMSpec

#
# spec file for package innoextract
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# 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 https://bugs.opensuse.org/
#
Name: innoextract
Version: 1.8
Release: 0
Summary: A tool to extract Inno Setup installers under non-windows systems
License: Zlib
Group: Productivity/Archiving/Backup
URL: http://constexpr.org/innoextract/
Source: http://constexpr.org/innoextract/files/%{name}-%{version}.tar.gz
Source1: http://constexpr.org/innoextract/files/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
Patch0: 0002-CMake-Remove-library-link-checks.patch
Patch1: 0005-CMake-Remove-automatic-re-check-of-libraries.patch
BuildRequires: cmake >= 2.8.0
BuildRequires: gcc-c++
BuildRequires: libboost_date_time-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_iostreams-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_system-devel
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(zlib)
%description
Inno Setup is a tool to create installers for Microsoft Windows
applications. Inno Extracts allows to extract such installers under
non-windows systems without running the actual installer using wine. Inno
Extract currently supports installers created by Inno Setup 1.2.10 to
5.4.3.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%cmake
%make_jobs
%install
%cmake_install
%files
%license LICENSE
%doc CHANGELOG README.md
%{_bindir}/innoextract
%{_mandir}/man1/innoextract.1%{?ext_man}
%changelog