File mingw64-installer-base.spec of Package mingw64-installer-base
#
# spec file for package mingw64-installer-base
#
# Copyright (c) 2014 SUSE LINUX Products 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/
#
Name: mingw64-installer-base
Summary: Installer Base
License: GPL-2.0-only
Group: Development/Tools/Other
Url: http://build.opensuse.org
Version: 1.4.2
Release: 0
Source0: CMakeLists.txt
Source1: kwinshutdown.desktop.in
Source2: start.bat.in
Source3: macros.mingw64-installer
Source4: FileAssociation.nsh
BuildRequires: mingw64-filesystem
Requires: cmake
Requires: mingw64-cross-nsis
Requires: mingw64-filesystem
Requires: p7zip-full
BuildArch: noarch
%description
This package contains templates for generating setup installer and portable binary packages
%prep
%setup -q -c -T
%build
%install
mkdir -p %{buildroot}/etc/rpm
install -m 644 %{SOURCE0} %{buildroot}/etc/rpm/macros.mingw64-installer.$(basename %{SOURCE0})
install -m 644 %{SOURCE1} %{buildroot}/etc/rpm/macros.mingw64-installer.$(basename %{SOURCE1})
install -m 644 %{SOURCE2} %{buildroot}/etc/rpm/macros.mingw64-installer.$(basename %{SOURCE2})
install -m 644 %{SOURCE3} %{buildroot}/etc/rpm/
mkdir -p %{buildroot}/usr/share/nsis/Include
install -m 644 %{SOURCE4} %{buildroot}/usr/share/nsis/Include/$(basename %{SOURCE4})
%files
%defattr(-,root,root)
/etc/rpm
%dir /usr/share/nsis
/usr/share/nsis/Include
%changelog