rpms/nco/devel .cvsignore, 1.6, 1.7 nco.spec, 1.10, 1.11 sources, 1.6, 1.7
Patrice Dumas (pertusus)
fedora-extras-commits at redhat.com
Sat Mar 1 13:11:06 UTC 2008
Author: pertusus
Update of /cvs/extras/rpms/nco/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26431
Modified Files:
.cvsignore nco.spec sources
Log Message:
* Sat Mar 1 2008 - Patrice Dumas <pertusus at free.fr> - 3.9.3-1
- update to 3.9.3
- separate static sub-package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/nco/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 27 Aug 2007 23:00:07 -0000 1.6
+++ .cvsignore 1 Mar 2008 13:10:16 -0000 1.7
@@ -1 +1 @@
-nco-3.9.1.tar.bz2
+nco-3.9.3.tar.gz
Index: nco.spec
===================================================================
RCS file: /cvs/extras/rpms/nco/devel/nco.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- nco.spec 19 Feb 2008 02:21:56 -0000 1.10
+++ nco.spec 1 Mar 2008 13:10:16 -0000 1.11
@@ -1,19 +1,19 @@
Name: nco
-Version: 3.9.1
-Release: 2%{?dist}
+Version: 3.9.3
+Release: 1%{?dist}
Summary: Suite of programs for manipulating NetCDF/HDF4 files
Group: Applications/Engineering
-License: GPL
+License: GPLv3
URL: http://nco.sourceforge.net/
# The NCO web site now recommends CVS so the tar.gz was obtained
# using the following recommended commands:
# cvs -d:pserver:anonymous at nco.cvs.sourceforge.net:/cvsroot/nco login
# cvs -z3 -d:pserver:anonymous at nco.cvs.sourceforge.net:/cvsroot/nco \
-# co -r nco-3_1_5 -d nco-%{version} nco
+# co -r nco-3_9_3 -d nco-%{version} nco
# tar -czf nco-%{version}.tar.gz ./nco-%{version}
-Source0: nco-%{version}.tar.bz2
-Patch0: nco_install_C_headers.patch
+Source0: nco-%{version}.tar.gz
+Patch0: nco_install_C_headers.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bison, flex, gawk
@@ -28,6 +28,11 @@
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+%package static
+Summary: Static libraries for NCO
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
%description
The netCDF Operators, NCO, are a suite of command line programs known
as operators. The operators facilitate manipulation and analysis of
@@ -44,7 +49,10 @@
http://nco.sourceforge.net/.
%description devel
-This package contains the NCO header files and static libs.
+This package contains the NCO header and development files.
+
+%description static
+This package contains the NCO static libs.
%prep
%setup -q
@@ -56,35 +64,31 @@
automake --foreign
autoconf
export CPPFLAGS=-I%{_includedir}/netcdf-3
-export LDFLAGS=-L%{_libdir}/netcdf-3
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
export CXXFLAGS="$RPM_OPT_FLAGS -fpermissive -fPIC"
%configure --disable-dependency-tracking --includedir=%{_includedir}/nco
make %{?_smp_mflags}
-unset CPPFLAGS LDFLAGS CFLAGS CXXFLAGS
%install
-rm -rf ${RPM_BUILD_ROOT}
-mkdir ${RPM_BUILD_ROOT}
-mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/nco
-make install DESTDIR=${RPM_BUILD_ROOT}
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
-rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
-rm -f ${RPM_BUILD_ROOT}%{_bindir}/mpnc*
+rm -rf $RPM_BUILD_ROOT
+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
%clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
-/sbin/install-info %{_infodir}/nco.info.gz \
+/sbin/install-info %{_infodir}/nco.info \
%{_infodir}/dir 2>/dev/null || :
%postun
/sbin/ldconfig
if [ "$1" = 0 ]; then
- /sbin/install-info --delete %{_infodir}/nco.info.gz \
+ /sbin/install-info --delete %{_infodir}/nco.info \
%{_infodir}/dir 2>/dev/null || :
fi
@@ -99,14 +103,17 @@
%files devel
%defattr(-,root,root,-)
%{_includedir}/nco
-%{_libdir}/libnco*.a
%{_libdir}/libnco.so
%{_libdir}/libnco_c++.so
+%files static
+%defattr(-,root,root,-)
+%{_libdir}/libnco*.a
%changelog
-* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.9.1-2
-- Autorebuild for GCC 4.3
+* Sat Mar 1 2008 - Patrice Dumas <pertusus at free.fr> - 3.9.3-1
+- update to 3.9.3
+- separate static sub-package
* Mon Aug 27 2007 - Orion Poplawski <orion at cora.nwra.com> - 3.9.1-1
- Update to 3.9.1
@@ -179,10 +186,10 @@
- updated to ver 2.9.8
* Sat Jul 17 2004 Ed Hill <eh3 at mit.edu> - 0:2.9.7-0.fdr.2
-- removed unneeded %ifarch
+- removed unneeded %%ifarch
* Sat Jul 17 2004 Ed Hill <eh3 at mit.edu> - 0:2.9.7-0.fdr.1
-- Add %post,%postun
+- Add %%post,%%postun
* Sat Jul 17 2004 Ed Hill <eh3 at mit.edu> - 0:2.9.7-0.fdr.0
- Initial working version
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/nco/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 27 Aug 2007 23:00:07 -0000 1.6
+++ sources 1 Mar 2008 13:10:16 -0000 1.7
@@ -1 +1 @@
-62a02fcf375df85569dc720dbb500c7a nco-3.9.1.tar.bz2
+6fe6fdf29b6eeada59089ca7344ce460 nco-3.9.3.tar.gz
More information about the fedora-extras-commits
mailing list