Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
saga-gis
saga-gis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File saga-gis.spec of Package saga-gis
# # spec file for package saga-gis # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # Summary: SAGA GIS - System for Automated Geoscientific Analyses License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Applications/GIS Name: saga-gis Version: 8.5.0 Release: 0 URL: https://saga-gis.sourceforge.io/en/index.html Source: https://downloads.sourceforge.net/project/saga-gis/SAGA%20-%208/SAGA%20-%20%{version}/saga-%{version}.tar.gz BuildRequires: cmake BuildRequires: fdupes BuildRequires: fftw3-devel BuildRequires: gcc-c++ BuildRequires: libgdal-devel >= 1.8.0 BuildRequires: proj-devel BuildRequires: libsvm-devel BuildRequires: opencv-devel BuildRequires: python3-devel BuildRequires: unixODBC-devel BuildRequires: swig BuildRequires: vigra-devel BuildRequires: pkgconfig(libpq) > 9.4 # SAGA needs the no-STL version BuildRequires: wxWidgets-3_2-nostl-devel %description SAGA (System for Automated Geoscientific Analyses) provides (geo-)scientists an effective but easy learnable and user friendly platform for the implementation of geoscientific methods using SAGA's API. SAGA is written in C++ programming language and follows an object oriented approach. %package devel Summary: Development files for SAGA Group: Development/Libraries Requires: %{name} = %{version} %description devel SAGA (System for Automated Geoscientific Analyses) provides (geo-)scientists an effective but easy learnable and user friendly platform for the implementation of geoscientific methods using SAGA's API. SAGA is written in C++ programming language and follows an object oriented approach. This package includes the development files for SAGA GIS. %package -n python3-%{name} Summary: Python bindings for SAGA Group: Development/Libraries Requires: %{name} = %{version} %description -n python3-%{name} SAGA (System for Automated Geoscientific Analyses) provides (geo-)scientists an effective but easy learnable and user friendly platform for the implementation of geoscientific methods using SAGA's API. SAGA is written in C++ programming language and follows an object oriented approach. This package includes the Python bindings for SAGA GIS. %prep %setup -q -n saga-%{version} # Missing hdf5_hl for vigra, https://sourceforge.net/p/saga-gis/bugs/298/ sed -i -e '/find_package/ s,HDF5,HDF5 COMPONENTS C HL,' \ -e '/VIGRA_LIBRARIES/ s,${HDF5_LIBRARIES},${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES},' \ saga-gis/cmake/modules/FindVIGRA.cmake %build cd saga-gis %cmake %cmake_build %install cd saga-gis %cmake_install # Remove 8x8, 72x72 and 80x80 icons rm -rf %{buildroot}%{_datadir}/icons/hicolor/{8x8,72x72,80x80}/ rm -rf %{buildroot}%{_datadir}/pixmaps %if "%{_lib}" != "lib" mv %{buildroot}%{_prefix}/lib/python* %{buildroot}/%{_libdir}/ %endif %fdupes %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license saga-gis/src/*gpl.txt %{_bindir}/saga_* %{_libdir}/*.so.* %dir %{_libdir}/saga %{_libdir}/saga/*.so %{_mandir}/man1/saga*.gz %{_datadir}/applications/*.desktop %dir %{_datadir}/saga %{_datadir}/saga/* %{_datadir}/metainfo/org.saga-gis.saga-gui.appdata.xml %{_datadir}/icons/hicolor/*/apps/saga.png %files devel %{_includedir}/* %{_libdir}/*.so %files -n python3-%{name} %dir %{python3_sitearch} %{python3_sitearch}/* %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