[nco] Update to 4.4.4
Orion Poplawski
orion at fedoraproject.org
Wed Jul 23 22:11:20 UTC 2014
commit 036404e873d53fb157a231c7f29e35990398fd31
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Wed Jul 23 15:59:52 2014 -0600
Update to 4.4.4
- Strip rpaths
.gitignore | 1 +
nco.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++------
sources | 2 +-
3 files changed, 47 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c7ab816..77aa438 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@ nco-4.0.2.tar.gz
/nco-4.4.1.tar.gz
/nco-4.4.2.tar.gz
/nco-4.4.3.tar.gz
+/nco-4.4.4.tar.gz
diff --git a/nco.spec b/nco.spec
index 954fc1f..d0a60d9 100644
--- a/nco.spec
+++ b/nco.spec
@@ -1,6 +1,6 @@
Name: nco
-Version: 4.4.3
-Release: 2%{?dist}
+Version: 4.4.4
+Release: 1%{?dist}
Summary: Suite of programs for manipulating NetCDF/HDF4 files
Group: Applications/Engineering
License: GPLv3
@@ -18,14 +18,15 @@ BuildRequires: netcdf-devel
%if 0%{?rhel} && 0%{?rhel} <= 5
BuildRequires: libnc-dap-devel
%endif
-BuildRequires: udunits2-devel
-%if 0%{?fedora} >= 14
+%if 0%{?fedora}
BuildRequires: antlr-C++
%else
BuildRequires: antlr
%endif
+BuildRequires: chrpath
BuildRequires: gsl-devel
BuildRequires: texinfo
+BuildRequires: udunits2-devel
%package devel
Summary: Development files for NCO
@@ -65,6 +66,7 @@ This package contains the NCO static libs.
%patch1 -p1 -b .fillvalue
%endif
+
%build
%if 0%{?rhel} && 0%{?rhel} <= 5
export CPPFLAGS="-I%{_includedir}/netcdf-3 -I%{_includedir}/udunits2"
@@ -84,11 +86,13 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fpermissive -fPIC"
%endif
make %{?_smp_mflags}
+
%install
mkdir -p $RPM_BUILD_ROOT%{_includedir}/nco
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+chrpath -d $RPM_BUILD_ROOT%{_bindir}/*
%post
@@ -103,12 +107,42 @@ if [ "$1" = 0 ]; then
%{_infodir}/dir 2>/dev/null || :
fi
+
%files
%doc doc/README doc/LICENSE doc/rtfm.txt doc/nco.html doc/nco.pdf doc/nco.css
%doc doc/index.shtml doc/TODO doc/ChangeLog doc/nco.png doc/nco_news.shtml
%doc doc/nsf.png
-%{_bindir}/*
-%{_mandir}/*/*
+%{_bindir}/ncap
+%{_bindir}/ncap2
+%{_bindir}/ncatted
+%{_bindir}/ncbo
+%{_bindir}/ncdiff
+%{_bindir}/ncea
+%{_bindir}/ncecat
+%{_bindir}/nces
+%{_bindir}/ncflint
+%{_bindir}/ncks
+%{_bindir}/ncpdq
+%{_bindir}/ncra
+%{_bindir}/ncrcat
+%{_bindir}/ncrename
+%{_bindir}/ncwa
+%{_mandir}/man1/ncap.1*
+%{_mandir}/man1/ncap2.1*
+%{_mandir}/man1/ncatted.1*
+%{_mandir}/man1/ncbo.1*
+%{_mandir}/man1/ncdiff.1*
+%{_mandir}/man1/ncea.1*
+%{_mandir}/man1/ncecat.1*
+%{_mandir}/man1/nces.1*
+%{_mandir}/man1/ncflint.1*
+%{_mandir}/man1/ncks.1*
+%{_mandir}/man1/nco.1*
+%{_mandir}/man1/ncpdq.1*
+%{_mandir}/man1/ncra.1*
+%{_mandir}/man1/ncrcat.1*
+%{_mandir}/man1/ncrename.1*
+%{_mandir}/man1/ncwa.1*
%{_infodir}/*
%{_libdir}/libnco*[0-9]*.so
@@ -120,7 +154,12 @@ fi
%files static
%{_libdir}/libnco*.a
+
%changelog
+* Wed Jul 23 2014 Orion Poplawski <orion at cora.nwra.com> 4.4.4-1
+- Update to 4.4.4
+- Strip rpaths
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 51dab97..7e9453b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5e47361131c51fb4b745528de4be1f44 nco-4.4.3.tar.gz
+c5ef59514d2a53c877535b5dfcc594b1 nco-4.4.4.tar.gz
More information about the scm-commits
mailing list