Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37555147
en ru br
Репозитории ALT
S:2.21-alt1
5.1: 1.88-alt1
4.1: 1.87-alt1
4.0: 1.86-alt1
3.0: 1.80-alt2
www.altlinux.org/Changes

Группа :: Офис
Пакет: 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 можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin