%global releaseno 1 # Note: define srcarchivename in Travis build only. %{!?srcarchivename: %global srcarchivename %{name}-%{version}-%{releaseno}} Name: eccodes-simc Version: 0.7 Release: %{releaseno} Summary: Custom grib definitions and samples used at ARPAE-SIMC License: Apache License, Version 2.0 URL: https://arpae.it/sim BuildArch: noarch Source0: https://github.com/arpa-simc/%{name}/archive/v%{version}-%{releaseno}.tar.gz#/%{srcarchivename}.tar.gz BuildRequires: eccodes, util-linux, python3 Requires: eccodes %description Custom grib definitions and samples used at ARPAE-SIMC: - definitions for centre 200 (old COSMO implementation) - timerange 13 (for nudging analysis) - UTM grib2 %prep %setup -q -n %{srcarchivename} %build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} sysconfdir=%{_sysconfdir} datadir=%{_datadir} ./make-defs --prefix=%{buildroot} --sysconfdir=${sysconfdir:1} --datadir=${datadir:1} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %{_sysconfdir}/profile.d/%{name}.sh %{_datadir}/%{name}/* %changelog * Tue Oct 22 2024 Emanuele Di Giacomo - 0.7-1 - Add templates subdir if needed (#12) * Tue May 30 2023 Daniele Branchini - 0.6-1 - Move UTM template in local sections if required (Re-fixed #8) * Thu Feb 23 2023 Daniele Branchini - 0.5-2 - Cleanup of fedora/rhel packaging, added debian packaging files * Tue Aug 2 2022 Davide Cesari - 0.5-1%{?dist} - Move UTM template in local sections if required * Wed Jun 29 2022 Daniele Branchini - 0.4-3%{?dist} - Fixed patch * Fri Jun 3 2022 Daniele Branchini - 0.4-2%{dist} - Added fuzz option to patch * Tue Oct 1 2019 Daniele Branchini - 0.4-1%{dist} - updated patch offset * Thu Jun 7 2018 Daniele Branchini - 0.3-1%{dist} - fixed COSMO analysis files stepfile (#5) * Tue May 8 2018 Daniele Branchini - 0.2-1%{dist} - added missing definition * Fri May 4 2018 Daniele Branchini - 0.1-1%{dist} - first build