Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37040659
en ru br
ALT Linux repositórios
S:0.9.18-alt3.qa2
5.0: 0.9.16-alt3
4.1: 0.9.16-alt3
4.0: 0.9.16-alt3
3.0: 0.9.16-alt1

Group :: Sistema/Servidores
RPM: irda-utils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009