automatic version update by autodist [release 1.5.1-1mamba;Sun May 16 2021]

This commit is contained in:
Automatic Build System 2024-01-06 08:07:11 +01:00
parent 0da81bbb66
commit c61d9ac2ec

View File

@ -1,28 +1,21 @@
%define pkgver %(echo %version | tr . -)
Name: ois
Version: 1.5
Version: 1.5.1
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/
URL: https://sourceforge.net/projects/wgois/
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
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libbsd-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Object Oriented Input System (OIS) is meant to be a cross platform, simple solution for using all kinds of Input Devices (Keyboards, Mice, Joysticks, etc) and feedback devices (e.g. force feedback). Written in C++ using Object Oriented Design pattern.
@ -48,11 +41,9 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q -n OIS-%{version}
sed -i "s|\"lib\"|\"%{_lib}\"|" CMakeLists.txt
sed -i "s|DESTINATION lib$|DESTINATION %{_lib}|" CMakeLists.txt
%build
%cmake -d build
%cmake -d build \
-DCMAKE_INSTALL_LIBDIR=%{_lib}
%make
@ -78,6 +69,9 @@ sed -i "s|DESTINATION lib$|DESTINATION %{_lib}|" CMakeLists.txt
%{_libdir}/pkgconfig/OIS.pc
%changelog
* Sun May 16 2021 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
- automatic version update by autodist
* Thu May 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
- update to 1.5