Accepting request 819074 from home:rhabacker:branches:windows:mingw
- 1.2.0 * Add standalone package * Add rpmlintrc OBS-URL: https://build.opensuse.org/request/show/819074 OBS-URL: https://build.opensuse.org/package/show/Emulators:Wine/wine-binfmt?expand=0&rev=2
This commit is contained in:
parent
917319f368
commit
4029fd1dca
@ -1,8 +1,16 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 4 07:52:06 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de> - 1.1.0
|
Sun Jun 21 14:56:00 UTC 2020 - Ralf Habacker <ralf.habacker@freenet.de>
|
||||||
|
|
||||||
- add systemd service
|
- 1.2.0
|
||||||
- renamed to wine-binfmt
|
* Add standalone package
|
||||||
|
* Add rpmlintrc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 4 07:52:06 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de>
|
||||||
|
|
||||||
|
- 1.1.0
|
||||||
|
* add systemd service
|
||||||
|
* renamed to wine-binfmt
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 21 2014 ralf.habacker@freenet.de
|
Fri Feb 21 2014 ralf.habacker@freenet.de
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: wine-binfmt
|
Name: wine-binfmt
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The binfmt_misc support for Windows
|
Summary: The binfmt_misc support for Windows
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -24,6 +24,7 @@ Url: http://en.wikipedia.org/wiki/Binfmt_misc
|
|||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Source0: wine-binfmt.conf
|
Source0: wine-binfmt.conf
|
||||||
Source1: wine-binfmt.service
|
Source1: wine-binfmt.service
|
||||||
|
Source2: rpmlintrc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
@ -34,6 +35,18 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
Run Windows(tm) executables out of the box.
|
Run Windows(tm) executables out of the box.
|
||||||
|
|
||||||
|
%package standalone
|
||||||
|
Summary: Standalone binfmt_misc support for Windows
|
||||||
|
Group: System/Emulators/PC
|
||||||
|
Url: http://en.wikipedia.org/wiki/Binfmt_misc
|
||||||
|
License: GPL-2.0
|
||||||
|
Requires: wine-binfmt
|
||||||
|
|
||||||
|
%description standalone
|
||||||
|
Standalone variant for running Windows(tm) executables out of the box.
|
||||||
|
This package does not depend on systemd and dbus, which may not be
|
||||||
|
available on obs workers for example.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -cT
|
%setup -cT
|
||||||
|
|
||||||
@ -58,10 +71,28 @@ ln -s service %{buildroot}%{_prefix}/sbin/rcwine-binfmt
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun wine-binfmt.service
|
%service_del_postun wine-binfmt.service
|
||||||
|
|
||||||
|
%post standalone
|
||||||
|
if ! test -f /proc/sys/fs/binfmt_misc/register; then
|
||||||
|
# mount binfmt device
|
||||||
|
mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
|
||||||
|
fi
|
||||||
|
if ! test -f /proc/sys/fs/binfmt_misc/DOSWin; then
|
||||||
|
# install binfmt
|
||||||
|
cat /usr/lib/binfmt.d/wine.conf >/proc/sys/fs/binfmt_misc/register
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun standalone
|
||||||
|
if test -f /proc/sys/fs/binfmt_misc/register; then
|
||||||
|
umount /proc/sys/fs/binfmt_misc
|
||||||
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,644)
|
%defattr(-,root,root,644)
|
||||||
%{_prefix}/lib/binfmt.d/wine.conf
|
%{_prefix}/lib/binfmt.d/wine.conf
|
||||||
%{_prefix}/sbin/rcwine-binfmt
|
%{_prefix}/sbin/rcwine-binfmt
|
||||||
%{_unitdir}/wine-binfmt.service
|
%{_unitdir}/wine-binfmt.service
|
||||||
|
|
||||||
|
%files standalone
|
||||||
|
%defattr(-,root,root,644)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user