2024-01-06 04:15:44 +01:00
|
|
|
%define gittag %(echo %version | cut -d. -f4)
|
|
|
|
Name: libfixmath
|
2024-01-06 04:15:45 +01:00
|
|
|
Version: 2023.08.08
|
2024-01-06 04:15:44 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Cross Platform Fixed Point Maths Library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://code.google.com/archive/p/libfixmath/
|
|
|
|
Source: https://github.com/PetteriAimonen/libfixmath.git/master@%{gittag}/libfixmath-%{version}.tar.bz2
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
|
|
|
Cross Platform Fixed Point Maths Library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Cross Platform Fixed Point Maths Library.
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
#% debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_libdir}
|
|
|
|
cp build/liblibfixmath*.a %{buildroot}%{_libdir}/
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_includedir}/libfixmath
|
|
|
|
cp libfixmath/*.h %{buildroot}%{_includedir}/libfixmath/
|
|
|
|
cp libfixmath/*.hpp %{buildroot}%{_includedir}/libfixmath/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libfixmath
|
|
|
|
%{_includedir}/libfixmath/*.h
|
|
|
|
%{_includedir}/libfixmath/*.hpp
|
|
|
|
%{_libdir}/liblibfixmath*.a
|
|
|
|
%doc AUTHORS LICENSE README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:15:45 +01:00
|
|
|
* Sat Aug 26 2023 Automatic Build System <autodist@mambasoft.it> 2023.08.08-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:45 +01:00
|
|
|
* Sun May 07 2023 Automatic Build System <autodist@mambasoft.it> 2023.03.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:44 +01:00
|
|
|
* Wed Dec 28 2022 Automatic Build System <autodist@mambasoft.it> 2022.12.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:44 +01:00
|
|
|
* Sun Sep 04 2022 Automatic Build System <autodist@mambasoft.it> 2022.09.02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:44 +01:00
|
|
|
* Sun Jul 17 2022 Automatic Build System <autodist@mambasoft.it> 2022.06.03-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:15:44 +01:00
|
|
|
* Sun Jul 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20220623git.809bcea-1mamba
|
|
|
|
- package created using the webbuild interface
|