Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
otb-module-iota2
otb-module-iota2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otb-module-iota2.spec of Package otb-module-iota2
# # spec file for package otb-module-iota2 # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define git_version 2018.05.14 Name: otb-module-iota2 Url: https://framagit.org/inglada/iota2.git Summary: OTB module - IOTA2 License: AGPL-3.0 Group: Development/Libraries Version: 0.0~git%{git_version} Release: 0 Source: iota2-%{git_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake >= 3.0 %if 0%{?sle_version} == 120300 && 0%{?is_opensuse} # Fix compilation on Leap 42.3 BuildRequires: gcc7 BuildRequires: gcc7-c++ %else BuildRequires: gcc BuildRequires: gcc-c++ %endif BuildRequires: otb-devel BuildRequires: monteverdi %description IOTA stand for "Infrastructure pour l’Occupation des sols par Traitement Automatique". This is a module for OTB. %package devel Summary: OTB module - IOTA2 development files Group: Development/Libraries Requires: %{name} = %{version} %description devel IOTA2 development header files. %prep %setup -q -n iota2 %build %cmake \ %if 0%{?sle_version} == 120300 && 0%{?is_opensuse} -DCMAKE_C_COMPILER=gcc-7 \ -DCMAKE_CXX_COMPILER=g++-7 \ %endif -DOTB_INSTALL_APP_DIR:STRING=%{_lib}/otb/applications \ -DOTB_BUILD_MODULE_AS_STANDALONE:BOOL=ON make VERBOSE=1 %{?_smp_mflags} %install %cmake_install %files %defattr(-, root, root) %{_bindir}/otbcli_extractSortedIndices %{_bindir}/otbcli_iota2FeatureExtraction %{_bindir}/otbcli_iota2MasksIntersection %{_bindir}/otbgui_extractSortedIndices %{_bindir}/otbgui_iota2FeatureExtraction %{_bindir}/otbgui_iota2MasksIntersection %dir %{_libdir}/otb/applications/ %{_libdir}/otb/applications/otbapp_extractSortedIndices.so %{_libdir}/otb/applications/otbapp_iota2FeatureExtraction.so %{_libdir}/otb/applications/otbapp_iota2MasksIntersection.so %files devel %defattr(-, root, root) %{_includedir}/extractSortedIndices.h %{_includedir}/iota2FeatureExtraction.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor