ALT Linux repositórios
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
# $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