From fc784f4e0532126b10ec101494bcc15d43b1f5ff Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 13 Jan 2020 07:37:51 -0600 Subject: [PATCH 1/4] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From ebf31261771de2766f1df632c857be5be4d59a3a Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Mon, 13 Jan 2020 08:25:39 +0100 Subject: [PATCH 2/4] Import from master --- .gitignore | 1 + sources | 1 + winetricks.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 winetricks.spec diff --git a/.gitignore b/.gitignore index e69de29..8f66571 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/winetricks-20191224.tar.gz diff --git a/sources b/sources index e69de29..7e5e3f6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (winetricks-20191224.tar.gz) = 31c0866e78d866e569da6c1123af7823a07b6358a79fcba84296938d89a39447ec9f504ca524471abc74ec2e3b24024bbc8a579413b4fe0ee74b1d5612f5d41a diff --git a/winetricks.spec b/winetricks.spec new file mode 100644 index 0000000..a3a6ee3 --- /dev/null +++ b/winetricks.spec @@ -0,0 +1,77 @@ +# Uncomment these, set snapshot to 0. +%global snapshot 0 +%global commit0 43314ed7895396bfd625824d88b5e19c25f46cac + +Name: winetricks +Version: 20191224 +Release: 1%{?dist} + +Summary: Work around common problems in Wine + +License: LGPLv2+ +URL: https://github.com/Winetricks/%{name} +%if 0%{?snapshot} +Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{commit0}.tar.gz +%else +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +%endif + +BuildArch: noarch + +# need arch-specific wine, not available everywhere: +# - adopted from wine.spec +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 +# - explicitly not ppc64* to hopefully not confuse koschei +ExcludeArch: ppc64 ppc64le + +BuildRequires: wine-common +BuildRequires: desktop-file-utils + +Requires: wine-common +Requires: cabextract gzip unzip wget which +Requires: hicolor-icon-theme +Requires: (kdialog if kdialog else zenity) + +%description +Winetricks is an easy way to work around common problems in Wine. + +It has a menu of supported games/apps for which it can do all the +workarounds automatically. It also lets you install missing DLLs +or tweak various Wine settings individually. + + +%prep +%if 0%{?snapshot} +%setup -qn%{name}-%{commit0} +%else +%setup -q +%endif + +sed -i -e s:steam:: -e s:flash:: tests/* + +%build +# not needed + +%install +%make_install +# some tarballs do not install appdata +install -m0644 -D -t %{buildroot}%{_datadir}/metainfo src/%{name}.appdata.xml + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop + + +%files +%license COPYING debian/copyright +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* +%{_datadir}/applications/%{name}.desktop +%{_datadir}/bash-completion/completions/%{name} +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_datadir}/metainfo/%{name}.appdata.xml + + +%changelog +* Mon Jan 13 2020 - Ernestas Kulik - 20191224-1 +- Build 20191224 From eb7624d2712c29bd4a3d6a316a06ab4b5e28df94 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Sat, 20 Jun 2020 23:41:25 +0200 Subject: [PATCH 3/4] Update to 20200412 --- .gitignore | 1 + sources | 2 +- winetricks.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8f66571..4b56223 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /winetricks-20191224.tar.gz +/winetricks-20200412.tar.gz diff --git a/sources b/sources index 7e5e3f6..6924151 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (winetricks-20191224.tar.gz) = 31c0866e78d866e569da6c1123af7823a07b6358a79fcba84296938d89a39447ec9f504ca524471abc74ec2e3b24024bbc8a579413b4fe0ee74b1d5612f5d41a +SHA512 (winetricks-20200412.tar.gz) = d6ca5628b7d296b3168ef088ca0b03aff8b73da8a139061ca64fac0685ec29bf2b7e075b89226f8ce3af511947eac45d4c72cfb1199e6b72666fc67547b77588 diff --git a/winetricks.spec b/winetricks.spec index a3a6ee3..005763a 100644 --- a/winetricks.spec +++ b/winetricks.spec @@ -3,7 +3,7 @@ %global commit0 43314ed7895396bfd625824d88b5e19c25f46cac Name: winetricks -Version: 20191224 +Version: 20200412 Release: 1%{?dist} Summary: Work around common problems in Wine @@ -73,5 +73,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %changelog +* Sat Jun 20 2020 - Ernestas Kulik - 20200412-1 +- Update to 20200412 + * Mon Jan 13 2020 - Ernestas Kulik - 20191224-1 - Build 20191224 From 463dac44e67a89ad48ffef127b98c8767e0d2a90 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 24 Sep 2020 18:55:05 +0000 Subject: [PATCH 4/4] remove package.cfg per new epel-playground policy --- package.cfg | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 package.cfg diff --git a/package.cfg b/package.cfg deleted file mode 100644 index 66ea79d..0000000 --- a/package.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[koji] -targets = epel8 epel8-playground \ No newline at end of file