+ upport <Condition> inside <Feature> and <Component>
- Changes from version 0.105:
+ wixl:
- Add ComponentGroup as Product child type
- Support environment variables
- Improving UI support
+ wix: add Permanent property on Component
+ bump meson to 0.56
+ wxi updates
- Add check section and meson_test macro: run tests during build.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/msitools?expand=0&rev=23
130 lines
3.7 KiB
RPMSpec
130 lines
3.7 KiB
RPMSpec
#
|
|
# spec file for package msitools
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define sover 1_0-0
|
|
|
|
Name: msitools
|
|
Version: 0.106
|
|
Release: 0
|
|
Summary: Tools to inspect and build Windows Installer (.MSI) files
|
|
License: GPL-2.0-or-later
|
|
URL: https://wiki.gnome.org/msitools
|
|
Source: https://download.gnome.org/sources/msitools/%{version}/%{name}-%{version}.tar.xz
|
|
# PATCH-FIX-OPENSUSE msitools-set-explicit-bash.patch -- Set bash to be the explicit interpreter
|
|
Patch0: msitools-set-explicit-bash.patch
|
|
|
|
BuildRequires: bison
|
|
BuildRequires: intltool
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.14
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.4
|
|
BuildRequires: pkgconfig(libgcab-1.0) >= 0.1.10
|
|
BuildRequires: pkgconfig(libgsf-1)
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.7
|
|
BuildRequires: pkgconfig(vapigen) >= 0.16
|
|
|
|
%description
|
|
msitools is a set of programs to inspect and build Windows Installer
|
|
(.MSI) files. It is based on libmsi, a portable library to read and
|
|
write .MSI files.
|
|
|
|
msitools plans to be a solution for packaging and deployment of
|
|
cross-compiled Windows applications.
|
|
|
|
%package -n libmsi-%{sover}
|
|
Summary: Library to inspect and build Windows Installer (.MSI) files
|
|
License: LGPL-2.1-or-later
|
|
|
|
%description -n libmsi-%{sover}
|
|
libmsi is a port of (and a subset of) Wine's implementation of the Windows
|
|
Installer.
|
|
|
|
%package -n typelib-1_0-Libmsi-1_0
|
|
Summary: Introspection bindings for libmsi, a library to inspect and build .msi files
|
|
License: LGPL-2.1-or-later
|
|
|
|
%description -n typelib-1_0-Libmsi-1_0
|
|
libmsi is a port of (and a subset of) Wine's implementation of the Windows
|
|
Installer.
|
|
|
|
%package devel
|
|
Summary: Development files for libmsi, a library to inspect and build .msi files
|
|
License: LGPL-2.1-or-later
|
|
Requires: %{name} = %{version}
|
|
Requires: libmsi-%{sover} = %{version}
|
|
Requires: typelib-1_0-Libmsi-1_0 = %{version}
|
|
|
|
%description devel
|
|
msitools is a set of programs to inspect and build Windows Installer
|
|
(.MSI) files. It is based on libmsi, a portable library to read and
|
|
write .MSI files. libmsi in turn is a port of (and a subset of) Wine's
|
|
implementation of the Windows Installer.
|
|
|
|
msitools can be used for packaging and deployment of
|
|
cross-compiled Windows applications.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%ldconfig_scriptlets -n libmsi-%{sover}
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files
|
|
%license copyright
|
|
%doc AUTHORS NEWS README.md
|
|
%{_bindir}/msibuild
|
|
%{_bindir}/msidiff
|
|
%{_bindir}/msidump
|
|
%{_bindir}/msiextract
|
|
%{_bindir}/msiinfo
|
|
%{_bindir}/wixl
|
|
%{_bindir}/wixl-heat
|
|
%{_datadir}/bash-completion/completions/msitools
|
|
%{_datadir}/wixl-%{version}/
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files -n libmsi-%{sover}
|
|
%{_libdir}/libmsi-1.0.so.0*
|
|
|
|
%files -n typelib-1_0-Libmsi-1_0
|
|
%{_libdir}/girepository-1.0/Libmsi-1.0.typelib
|
|
|
|
%files devel
|
|
%{_includedir}/libmsi-1.0/
|
|
%{_libdir}/libmsi-1.0.so
|
|
%{_libdir}/pkgconfig/libmsi-1.0.pc
|
|
%{_datadir}/gir-1.0/*.gir
|
|
%{_datadir}/vala/vapi/
|
|
|
|
%changelog
|