Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > 4c0d8f3443b1990b450a1436faf4cae9 > files > 3

irda-utils-0.9.14-5mdk.src.rpm

Summary:	Utilities for infrared communication between devices
Name:		irda-utils
Version:	0.9.14
Release:	5mdk

Source:		http://download.sourceforge.net/irda/%{name}-%{version}.tar.bz2
Patch0:		irda-utils-ppc.patch.bz2
Group:		System/Servers
URL:		http://irda.sourceforge.net/
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
License:	GPL
BuildRequires:	glib-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 irda-utils 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
rm -rf $RPM_BUILD_ROOT

%setup -q
%ifarch ppc
%patch0 -p0
%endif

%build
%serverbuild
# autogen.sh sucks.
cd irdadump && libtoolize --copy --force && \
perl -pi -e s/1\.2/1\.4/ autogen.sh && cd ..
make all RPM_BUILD_ROOT="$RPM_BUILD_ROOT" RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ROOT="$RPM_BUILD_ROOT"

%install
make install RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ROOT="$RPM_BUILD_ROOT"

for dir in irattach irdadump irdaping tekram; do
    cp $dir/README $dir/README.$dir
done

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,0755)
%doc README
%doc irattach/README.irattach
%doc irdadump/README.irdadump
%doc irdaping/README.irdaping
%doc tekram/README.tekram
/usr/sbin/irattach
/usr/sbin/irdaping
/usr/sbin/dongle_attach
%ifnarch ppc
/usr/sbin/findchip
%endif
/usr/bin/irdadump
/usr/bin/irpsion5
/usr/bin/irkbd
%config(noreplace) /etc/rc.d/init.d/irda
%config(noreplace) /etc/sysconfig/irda
#%config(noreplace) /etc/sysconfig/network-scripts/ifcfg-irlan0

%post

%_post_service irda

%preun

%_preun_service irda


%changelog
* Mon Sep 24 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.9.14-5mdk
- removed ifcfg-irlan0 to avoid lock on some laptops.

* Sat May 26 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.9.14-4mdk
- libtoolize --copy --force before build to make it work with libtool 1.4.
- s/1.2/1.4/ autogen.sh
- s/Copyright/License/;

* Thu Mar 29 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.9.14-3mdk
- use the new rpm macros for servers.

* Mon Jan 29 2001 Stew Benedict <sbenedict@mandrakesoft.com> 0.9.14-2mdk
- disable findchip for PowerPC - not needed - prevents build

* Mon Jan 22 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.9.14-1mdk
- new version

* Fri Jan 19 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.9.13-2mdk
- corrected typo in init script

* Thu Nov 23 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.13-1mdk
- 0.9.13

* Thu Nov 16 2000 David BAUDENS <baudens@mandrakesoft.com> 0.9.10-2mdk
- Allow to build (fix %%doc)

* Tue Aug 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.10-1mdk
- 0.9.10

* Wed Apr  5 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.9-1mdk
- group fix.

* Mon Feb  7 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.9.9-1mdk
- new version.
- init.d script activated.
- added a printer config file.

* Mon Dec 06 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Build release.

* Wed Nov 10 1999 Dag Brattli <dagb@cs.uit.no>
- 0.9.5
- Some fixes to irattach, so it works with the latest kernels and patches
- Removed OBEX which will now become its own distribution
- Removed irdadump-X11 which will be replaced with a GNOME version

* Wed Sep 8 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com>
- 0.9.4
- include new stuff (palm3, psion, obex_tcp, ...)
- various fixes

* Tue Sep 7 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com>
- Fix .spec bug

* Tue Sep 7 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com>
- add README to %doc
- compile gnobex, now in irda-utils-X11

* Tue Sep 7 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com>
- initial RPM:
  - handle RPM_OPT_FLAGS and RPM_BUILD_ROOT
  - fix build
  - split in normal and X11 packages