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
Group: Development/Tools/Other
Url: http://build.opensuse.org
Version: 1.1.0
Release: 0
Source0: CMakeLists.txt
Source1: kwinshutdown.desktop.in
Source2: macros.mingw64-installer
BuildRequires: mingw64-filesystem
Requires: cmake
Requires: mingw64-cross-nsis
Requires: mingw64-filesystem
Requires: p7zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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/
%files
%defattr(-,root,root)
/etc/rpm
%changelog