# Basic Information Name: netcdf Version: 4.1.3 Release: 1%{?_dist_release} License: distributable Group: Development/Libraries URL: http://www.unidata.ucar.edu/software/netcdf/ Source0: http://www.unidata.ucar.edu/downloads/%{name}/ftp/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: kenta Summary: Libraries for the Unidata network Common Data Form (NetCDF) Summary(ja): Unidata network Common Data Form (NetCDF) 用のライブラリ # Dependency BuildRequires: gcc-gfortran, gawk # BuildRequires: hdf5-devel >= 1.8.4 # BuildRequires: libcurl-devel # BuildRequires: zlib-devel %description NetCDF (network Common Data Form) is an interface for array-oriented data access and a freely-distributed collection of software libraries for C, Fortran, C++, and perl 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. %description -l ja NetCDF (network Common Data Form) は配列指向のデータアクセスのためのインター フェース群と、インターフェースを実装するための配布可能な C, Fortran, C++ と perl用ライブラリ群です。また、NetCDF はマシン非依存な科学データの表現フォー マットを定義しており、インターフェース、ライブラリとフォーマットが科学データの 作成、参照、共有を容易化します。 NetCDF ソフトウェアは米国コロラド州ボルダーの Unidataプログラム・センターで 開発されています。 %package devel Summary: Development files for netcdf Summary(ja): NetCDF の開発パッケージ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gcc-gfortran%{_isa} Requires: pkgconfig # Requires: hdf5-devel # Requires: libcurl-devel %description devel This package contains the netCDF header files, shared devel libs, and man pages. %description -l ja devel このパッケージには netCDF のヘッダーファイルと開発用の共有ライブラリ、 man のファイルが含まれています。 %package static Summary: Static libs for netcdf Summary(ja): NetCDF の静的リンク用ライブラリ Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description static This package contains the netCDF static libs. %description -l ja static このパッケージには netCDF の静的リンク用ライブラリが含まれています %prep %setup -q %build %configure --disable-netcdf-4 %{__make} %{?_smp_mflags} %install %{__rm} -rf ${RPM_BUILD_ROOT} %{__make} install DESTDIR=${RPM_BUILD_ROOT} /bin/rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la /bin/rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir %clean %{__rm} -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig /sbin/install-info %{_infodir}/netcdf.info \ %{_infodir}/dir 2>/dev/null || : %postun /sbin/ldconfig if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/netcdf.info \ %{_infodir}/dir 2>/dev/null || : fi %files %defattr(-,root,root) %doc COPYRIGHT README RELEASE_NOTES %{_bindir}/nccopy %{_bindir}/ncdump %{_bindir}/ncgen %{_bindir}/ncgen3 %{_libdir}/*.so.* %{_mandir}/man1/* %{_infodir}/* %files devel %defattr(-,root,root,-) %{_bindir}/nc-config %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/netcdf.pc %{_mandir}/man3/* %files static %defattr(-,root,root,-) %{_libdir}/*.a %changelog * Sun Nov 27 2011 NAKAMURA Kenta 4.1.3-1 - initial build for Vine Linux