diff --git a/.gitignore b/.gitignore index 421857e..79e799b 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,5 @@ /bottles-2022.5.28-trento-3.tar.gz /bottles-2022.6.14-brescia-1.tar.gz /bottles-2022.7.14-brescia-3.tar.gz +/Bottles-51.6.tar.gz +/Bottles-51.9.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..2e9373e --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,16 @@ +upstream_project_url: https://github.com/bottlesdevs/Bottles +upstream_package_name: Bottles +downstream_package_name: bottles + +copy_upstream_release_description: false + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-rawhide + - job: koji_build + + trigger: commit + dist_git_branches: + - fedora-all diff --git a/bottles.spec b/bottles.spec index 4be00b8..a4cf6f0 100644 --- a/bottles.spec +++ b/bottles.spec @@ -1,26 +1,36 @@ -%global uuid pm.mirko.%{name} -%global suf brescia-3 +%global forgeurl https://github.com/bottlesdevs/Bottles Name: bottles -Version: 2022.7.14 +Epoch: 1 +Version: 51.9 Release: %autorelease BuildArch: noarch -License: GPLv3+ +# blueprint-compiler does not work on s390x: +# https://gitlab.gnome.org/jwestman/blueprint-compiler/-/issues/96 +ExcludeArch: s390x + +%forgemeta + +# The following two files are licensed as MIT: +# bottles/backend/models/vdict.py +# bottles/backend/utils/vdf.py +License: GPL-3.0-or-later AND MIT Summary: Easily manage Wine prefix in a new way -URL: https://github.com/bottlesdevs/Bottles -Source0: %{url}/archive/%{version}-%{suf}/%{name}-%{version}-%{suf}.tar.gz +URL: %{forgeurl} +Source0: %{forgesource} BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: python3 -BuildRequires: python3-gobject BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) >= 1.1.99 +BuildRequires: blueprint-compiler + Requires: cabextract Requires: glibc(x86-32) %dnl # https://github.com/bottlesdevs/Bottles/issues/601#issuecomment-936772762 Requires: gtk4 @@ -38,6 +48,11 @@ Requires: python3-pyyaml Requires: python3-requests %dnl # needed by the download manager Requires: python3-urllib3 %dnl # needed by the download manager Requires: xdpyinfo %dnl # needed by the display util +Requires: python3-pathvalidate +Requires: python3-fvs +Requires: python3-vkbasalt-cli +Requires: ImageMagick %dnl # https://bugzilla.redhat.com/show_bug.cgi?id=2227538 +Requires: python3-chardet %dnl # https://bugzilla.redhat.com/show_bug.cgi?id=2240292 %description Easily manage Wine prefix in a new way! (Run Windows software and games on @@ -75,7 +90,7 @@ Features: %prep -%autosetup -n Bottles-%{version}-%{suf} +%forgeautosetup -p1 %build @@ -94,7 +109,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -f %{name}.lang -%license LICENSE +%license COPYING.md %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}-cli diff --git a/sources b/sources index df71b71..7ec3991 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bottles-2022.7.14-brescia-3.tar.gz) = 787d1e73554bf22e2614d31fd3692b97de25483ecd7929d59407053cdcbe1fd5cc66f0dd52d92bce0dedad2b6d1f9e4b90ef631c18273f12f86a9c73ed6bab0c +SHA512 (Bottles-51.9.tar.gz) = 81a77f0b02e2ea775bef5591d6be296372544a91fb92c4f39c3cab310887f88d8d9abd1d4b4854dcf8837bd2dc3f6d54c0693b55c60b60d6901e68dda82da1b4