innoextract/innoextract.spec
2016-03-16 07:59:19 +00:00

63 lines
2.0 KiB
RPMSpec

#
# spec file for package innoextract
#
# Copyright (c) 2016 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 http://bugs.opensuse.org/
#
Name: innoextract
Version: 1.5
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
# PATCH-FIX-UPSTREAM innoextract-cmake.patch gh#50
Patch0: innoextract-cmake.patch
BuildRequires: boost-devel
BuildRequires: cmake >= 2.8.0
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: pkgconfig(liblzma)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%files
%defattr(-,root,root)
%doc CHANGELOG LICENSE README.md
%{_bindir}/innoextract
%{_mandir}/man1/innoextract.1%{ext_man}
%changelog