Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

2 changed files with 15 additions and 14 deletions

View file

@ -4,11 +4,12 @@
Name: wiiuse
Version: 0.15.5
Release: 18%{?dist}
Release: 14%{?dist}
Summary: The wiiuse library is used to access and control multiple Nintendo Wiimotes
License: GPL-3.0-or-later
URL: https://github.com/rpavlik/wiiuse
Source0: https://github.com/rpavlik/wiiuse/archive/%{version}/%{name}-%{version}.tar.gz
#Patch0: wiiuse-freeglut.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@ -47,7 +48,7 @@ for i in example*/*; do dos2unix $i; done
for i in src/*; do dos2unix $i; done
%build
%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake
%cmake_build
%install
@ -77,18 +78,6 @@ chrpath -d %{buildroot}%{_bindir}/wiiuseexample*
%ldconfig_scriptlets
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.5-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.5-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.5-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jul 17 2025 Gwyn Ciesla <gwync@protonmail.com> - 0.15.5-15
- Cmake fix.
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.5-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild

12
wiiuse_fix_soname.patch Normal file
View file

@ -0,0 +1,12 @@
diff -uPr wiiuse_v0.12.orig/src/Makefile wiiuse_v0.12/src/Makefile
--- wiiuse_v0.12.orig/src/Makefile 2008-03-02 18:30:04.000000000 -0500
+++ wiiuse_v0.12/src/Makefile 2010-11-20 17:37:50.987825850 -0500
@@ -32,7 +32,7 @@
#
# Linking flags
#
-LDFLAGS = -shared -lm -lbluetooth
+LDFLAGS = -shared -Wl,-soname,libwiiuse.so.0 -lm -lbluetooth
#
# Target binaries (always created as BIN)