Группа :: Система/Основа
Пакет: getopt
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: getopt
Version: 1.1.4
Release: alt1
Summary: An improved implementation of getopt
License: GPL
Group: System/Base
Url: http://software.frodo.looijaard.name/getopt/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Provides: /bin/getopt
# http://software.frodo.looijaard.name/getopt/files/getopt-%version.tar.gz
Source: getopt-%version.tar
%description
An improved implementation of getopt(1), a program to parse
options within a shell script. Fully compatible with other
getopt(1) implementations, but with many additions like
long options and mixing of options and parameters.
%prep
%setup -q
# We don't want dependencies on csh.
chmod a-x *.*sh
%build
%make_build \
prefix=%prefix \
bindir=/bin \
OPTIMIZE="%optflags" \
#
%install
%make_install install \
prefix=%prefix \
bindir=/bin \
mandir=%_mandir \
DESTDIR=%buildroot \
#
mkdir -p %buildroot%_bindir
ln -s ../../bin/getopt %buildroot%_bindir/
%find_lang %name
%files -f %name.lang
/bin/*
%_bindir/*
%_mandir/man?/*
%doc Changelog README TODO *.lsm *.*sh
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.1.4
Release: alt1
Summary: An improved implementation of getopt
License: GPL
Group: System/Base
Url: http://software.frodo.looijaard.name/getopt/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Provides: /bin/getopt
# http://software.frodo.looijaard.name/getopt/files/getopt-%version.tar.gz
Source: getopt-%version.tar
%description
An improved implementation of getopt(1), a program to parse
options within a shell script. Fully compatible with other
getopt(1) implementations, but with many additions like
long options and mixing of options and parameters.
%prep
%setup -q
# We don't want dependencies on csh.
chmod a-x *.*sh
%build
%make_build \
prefix=%prefix \
bindir=/bin \
OPTIMIZE="%optflags" \
#
%install
%make_install install \
prefix=%prefix \
bindir=/bin \
mandir=%_mandir \
DESTDIR=%buildroot \
#
mkdir -p %buildroot%_bindir
ln -s ../../bin/getopt %buildroot%_bindir/
%find_lang %name
%files -f %name.lang
/bin/*
%_bindir/*
%_mandir/man?/*
%doc Changelog README TODO *.lsm *.*sh
%changelog
…
Полный changelog можно просмотреть здесь