Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37576449
en ru br
ALT Linux repositórios
S:4.8.0-alt1
3.0: 3.5.1-alt1

Group :: Sistema/Bibliotecas
RPM: libnetcdf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname netcdf
%define sover 19

Name: lib%oname
Version: 4.8.0
Release: alt1
Summary: Libraries to use the Unidata network Common Data Form (netCDF)
License: NetCDF
Group: System/Libraries
Url: http://www.unidata.ucar.edu/software/netcdf/

# https://github.com/Unidata/netcdf-c.git

Source: %name-%version.tar

# Automatically added by buildreq on Sun Jan 18 2009

BuildRequires: flex gcc-c++ gcc-fortran zlib-devel libhdf5-devel
BuildRequires: /usr/bin/tex libcurl-devel libexpat-devel doxygen graphviz

%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.

NetCDF data is:

  o Self-Describing. A netCDF file includes information about the data
    it contains.

  o Network-transparent. A netCDF file is represented in a form that
    can be accessed by computers with different ways of storing
    integers, characters, and floating-point numbers.

  o Direct-access. A small subset of a large dataset may be accessed
    efficiently, without first reading through all the preceding data.

  o Appendable. Data can be appended to a netCDF dataset along one
    dimension without copying the dataset or redefining its structure.
    The structure of a netCDF dataset can be changed, though this
    sometimes causes the dataset to be copied.

  o Sharable. One writer and multiple readers may simultaneously
    access the same netCDF file.

%description -l ru_RU.UTF-8
NetCDF (network Common Data Form) - это ориентированный на массивы
интерфейс для доступа к данным и, одновременно, свободно
распространяемая коллекция программ и библиотек для C, Fortran, C++,
которые реализуют этот интерфейс. Программы netCDF были
разработаны Гленом Дэвисом (Glenn Davis), Руссом Рью (Russ Rew),
Стивом Еммерсоном (Steve Emmerson), Джоном Кэроном (John Caron) и
Харвей Дэвисом (Harvey Davies) в Unidata Program Center в Боулдере,
Колорадо и расширены вкладами от других пользователей netCDF.
Библиотеки netCDF определяют машиннонезависимый  формат для
представления научных данных. Интерфейс, библиотеки и сам формат
поддерживают создание, доступ и совместное использование научных
данных.

%package -n %name%sover
Summary: Libraries to use the Unidata network Common Data Form (netCDF)
Group: System/Libraries

%description -n %name%sover
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.

NetCDF data is:

  o Self-Describing. A netCDF file includes information about the data
    it contains.

  o Network-transparent. A netCDF file is represented in a form that
    can be accessed by computers with different ways of storing
    integers, characters, and floating-point numbers.

  o Direct-access. A small subset of a large dataset may be accessed
    efficiently, without first reading through all the preceding data.

  o Appendable. Data can be appended to a netCDF dataset along one
    dimension without copying the dataset or redefining its structure.
    The structure of a netCDF dataset can be changed, though this
    sometimes causes the dataset to be copied.

  o Sharable. One writer and multiple readers may simultaneously
    access the same netCDF file.

%description -l ru_RU.UTF-8 -n %name%sover
NetCDF (network Common Data Form) - это ориентированный на массивы
интерфейс для доступа к данным и, одновременно, свободно
распространяемая коллекция программ и библиотек для C, Fortran, C++,
которые реализуют этот интерфейс. Программы netCDF были
разработаны Гленом Дэвисом (Glenn Davis), Руссом Рью (Russ Rew),
Стивом Еммерсоном (Steve Emmerson), Джоном Кэроном (John Caron) и
Харвей Дэвисом (Harvey Davies) в Unidata Program Center в Боулдере,
Колорадо и расширены вкладами от других пользователей netCDF.
Библиотеки netCDF определяют машиннонезависимый  формат для
представления научных данных. Интерфейс, библиотеки и сам формат
поддерживают создание, доступ и совместное использование научных
данных.

%package -n %oname-tools
Summary: NetCDF tools
Group: Development/Tools

%description -n %oname-tools
This package contains tools for work with NetCDF

%package devel
Summary: Development tools for the NetCDF library
Summary(ru_RU.UTF-8): Средства разработки программ на основе библиотеки NetCDF
Group: Development/C
Provides: pkgconfig(netcdf) = %EVR

%description devel
This package contains the netCDF-3 header files, shared devel libs, and
man pages.

If you want to develop applications which will use the NetCDF library,
you'll need to install the %name-devel package.

%description -l ru_RU.UTF-8 devel
Заголовочные файлы и документация для использования библиотеки NetCDF
в приложениях.

Если вы собираетесь разрабатывать приложения, которые будут
использовать библиотеку NetCDF, вам необходимо установить пакет
%name-devel.

%package doc
Summary: Documentation for NetCDF
Summary(ru_RU.UTF-8): Документация по NetCDF
Group: Documentation
BuildArch: noarch

%description doc
Documentation for NetCDF library.

%description -l ru_RU.UTF-8 doc
Документация по NetCDF.

%prep
%setup

rm -fR udunits/expat

%build
%add_optflags -fno-strict-aliasing
%autoreconf
%configure \
--enable-shared \
--enable-static=no \
--enable-netcdf-4 \
--enable-doxygen \
--enable-internal-docs \
--enable-v2 \
--enable-mmap \
--disable-dap-remote-tests \
--disable-filter-testing \
%nil

%make

%install
%makeinstall_std

%files -n %name%sover
%doc COPYRIGHT
%doc README* RELEASE_NOTES*
%_libdir/*.so.%{sover}
%_libdir/*.so.%{sover}.*

%files devel
%_bindir/nc-config
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%_man3dir/netcdf.3*

%files -n %oname-tools
%_bindir/*
%exclude %_bindir/nc-config
%_libdir/*.settings
%_man1dir/*

%files doc
%doc docs/html examples

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009