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

Группа :: Сети/Прочее
Пакет: url_handler

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: url_handler
Version: 0.3.0
Release: alt1

Group: Networking/Other
Summary: Opens URLs of common types with dedicated programs
Summary(ru_RU.koi8-r): Открывает URL-ы обычных типов предназначенными для них программами
License: GPL
Packager: Dmitry V. Levin <ldv at altlinux.org>
BuildArch: noarch

# There was a single pkg before: it used to unite urlview & url_handler.

Conflicts: urlview < 0.9-ipl8mdk

# url_handler.sh uses tr:

Requires: coreutils

# Probably something like this should be present, but not now.

#Requires: webclient
# Now very few pkgs provide webclient.

# We use 'mailx' command not present in older mailx

Conflicts: mailx < 8.1.2-alt1

# 2 scripts of our own.

Source: url_handler-%version.tar

# All these patches are already applied.

# (They are listed for the purpose of tracking the changes.)
# urlview-0.9-paths.ALT.patch
# urlview-0.9-add-nohup-flag.debian.patch

%define confdir %_sysconfdir/urlview

%description
url_handler can be used as a uniform centralized handler for URLs of
common types by other programs (e.g., urlview) or human users.
It has a configurable list of programs dedicated to handling each specific
URL type: it is initialized to the list of the most popular programs.

Examples:

\#1
url_handler.sh http://lrn.ru \# open it in a browser

\#2
url_handler.sh ./manual.html \# view the local file from the working dir

%description -l ru_RU.koi8-r
url_handler может быть использован другими программами (например,
urlview) или людьми-пользователями для единообразной централизованной
обработки URL-ов обычных типов.  Имеется настраиваемый список программ,
предназначенных для обработки каждого отдельного типа URL: изначально
установлен список, перечисляющий самый популярные программы.

Примеры:

\#1
url_handler.sh http://lrn.ru \# открыть сайт в браузере

\#2
url_handler.sh ./manual.html \# посмотреть локальный файл из рабочей директории

%prep
%setup

%install
mkdir -p "%buildroot"{%_bindir,%confdir}
install -pm755 url_handler.sh "%buildroot"%_bindir/
ln -s ../..%_bindir/url_handler.sh "%buildroot"%confdir/url_handler.sh
install -pm644 url_handlers "%buildroot"%confdir/

%files
%_bindir/*
%dir %confdir/
%confdir/url_handler.sh
%config(noreplace) %confdir/url_handlers

%changelog

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

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