|
|
2a08da6 |
%global commit e7fcdf815b11068d9bd2dfc05633018d5792f1f3
|
|
|
2a08da6 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
2a08da6 |
|
|
|
2a08da6 |
Name: wiiuse
|
|
|
ba00ab4 |
Version: 0.15.4
|
|
|
ba00ab4 |
Release: 1%{?dist}
|
|
|
2a08da6 |
Summary: The wiiuse library is used to access and control multiple Nintendo Wiimotes
|
|
|
2a08da6 |
License: GPLv3+
|
|
|
2a08da6 |
URL: https://github.com/rpavlik/wiiuse
|
|
|
ba00ab4 |
Source0: https://github.com/rpavlik/wiiuse/archive/v0.15.4/%{name}-%{version}.tar.gz
|
|
|
2a08da6 |
|
|
Igor Gnatenko |
d460ab8 |
BuildRequires: gcc
|
|
Igor Gnatenko |
d460ab8 |
BuildRequires: gcc-c++
|
|
|
2a08da6 |
BuildRequires: bluez-libs-devel
|
|
|
2a08da6 |
BuildRequires: mesa-libGL-devel
|
|
|
2a08da6 |
BuildRequires: freeglut-devel
|
|
|
2a08da6 |
BuildRequires: SDL-devel
|
|
|
2a08da6 |
BuildRequires: dos2unix
|
|
|
2a08da6 |
BuildRequires: cmake
|
|
|
2a08da6 |
BuildRequires: /usr/bin/chrpath
|
|
|
c864829 |
|
|
|
c864829 |
%description
|
|
|
c864829 |
A library that implements access to wiiremote controllers via bluetooth.
|
|
|
c864829 |
|
|
|
c864829 |
%package devel
|
|
|
c864829 |
Group: Development/Libraries
|
|
|
c864829 |
Summary: Developer tools for the wiiuse library
|
|
Simo Sorce |
d5f01eb |
Requires: bluez-libs-devel
|
|
|
c864829 |
Requires: wiiuse = %{version}-%{release}
|
|
|
c864829 |
|
|
|
c864829 |
%description devel
|
|
|
c864829 |
Header files needed to develop programs that link against the wiiuse library.
|
|
|
c864829 |
|
|
|
c864829 |
%package examples
|
|
|
c864829 |
Group: Development/Libraries
|
|
|
c864829 |
Summary: Example programs for the wiiuse library
|
|
|
c864829 |
Requires: wiiuse = %{version}-%{release}
|
|
|
c864829 |
|
|
|
c864829 |
%description examples
|
|
|
c864829 |
Example programs to test accessing wiiremote controllers
|
|
|
c864829 |
|
|
|
c864829 |
%prep
|
|
|
ba00ab4 |
%autosetup
|
|
|
c864829 |
|
|
|
c864829 |
#Convert all relevant files to unix charset
|
|
|
2a08da6 |
for i in CHANGELOG.mkd README.mkd; do dos2unix $i; done
|
|
|
c864829 |
for i in example*/*; do dos2unix $i; done
|
|
|
c864829 |
for i in src/*; do dos2unix $i; done
|
|
|
c864829 |
|
|
|
2a08da6 |
mkdir build
|
|
|
2a08da6 |
|
|
|
c864829 |
%build
|
|
|
ba00ab4 |
pushd build
|
|
|
ba00ab4 |
%cmake ..
|
|
|
f88a9fa |
%make_build
|
|
|
c864829 |
|
|
|
c864829 |
%install
|
|
|
c864829 |
# Can't use make install as it is a pathetic copy into fixed paths and won't
|
|
|
c864829 |
# work on x86_64
|
|
|
ba00ab4 |
install -Dpm 0755 build/src/libwiiuse.so %{buildroot}%{_libdir}/libwiiuse.so.0
|
|
|
2a08da6 |
ln -s libwiiuse.so.0 %{buildroot}%{_libdir}/libwiiuse.so
|
|
|
2a08da6 |
install -Dpm 0644 src/wiiuse.h %{buildroot}%{_includedir}/wiiuse.h
|
|
|
ba00ab4 |
install -Dpm 0755 build/example/wiiuseexample %{buildroot}%{_bindir}/wiiuseexample
|
|
|
ba00ab4 |
install -Dpm 0755 build/example-sdl/wiiuseexample-sdl %{buildroot}%{_bindir}/wiiuseexample-sdl
|
|
|
2a08da6 |
chrpath -d %{buildroot}%{_bindir}/wiiuseexample*
|
|
|
c864829 |
|
|
|
c864829 |
%files
|
|
|
c864829 |
%{_libdir}/libwiiuse.so.0
|
|
|
f88a9fa |
%{!?_licensedir:%global license %%doc}
|
|
|
f88a9fa |
%license LICENSE
|
|
|
2a08da6 |
%doc CHANGELOG.mkd README.mkd
|
|
|
c864829 |
|
|
|
c864829 |
%files devel
|
|
|
c864829 |
%{_includedir}/wiiuse.h
|
|
|
c864829 |
%{_libdir}/libwiiuse.so
|
|
|
c864829 |
|
|
|
c864829 |
%files examples
|
|
|
2a08da6 |
%doc example/example.c example-sdl/sdl.c
|
|
|
3dc865d |
%{_bindir}/wiiuseexample
|
|
|
3dc865d |
%{_bindir}/wiiuseexample-sdl
|
|
|
c864829 |
|
|
|
f90f54c |
%ldconfig_scriptlets
|
|
|
c864829 |
|
|
|
c864829 |
%changelog
|
|
|
ba00ab4 |
* Mon Dec 03 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.15.4-1
|
|
|
ba00ab4 |
- Latest upstream.
|
|
|
ba00ab4 |
|
|
|
6852c1e |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-0.8.gite7fcdf8
|
|
|
6852c1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6852c1e |
|
|
|
1427f32 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-0.7.gite7fcdf8
|
|
|
1427f32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
1427f32 |
|
|
|
f90f54c |
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.0-0.6.gite7fcdf8
|
|
|
f90f54c |
- Switch to %%ldconfig_scriptlets
|
|
|
f90f54c |
|
|
|
ee21f1a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-0.5.gite7fcdf8
|
|
|
ee21f1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
ee21f1a |
|
|
|
1311315 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-0.4.gite7fcdf8
|
|
|
1311315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
1311315 |
|
|
|
2134173 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-0.3.gite7fcdf8
|
|
|
2134173 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2134173 |
|
|
|
308610f |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-0.2.gite7fcdf8
|
|
|
308610f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
308610f |
|
|
|
2a08da6 |
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.15.0-0.1.gite7fcdf8
|
|
|
2a08da6 |
- Update to latest snapshot because current (latest) release is totally broken
|
|
|
2a08da6 |
|
|
|
f88a9fa |
* Fri Dec 18 2015 Ville Skyttä <ville.skytta@iki.fi> - 0.14.0-2
|
|
|
f88a9fa |
- Build with $RPM_OPT_FLAGS
|
|
|
f88a9fa |
- Ship LICENSE as %%license where available
|
|
|
f88a9fa |
|
|
|
3dc865d |
* Mon Dec 14 2015 Jon Ciesla <limburgher@gmail.com> - 0.14.0-1
|
|
|
3dc865d |
- New upstream.
|
|
|
3dc865d |
|
|
|
23a53d2 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-13
|
|
|
23a53d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
23a53d2 |
|
|
Simo Sorce |
d5f01eb |
* Tue Sep 16 2014 Simo Sorce <simo@fedoraproject.org> - 0.12-12
|
|
Simo Sorce |
d5f01eb |
- Add devel dependency on bluez-libs-devel
|
|
Simo Sorce |
d5f01eb |
- Fixes: #1142457
|
|
Simo Sorce |
d5f01eb |
|
|
|
e6d6e5f |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-11
|
|
|
e6d6e5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
e6d6e5f |
|
|
|
3fffeab |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-10
|
|
|
3fffeab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3fffeab |
|
|
|
ba56cca |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-9
|
|
|
ba56cca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
ba56cca |
|
|
|
6c52b54 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-8
|
|
|
6c52b54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
6c52b54 |
|
|
|
9c8f081 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-7
|
|
|
9c8f081 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9c8f081 |
|
|
|
fa92517 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-6
|
|
|
fa92517 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fa92517 |
|
|
|
b3d2975 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-5
|
|
|
b3d2975 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b3d2975 |
|
|
|
c864829 |
* Fri Jan 21 2011 Simo Sorce <simo@fedoraproject.org> - 0.12-4
|
|
|
c864829 |
Import and first build
|
|
|
c864829 |
|
|
|
c864829 |
* Sun Jan 16 2011 Simo Sorce <simo@fedoraproject.org> - 0.12-3
|
|
|
c864829 |
Fix dependencies and summary.
|
|
|
c864829 |
|
|
|
c864829 |
* Sun Dec 12 2010 Simo Sorce <simo@fedoraproject.org> - 0.12-2
|
|
|
c864829 |
Rename to wiiuse following Fedora Packages guidelines
|
|
|
c864829 |
Fix License definition
|
|
|
c864829 |
Expand summary.
|
|
|
c864829 |
|
|
|
c864829 |
* Fri Nov 26 2010 Simo Sorce <simo@fedoraproject.org> - 0.12-1
|
|
|
c864829 |
Initial release
|