Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37556869
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.80
Release: alt2

Summary: A utility for converting amounts from one unit to another
License: freely distributable
Group: Office

Source: ftp://ftp.gnu.org/pub/gnu/%name/%name-%version.tar.bz2
Patch: %name-1.55-texinfo.patch
Patch1: %name-1.80-mdk-gcc-3.3.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
%patch1 -p0

find -type f |
xargs fgrep -l /usr/local |
xargs -r perl -pi -e 's,/usr/local,%prefix,g'
perl -pi -e 's,\)units.dat,\)/units.dat,g' Makefile*

%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*
%_mandir/man?/*

%changelog

Полный changelog можно просмотреть здесь

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