7ab2395
%global forgeurl https://github.com/bottlesdevs/Bottles
ac0915b
faca540
Name:       bottles
d622925
Epoch:      1
c4f75db
Version:    51.9
9f499a0
Release:    %autorelease
faca540
BuildArch:  noarch
ac0915b
f38db01
# blueprint-compiler does not work on s390x:
f38db01
# https://gitlab.gnome.org/jwestman/blueprint-compiler/-/issues/96
f38db01
ExcludeArch:    s390x
f38db01
d622925
%forgemeta
d622925
c4f75db
# The following two files are licensed as MIT:
c4f75db
# bottles/backend/models/vdict.py
c4f75db
# bottles/backend/utils/vdf.py
c4f75db
License:    GPL-3.0-or-later AND MIT
faca540
Summary:    Easily manage Wine prefix in a new way
d622925
URL:        %{forgeurl}
d622925
Source0:    %{forgesource}
ac0915b
ac0915b
BuildRequires: desktop-file-utils
ac0915b
BuildRequires: libappstream-glib
ac0915b
BuildRequires: meson
ac0915b
BuildRequires: python3
faca540
ac0915b
BuildRequires: pkgconfig(glib-2.0)
65dd57c
BuildRequires: pkgconfig(gtk4)
65dd57c
BuildRequires: pkgconfig(libadwaita-1) >= 1.1.99
ac0915b
d622925
BuildRequires: blueprint-compiler
d622925
e01d727
Requires:   cabextract
f4e5c41
Requires:   glibc(x86-32)           %dnl # https://github.com/bottlesdevs/Bottles/issues/601#issuecomment-936772762
65dd57c
Requires:   gtk4
Cristian Le c5fa70d
Requires:   gtksourceview5
faca540
Requires:   hicolor-icon-theme
65dd57c
Requires:   libadwaita >= 1.1.99
65dd57c
Requires:   p7zip p7zip-plugins     %dnl # needed by the dependencies manager
65dd57c
Requires:   patool
faca540
Requires:   python3-gobject
65dd57c
Requires:   python3-icoextract      %dnl # icons support
970d7bf
Requires:   python3-markdown
8107932
Requires:   python3-patool
65dd57c
Requires:   python3-pefile          %dnl # icons support
0f09bdb
Requires:   python3-pyyaml
f4e5c41
Requires:   python3-requests        %dnl # needed by the download manager
f4e5c41
Requires:   python3-urllib3         %dnl # needed by the download manager
f4e5c41
Requires:   xdpyinfo                %dnl # needed by the display util
d622925
Requires:   python3-pathvalidate
d622925
Requires:   python3-fvs
d622925
Requires:   python3-vkbasalt-cli
c4f75db
Requires:   ImageMagick             %dnl # https://bugzilla.redhat.com/show_bug.cgi?id=2227538
a2c0794
Requires:   python3-chardet         %dnl # https://bugzilla.redhat.com/show_bug.cgi?id=2240292
ac0915b
ac0915b
%description
af2cc37
Easily manage Wine prefix in a new way! (Run Windows software and games on
ac0915b
Linux).
ac0915b
ac0915b
Features:
ac0915b
faca540
  * Create bottles based on environments (a set of rule and dependencies for
faca540
    better software compatibility)
faca540
  * Access to a customizable environment for all your experiments
faca540
  * Run every executable (.exe/.msi) in your bottles, using the context menu
faca540
    in your file manager
faca540
  * Integrated management and storage for executable file arguments
faca540
  * Support for custom environment variables
faca540
  * Simplified DLL overrides
faca540
  * On-the-fly runner change for any Bottle
faca540
  * Various optimizations for better gaming performance (esync, fsync, dxvk,
faca540
    cache, shader compiler, offload .. and much more.)
faca540
  * Tweak different wine prefix settings, without leaving Bottles
faca540
  * Automated dxvk installation
faca540
  * Automatic installation and management of Wine and Proton runners
faca540
  * System for checking runner updates for the bottle and automatic repair in
faca540
    case of breakage
faca540
  * Integrated Dependencies installer with compatibility check based on a
faca540
    community-driver repository
faca540
  * Detection of installed programs
faca540
  * Integrated Task manager for wine processes
faca540
  * Easy access to ProtonDB and WineHQ for support
faca540
  * Configurations update system across Bottles versions
faca540
  * Backup bottles as configuration file or full archive
faca540
  * Import backup archive
faca540
  * Importer from Bottles v1 (and other wineprefix manager)
faca540
  * Bottles versioning (experimental)
faca540
  * .. and much more that you can find by installing Bottles!
ac0915b
ac0915b
ac0915b
%prep
7ab2395
%forgeautosetup -p1
ac0915b
ac0915b
ac0915b
%build
ac0915b
%meson
ac0915b
%meson_build
ac0915b
ac0915b
ac0915b
%install
ac0915b
%meson_install
ac0915b
%find_lang %{name}
ac0915b
ac0915b
ac0915b
%check
65dd57c
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
ac0915b
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
ac0915b
ac0915b
ac0915b
%files -f %{name}.lang
d622925
%license COPYING.md
ac0915b
%doc README.md
ac0915b
%{_bindir}/%{name}
9a61b5f
%{_bindir}/%{name}-cli
ac0915b
%{_datadir}/%{name}/
ac0915b
%{_datadir}/applications/*.desktop
ac0915b
%{_datadir}/glib-2.0/schemas/*.gschema.xml
ac0915b
%{_datadir}/icons/hicolor/*/apps/*.svg
ac0915b
%{_metainfodir}/*.xml
ac0915b
ac0915b
ac0915b
%changelog
9f499a0
%autochangelog