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