packages: netcdf-cxx4/netcdf-cxx4.spec (NEW)=?UTF-8?Q?=20?=- split from netcdf.spec since...
qboosh
qboosh at pld-linux.org
Tue Mar 20 18:44:21 CET 2012
Author: qboosh Date: Tue Mar 20 17:44:21 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- split from netcdf.spec since 4.2
---- Files affected:
packages/netcdf-cxx4:
netcdf-cxx4.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/netcdf-cxx4/netcdf-cxx4.spec
diff -u /dev/null packages/netcdf-cxx4/netcdf-cxx4.spec:1.1
--- /dev/null Tue Mar 20 18:44:21 2012
+++ packages/netcdf-cxx4/netcdf-cxx4.spec Tue Mar 20 18:44:16 2012
@@ -0,0 +1,155 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # don't perform "make check"
+ # (note: tests need endoder-enabled szip)
+#
+Summary: NetCDF C++ library
+Summary(pl.UTF-8): Biblioteka NetCDF dla języka C++
+Name: netcdf-cxx4
+Version: 4.2
+Release: 1
+License: BSD-like
+Group: Libraries
+Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/%{name}-%{version}.tar.gz
+# Source0-md5: d019853802092cf686254aaba165fc81
+URL: http://www.unidata.ucar.edu/packages/netcdf/
+BuildRequires: autoconf >= 2.66
+BuildRequires: automake
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:2.2
+BuildRequires: netcdf-devel >= 4.2
+BuildRequires: texinfo
+Requires: netcdf >= 4.2
+Obsoletes: netcdf-c++
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NetCDF (network Common Data Form) is an interface for array-oriented
+data access and a library that provides an implementation of the
+interface. The netCDF library also defines a machine-independent
+format for representing scientific data. Together, the interface,
+library, and format support the creation, access, and sharing of
+scientific data. The netCDF software was developed at the Unidata
+Program Center in Boulder, Colorado.
+
+This package contains C++ library.
+
+%description -l pl.UTF-8
+NetCDF (Network Common Data Form) jest interfejsem dostępu do danych
+zorganizowanych w tablice. Biblioteka netCDF definiuje niezależny od
+maszyny format reprezentowania danych naukowych. Interfejs oraz
+biblioteka pozwalają na tworzenie, dostęp i współdzielenie danych.
+NetCDF powstał w Unidata Program Center w Boulder, Colorado.
+
+Ten pakiet zawiera bibliotekę dla języka C++.
+
+%package devel
+Summary: Header files for netCDF C++ interface
+Summary(pl.UTF-8): Pliki nagłówkowe interfejsu netCDF dla języka C++
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libstdc++-devel
+Requires: netcdf-devel >= 4.2
+Obsoletes: netcdf-c++-devel
+
+%description devel
+Header files for netCDF - C++ interface.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki netCDF - interfejs dla języka C++.
+
+%package static
+Summary: NetCDF C++ static library
+Summary(pl.UTF-8): Biblioteka statyczna netCDF dla języka C++
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+Obsoletes: netcdf-c++-static
+
+%description static
+Static version of netCDF C++ library.
+
+%description static -l pl.UTF-8
+Statyczna wersja biblioteki netCDF dla języka C++.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%if %{with tests}
+%{__make} check
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYRIGHT
+%attr(755,root,root) %{_libdir}/libnetcdf_c++4.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnetcdf_c++4.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ncxx4-config
+%attr(755,root,root) %{_libdir}/libnetcdf_c++4.so
+%{_libdir}/libnetcdf_c++4.la
+%{_includedir}/ncAtt.h
+%{_includedir}/ncByte.h
+%{_includedir}/ncChar.h
+%{_includedir}/ncCheck.h
+%{_includedir}/ncCompoundType.h
+%{_includedir}/ncDim.h
+%{_includedir}/ncDouble.h
+%{_includedir}/ncEnumType.h
+%{_includedir}/ncException.h
+%{_includedir}/ncFile.h
+%{_includedir}/ncFloat.h
+%{_includedir}/ncGroup.h
+%{_includedir}/ncGroupAtt.h
+%{_includedir}/ncInt.h
+%{_includedir}/ncInt64.h
+%{_includedir}/ncOpaqueType.h
+%{_includedir}/ncShort.h
+%{_includedir}/ncString.h
+%{_includedir}/ncType.h
+%{_includedir}/ncUbyte.h
+%{_includedir}/ncUint.h
+%{_includedir}/ncUint64.h
+%{_includedir}/ncUshort.h
+%{_includedir}/ncVar.h
+%{_includedir}/ncVarAtt.h
+%{_includedir}/ncVlenType.h
+%{_includedir}/netcdf
+%{_pkgconfigdir}/netcdf-cxx4.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnetcdf_c++4.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/03/20 17:44:16 qboosh
+- split from netcdf.spec since 4.2
================================================================
More information about the pld-cvs-commit
mailing list