Репозиторий Sisyphus
Последнее обновление: 14 ноября 2019 | Пакетов: 17522 | Посещений: 15725630
en ru br
Репозитории ALT
S:0.9.18-alt3.qa1
5.1: 0.9.18-alt3
4.1: 0.9.16-alt3
4.0: 0.9.16-alt3
3.0: 0.9.16-alt1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: irda-utils

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

# -*- rpm-spec -*-
# $Id: irda-utils,v 1.3 2004/04/13 15:06:35 grigory Exp $

Name: irda-utils
Version: 0.9.16
Release: alt1

Summary: Utilities for infrared communication between devices
Summary(ru_RU.KOI8-R): Утилиты для управления соединениями через инфракрасный порт
License: GPL
Group: System/Servers
Url: http://irda.sourceforge.net/

Source: ftp://irda.sourceforge.net/pub/irda/%name/%name-%version.tar.bz2
Source1: irda.rc
Source2: irda.sysconfig
Patch1: irda-utils-0.9.10-rootonly.patch

# Automatically added by buildreq on Tue Apr 13 2004

BuildRequires: gcc-c++ glib-devel libstdc++-devel

%description
IrDA(TM) (Infrared Data Association) is an industry standard for
wireless, infrared communication between devices. IrDA speeds range
from 9600 bps to 4 Mbps, and IrDA can be used by many modern devices
including laptops, LAN adapters, PDAs, printers, and mobile phones.

The Linux-IrDA project is a GPL'd implementation, written from
scratch, of the IrDA protocols. Supported IrDA protocols include
IrLAP, IrLMP, IrIAP, IrTTP, IrLPT, IrLAN, IrCOMM and IrOBEX.

The %name package contains a collection of programs that enable
the use of IrDA protocols. Most IrDA features are implemented in the
kernel, so IrDA support must be enabled in the kernel before any IrDA
tools or programs can be used. Some configuration outside the kernel
is required, however, and some IrDA features, like IrOBEX, are
actually implemented outside the kernel.

%prep
%setup -q
%patch1 -p1 -b .rootonly

%build
%make_build all ROOT="%buildroot"

%install
%__mkdir_p %buildroot{%_bindir,%_sbindir}
%make_install install ROOT="%buildroot"
%__install -p -m755 %SOURCE1 %buildroot%_initdir/irda
%__install -p -m644 %SOURCE2 %buildroot%_sysconfdir/sysconfig/irda

%__mkdir docs
for d in irdadump irattach tekram; do
install -p -m644 "$d/README" "docs/README.$d"
done
for dir in irattach irdadump irdaping tekram; do
   cp $dir/README $dir/README.$dir
done

%post
/sbin/chkconfig --add irda

%preun
if [ $1 = 0 ]; then
   /sbin/chkconfig --del irda
fi

%files
%doc README docs/*
%_bindir/*
%_sbindir/*
%config(noreplace) %_initdir/*
%config(noreplace) %_sysconfdir/sysconfig/irda
%config(noreplace) %_sysconfdir/sysconfig/network-scripts/ifcfg-irlan0

%changelog

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

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