update to 1.5 [release 1.5-1mamba;Thu May 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 08:07:10 +01:00
parent 19e4aa5fae
commit 0da81bbb66

View File

@ -1,14 +1,15 @@
%define pkgver %(echo %version | tr . -)
Name: ois
Version: 1.3
Release: 2mamba
Version: 1.5
Release: 1mamba
Summary: Object Oriented Input System
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/wgois/
Source: http://downloads.sourceforge.net/project/wgois/Source%20Release/%{version}/ois_v%{pkgver}.tar.gz
Source: https://github.com/wgois/OIS.git/v%{version}/OIS-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/project/wgois/Source%20Release/%{version}/ois_v%{pkgver}.tar.gz
Patch0: ois-1.3-gcc-4.8.patch
License: zlib/libpng
## AUTOBUILDREQ-BEGIN
@ -45,17 +46,19 @@ This package contains libraries and header files for developing applications tha
%debug_package
%prep
%setup -q -n %{name}-v%{pkgver}
%patch0 -p1
%setup -q -n OIS-%{version}
sed -i "s|\"lib\"|\"%{_lib}\"|" CMakeLists.txt
sed -i "s|DESTINATION lib$|DESTINATION %{_lib}|" CMakeLists.txt
%build
sh ./bootstrap
%configure
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -65,18 +68,19 @@ sh ./bootstrap
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libOIS-1.3.0.so
%{_libdir}/libOIS.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/OIS
%{_includedir}/OIS/OIS*.h
%{_libdir}/libOIS.a
%{_libdir}/libOIS.la
%dir %{_includedir}/ois
%{_includedir}/ois/*.h
%{_libdir}/libOIS.so
%{_libdir}/pkgconfig/OIS.pc
%changelog
* Thu May 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
- update to 1.5
* Fri Feb 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-2mamba
- rebuilt with gcc 5.3.0