Group :: Sciences/Physics
RPM: udunits
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: udunits
Version: 2.2.16
Release: alt1.1
Summary: Conversion of unit specifications between formatted and binary forms, etc
License: Open source
Group: Sciences/Physics
Url: http://www.unidata.ucar.edu/software/udunits/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
Source: %name-%version.tar
BuildPreReq: libexpat-devel flex CUnit-devel gcc-fortran
Requires: lib%name = %version-%release
# explicitly added texinfo for info files
BuildRequires: texinfo
%description
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
%package -n lib%name
Summary: Shared libraries of UDUNITS
Group: System/Libraries
%description -n lib%name
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
This package contains shared libraries of UDUNITS.
%package -n lib%name-devel
Summary: Development files of UDUNITS
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
This package contains development files of UDUNITS.
%package docs
Summary: Documentation for UDUNITS
Group: Documentation
BuildArch: noarch
%description docs
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
This package contains documentation for UDUNITS.
%prep
%setup
rm -fR expat
%build
%autoreconf
%configure \
--enable-static=no \
--disable-udunits-1
%make_build
%install
%makeinstall_std
%check
%make check
%files
%doc ANNOUNCEMENT BACKLOG CHANGE_LOG COPYRIGHT README
%_bindir/*
%_datadir/%name
%_docdir/%name
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%files docs
%doc *.html *.pdf */*.html */*.pdf
%_infodir/*
%changelog
…
Full changelog you can see here
Version: 2.2.16
Release: alt1.1
Summary: Conversion of unit specifications between formatted and binary forms, etc
License: Open source
Group: Sciences/Physics
Url: http://www.unidata.ucar.edu/software/udunits/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
Source: %name-%version.tar
BuildPreReq: libexpat-devel flex CUnit-devel gcc-fortran
Requires: lib%name = %version-%release
# explicitly added texinfo for info files
BuildRequires: texinfo
%description
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
%package -n lib%name
Summary: Shared libraries of UDUNITS
Group: System/Libraries
%description -n lib%name
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
This package contains shared libraries of UDUNITS.
%package -n lib%name-devel
Summary: Development files of UDUNITS
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
This package contains development files of UDUNITS.
%package docs
Summary: Documentation for UDUNITS
Group: Documentation
BuildArch: noarch
%description docs
UDUNITS supports conversion of unit specifications between formatted and
binary forms, arithmetic manipulation of units, and conversion of values
between compatible scales of measurement.
This package contains documentation for UDUNITS.
%prep
%setup
rm -fR expat
%build
%autoreconf
%configure \
--enable-static=no \
--disable-udunits-1
%make_build
%install
%makeinstall_std
%check
%make check
%files
%doc ANNOUNCEMENT BACKLOG CHANGE_LOG COPYRIGHT README
%_bindir/*
%_datadir/%name
%_docdir/%name
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%files docs
%doc *.html *.pdf */*.html */*.pdf
%_infodir/*
%changelog
…
Full changelog you can see here