-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathncpp.spec
58 lines (46 loc) · 1.24 KB
/
ncpp.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Summary: Spec file for ncpp
Name: ncpp
Version: 2.3
Release: 2%{?dist}
License: GPL
Group: System Environment/Daemons
Url: http://www.eol.ucar.edu/
Packager: Chris Webster <[email protected]>
# becomes RPM_BUILD_ROOT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Vendor: UCAR
BuildArch: x86_64
Requires: netcdf-cxx netcdf libpng
%if 0%{?rhel} <= 7
BuildRequires: scons
Requires: openmotif
%else
BuildRequires: python3-scons
Requires: motif
%endif
Source: ftp://ftp.eol.ucar.edu/pub/archive/RAF-src/%{name}.tar.gz
%description
Configuration for NCAR-EOL ncpp display for size-distribution data.
%prep
%setup -n %{name}
%build
scons
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
cp src/%{name} %{buildroot}%{_bindir}
%post
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%changelog
* Mon May 2 2022 Chris Webster <[email protected]> - 2.3-0
- Add support for netCDF files with legacy size-distribution zero bin removed.
* Sat Mar 13 2021 Chris Webster <[email protected]> - 2.2-6
- Maintenance for Macports builds
* Sat Mar 13 2021 Chris Webster <[email protected]> - 2.2-5
- Refactor help menu to open URLs into default browser.
* Wed Jul 13 2011 Chris Webster <[email protected]> - 1.0-1
- initial version