Репозитории ALT
Группа :: Офис
Пакет: units
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: units
Version: 1.86
Release: alt1
Packager: Stanislav Ievlev <inger at altlinux.org>
Summary: A utility for converting amounts from one unit to another
License: GPL
Group: Office
Source: ftp://ftp.gnu.org/pub/gnu/%name/%name-%version.tar
Patch: %name-1.55-texinfo.patch
PreReq(post,preun):%__install_info
# Automatically added by buildreq on Wed Sep 25 2002
BuildRequires: libncurses-devel libreadline-devel
%description
Units converts an amount from one unit to another, or tells you what
mathematical operation you need to perform to convert from one unit to
another. Units can only handle multiplicative scale changes (i.e., it
can't tell you how to convert from Celsius to Fahrenheit, which requires
an additive step in addition to the multiplicative conversion).
Units is a handy little program which contains a large number of
conversions, from au's to parsecs and tablespoons to cups. You probably
don't need to install it, but it comes in handy sometimes.
%prep
%setup -q
%patch -p1
find -type f |
xargs fgrep -l /usr/local |
xargs -r %__subst 's,/usr/local,%prefix,g'
%build
%configure
%make_build
makeinfo %name
%install
%makeinstall
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%_bindir/*
%_datadir/%name.dat
%_infodir/*.info*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.86
Release: alt1
Packager: Stanislav Ievlev <inger at altlinux.org>
Summary: A utility for converting amounts from one unit to another
License: GPL
Group: Office
Source: ftp://ftp.gnu.org/pub/gnu/%name/%name-%version.tar
Patch: %name-1.55-texinfo.patch
PreReq(post,preun):%__install_info
# Automatically added by buildreq on Wed Sep 25 2002
BuildRequires: libncurses-devel libreadline-devel
%description
Units converts an amount from one unit to another, or tells you what
mathematical operation you need to perform to convert from one unit to
another. Units can only handle multiplicative scale changes (i.e., it
can't tell you how to convert from Celsius to Fahrenheit, which requires
an additive step in addition to the multiplicative conversion).
Units is a handy little program which contains a large number of
conversions, from au's to parsecs and tablespoons to cups. You probably
don't need to install it, but it comes in handy sometimes.
%prep
%setup -q
%patch -p1
find -type f |
xargs fgrep -l /usr/local |
xargs -r %__subst 's,/usr/local,%prefix,g'
%build
%configure
%make_build
makeinfo %name
%install
%makeinstall
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%_bindir/*
%_datadir/%name.dat
%_infodir/*.info*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь