Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
irda
irda.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File irda.spec of Package irda
# # spec file for package irda (Version 0.9.18) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: irda BuildRequires: gtk1-compat-devel linux-kernel-headers pciutils-devel Url: http://irda.sourceforge.net Summary: Necessary Tools for Using the Infrared Port Version: 0.9.18 Release: 196 Group: Hardware/Other License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on PreReq: %insserv_prereq %fillup_prereq Source: irda-utils-%{version}.tar.bz2 Patch1: irda-0.9.18-psion-no-strict-aliasing.diff Patch2: irda-0.9.18-irnetd-install.diff Patch3: irda-0.9.18-findchip-ppc.diff Patch4: irda-0.9.18-irdadump-flush-stdout.diff Patch5: irda-utils-0.9.18-fix-irkbd-makefile.diff Patch6: irda-utils-0.9.16-fix-off-by-one.diff Patch7: irda-libpci_with_libz.diff Patch8: irda-0.9.18-buildroot.diff Patch9: irda-0.9.18-no-findchip-smc.diff Patch10: irda-optflags.diff Source1: 52-irda.rules Source2: irda-0.9.18.init Source3: irda-0.9.18.sysconfig %description This package contains all necessary scripts and programs for setting up and using the infrared port for printing or communicating. The start and stop scripts are prepared to access the UART emulation ('SIR' mode) with 115 kbit/s data transfer rate. This is supported by most laptops with an infrared interface. After starting the infrared protocol manager 'irmanger' with the command 'rcirda start', you can send data to your printer using the device file /dev/irlpt0. If you like to talk to other computers with infrared interface or to a mobile phone, you can use the serial emulation provided by the device file /dev/ircomm0. Take a look at the README file located in /usr/share/doc/packages/irda/README and the IRDA HOWTO in /usr/share/doc/howto/en/IR-HOWTO.gz. If the infrared port on your laptop is located on an IO or IRQ address other than IO address 0x2f8 (/dev/ttyS1) or interrupt 3, you should use YaST to change the variables IRDA_PORT and IRDA_IRQ in the configuration file /etc/rc.config. Authors: -------- Dag Brattli <dagb@cs.uit.no> Pontus Fuchs <pontus.fuchs@vicecomputer.se> Fons Botman <budely@tref.nl> Andy Choi <kc49@cornell.edu> %prep %setup -q -n irda-utils-%{version} %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 %patch7 %patch8 %patch9 %patch10 %build make V=1 RPM_OPT_FLAGS="$RPM_OPT_FLAGS" INITD=%{_sysconfdir}/init.d ROOT="$RPM_BUILD_ROOT" all %install install -d -m 755 %{buildroot}/usr/sbin install -d -m 755 %{buildroot}/usr/bin install -d -m 755 %{buildroot}/etc/init.d install -d -m 755 %{buildroot}/etc/udev/rules.d install -d -m 755 %{buildroot}%{_docdir}/irda install -d -m 755 %{buildroot}/var/adm/fillup-templates make INITD=%{_sysconfdir}/init.d \ DOCDIR=%{_defaultdocdir}/irda \ ROOT="$RPM_BUILD_ROOT" \ MANDIR=%{_mandir} \ install rm %{buildroot}/etc/sysconfig/irda %{buildroot}/etc/sysconfig/network-scripts/ifcfg-irlan0 rmdir %{buildroot}/etc/sysconfig/network-scripts #documentation, READMEs install -m 644 README %{buildroot}%{_docdir}/irda/ install -m 644 ethereal/README %{buildroot}%{_docdir}/irda/README.ethereal install -m 644 irattach/README %{buildroot}%{_docdir}/irda/README.irattach install -m 644 irdadump/README %{buildroot}%{_docdir}/irda/README.irdadump install -m 644 ethereal/README %{buildroot}%{_docdir}/irda/README.ethereal install -m 644 irdaping/README %{buildroot}%{_docdir}/irda/README.irdaping install -m 644 ethereal/README %{buildroot}%{_docdir}/irda/README.ethereal install -m 644 irsockets/README %{buildroot}%{_docdir}/irda/README.irsockets install -m 644 tekram/README %{buildroot}%{_docdir}/irda/README.tekram # udev stuff install -m 644 %{S:1} %{buildroot}/etc/udev/rules.d # init script install -m 755 %{S:2} %{buildroot}/etc/init.d/irda ln -s /etc/init.d/irda %{buildroot}/usr/sbin/rcirda # sysconfig template install -m 644 %{S:3} %{buildroot}/var/adm/fillup-templates/sysconfig.irda %post %{fillup_and_insserv irda} %preun %{stop_on_removal} %postun %{insserv_cleanup} %files %defattr(-,root,root) %doc %{_docdir}/irda %{_sysconfdir}/init.d/irda /usr/sbin/* /usr/bin/* %doc %{_mandir}/man4/* %doc %{_mandir}/man7/* %doc %{_mandir}/man8/* /var/adm/fillup-templates/sysconfig.irda %dir /etc/udev %dir /etc/udev/rules.d %config /etc/udev/rules.d/52-irda.rules %changelog * Tue Aug 26 2008 meissner@suse.de - fixed init script issues - use rpm_opt_flags everywhere * Sun Jan 27 2008 meissner@suse.de - disable build of findchip and smcinit, this is done/shoube be done in kernel. * Sun Feb 11 2007 ro@suse.de - fix build as non-root - link with libz when using libpci * Mon Aug 07 2006 seife@suse.de - update to 0.9.18, which includes: - fixes and improvements to irdadump - smcinit has been integrated - support TOIM3232 dongle - ability to run irattach in the foreground - irdadump can read and write libpcap files - new manpages - include irnetd - package various README files - misc. packaging cleanups * Tue Feb 07 2006 sscheler@suse.de - fixed "directories not owned by a package"-problem * Tue Feb 07 2006 sscheler@suse.de - added udev rule for IrDA (#60496) * Tue Jan 31 2006 sscheler@suse.de - fixed irkbd build problems (#127868) - fixed irattach off-by-one error (#131517) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Oct 12 2005 sbrabec@suse.cz - Force glib2 using gtk1-compat-devel. * Thu Sep 01 2005 zoz@suse.de - load ircomm-tty in start script (bug 113290) * Thu Sep 09 2004 zoz@suse.de - added patch irda.flush_irdadump_output.diff that makes irdadump write its output properly through pipes. (Bug 44657) * Mon Sep 06 2004 zoz@suse.de - Changed MAX_BAUD_RATE to IRDA_MAX_BAUD_RATE * Tue Aug 17 2004 hare@suse.de - Add MAX_BAUD_RATE option for Nokia phones (#40814). * Mon Mar 15 2004 behlert@suse.de - updated to 0.9.16 which should work with Kernel 2.6 [#35746] - still TODO: spec-file needs rework * Tue Sep 02 2003 mmj@suse.de - Add sysconfig metadata [#28884] * Thu Feb 20 2003 mmj@suse.de - Add sysconfig metadata [#22649] * Mon Aug 19 2002 jg@suse.de - fixed init info of /etc/init.d/irda * Tue Aug 13 2002 zoz@suse.de - added PreReq: %%insserv_prereq %%fillup_prereq * Thu Jul 11 2002 kukuk@suse.de - Change require serial to should-start setserial * Wed Feb 27 2002 zoz@suse.de - made init script LSB compliant - changed comment in sysconfig/irda (Bug 12068) * Mon Jan 14 2002 ro@suse.de - removed START_IRDA and moved rest to /etc/sysconfig/irda * Tue Jun 26 2001 ro@suse.de - make it accept libtool-1.4 * Wed Apr 11 2001 zoz@suse.de - added irda manpages from mobilix.org - made filelist generic - removed %%{?suse_check} * Sat Jan 06 2001 zoz@suse.de - updated status section in rcirda * Mon Dec 11 2000 kukuk@suse.de - Adjust sparc patch * Tue Dec 05 2000 zoz@suse.de - excluded findchip for all non i386 * Sun Dec 03 2000 zoz@suse.de - update to 0.9.13 - removed /etc/irda/ - moved /sbin/init.d/irda to /etc/init.d/irda - added INIT INFO to rcirda and moved it to /etc/init.d/irda - removed START/STOP-links, added insserv * Mon Nov 06 2000 ro@suse.de - fixed neededforbuild * Sat Jul 08 2000 kukuk@suse.de - Don't build findchip on SPARC * Wed Jun 07 2000 ro@suse.de - doc relocation * Wed Feb 16 2000 uli@suse.de - added support for PPC (untested, might work on CHRP and PReP) * Mon Feb 14 2000 cg@suse.de - update to 0.9.9 * Fri Oct 29 1999 cg@suse.de - adjusted owner and group of the devices to root.lp (/dev/irlpt0) and root.uucp (/dev/ircomm0). - modified network start/stop skript a little bit: Removed the default setup from "bootp" on the irlan interface to "no configuration" (Behaves now like the skript in the PCMCIA package) * Fri Oct 15 1999 ro@suse.de - rebuild binary objects (at least for non-x86) * Tue Oct 12 1999 cg@suse.de - Forget to include the fillup rc.config skript in the post install section - fixed * Mon Oct 04 1999 cg@suse.de - adjusted scripts in /etc/irda, added creation of dev/ircomm and /dev/irlpt - created start/stop script in scripts, will be installed in /sbin/init.d, /usr/sbin/rcirda runlevel start/stop links will be created for runlevel 2 and 3 - fillup creates START_IRDA, IRDA_PORT, IRDA_IRQ variables in etc/rc.config. Default ist START_IRQ=no IRDA_PORT=/dev/ttyS1 IRDA_IRQ=3 which works for the mosts Laptops flawlessly (but only UART SIR mode, not FIR - manual editing of /etc/irda/drivers is necessary to change this) - changed etc/network and etc/network.opts to be similar to the PCMCIA scripts. - irobex tools are installed in /usr/bin and not in /bin - Documentation is copied to /usr/doc/packages/irda
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor