Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
decff7a1a6 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:54:56 +00:00
Michal Schorm
f736f46c94 Fix SPDX license tag: 'GPL-2.0-only AND CC-BY-3.0 AND CC-BY-SA-3.0'
'ogg_to_pcm.c' and 'ogg_to_pcm.h' are derived from vorbis-tools 'oggdec.c'
and licensed GPL-2.0-only ("version 2" with no "or later" clause). Since
they are compiled and linked into the binary, the effective code license
is GPL-2.0-only, not GPL-2.0-or-later.

Sound files: two tracks by Lucky Lion Studios under CC-BY-3.0
(URL: creativecommons.org/licenses/by/3.0/), remaining 59 tracks
from freesound.org under CC-BY-SA-3.0
(URL: creativecommons.org/licenses/by-sa/3.0/).

Co-Authored-By: Claude AI <noreply@anthropic.com>
2026-07-14 23:28:18 +02:00
Hans de Goede
cfa0e59cd1 Update to 1.0.4 release
Add Epoch because the 1.1 release from git was 1.0.1
Add Debian patch to port to GTK3
2026-05-12 20:01:49 +02:00
Fedora Release Engineering
ff09d14719 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:21:09 +00:00
5 changed files with 1113 additions and 16 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
wordwarvi-0.25.tar.gz
/wordwarvi-1.1-6beed31.tar.gz
/wordwarvi-1.0.4.tar.gz

1072
Port-to-GTK-3.patch Normal file

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
d7b1e62c72302d93d5f36b50500d9d31 wordwarvi-1.1-6beed31.tar.gz
SHA512 (wordwarvi-1.0.4.tar.gz) = 3bbb17f8c93aa0250ff25d0851c550872353fb0925a3495c8b073409094b4e8bbbb9c335c4ddd360588d29e27906624e3dfc61a5335dcfe6ca1fd5dfd6d26bca

4
wordwarvi.rpmlintrc Normal file
View file

@ -0,0 +1,4 @@
addFilter("E: spelling-error")
addFilter("E: incorrect-fsf-address")
addFilter("W: no-%check-section")
addFilter("W: invalid-license")

View file

@ -1,21 +1,24 @@
%global commit 6beed311c2ecb3f9662f35ecc06948bd89ed9455
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global forgeurl https://github.com/smcameron/wordwarvi/
Name: wordwarvi
Version: 1.1
Release: 23.git%{shortcommit}%{?dist}
Version: 1.0.4
Release: 3%{?dist}
# Accidentally used 1.1 for 1.0.1
Epoch: 1
%forgemeta
Summary: Side-scrolling shoot 'em up '80s style arcade game
# Automatically converted from old format: GPLv2+ and CC-BY and CC-BY-SA - review is highly recommended.
License: GPL-2.0-or-later AND LicenseRef-Callaway-CC-BY AND LicenseRef-Callaway-CC-BY-SA
# Code is GPL-2.0-or-later except 'ogg_to_pcm.c' / 'ogg_to_pcm.h' which are
# GPL-2.0-only (from vorbis-tools 'oggdec.c'); effective code license is
# GPL-2.0-only. Some sounds are CC-BY-3.0, rest are CC-BY-SA-3.0.
License: GPL-2.0-only AND CC-BY-3.0 AND CC-BY-SA-3.0
URL: https://smcameron.github.io/wordwarvi/
# The 1.1 release never got a tag in git, so we use the commit-id
Source0: https://github.com/smcameron/wordwarvi/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
Source0: %{forgesource}
Source1: %{name}.desktop
Source2: %{name}.png
Source3: %{name}.appdata.xml
BuildRequires: make
BuildRequires: gcc
BuildRequires: gtk2-devel portaudio-devel libvorbis-devel
Patch1: Port-to-GTK-3.patch
BuildRequires: make gcc
BuildRequires: gtk3-devel portaudio-devel libvorbis-devel
BuildRequires: desktop-file-utils libappstream-glib
Requires: hicolor-icon-theme
@ -32,15 +35,15 @@ vi, mmm-kay?
%prep
%setup -qn %{name}-%{commit}
%autosetup -p1
%build
make %{?_smp_mflags} PREFIX=%{_prefix} CFLAGS="$RPM_OPT_FLAGS"
%make_build PREFIX=%{_prefix}
%install
make install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT
%make_install PREFIX=%{_prefix} BINDIR=%{_bindir}
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
@ -53,8 +56,10 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/appdata
appstream-util validate-relax --nonet \
$RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
%files
%doc AUTHORS COPYING README changelog.txt sounds/Attribution.txt
%doc AUTHORS README changelog.txt sounds/Attribution.txt
%license COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man6/%{name}.6*
@ -64,6 +69,21 @@ appstream-util validate-relax --nonet \
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Tue Jul 14 2026 Michal Schorm <mschorm@redhat.com> - 1:1.0.4-2
- Fix SPDX license expression: 'GPL-2.0-only AND CC-BY-3.0 AND CC-BY-SA-3.0'
- 'ogg_to_pcm.c' is GPL-2.0-only (from vorbis-tools), not GPL-2.0-or-later
* Tue May 12 2026 Hans de Goede <johannes.goede@oss.qualcomm.com> - 1:1.0.4-1
- Update to 1.0.4 release
- Add Epoch because the 1.1 release from git was 1.0.1
- Add Debian patch to port to GTK3
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-24.git6beed31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-23.git6beed31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild