Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
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) 2010 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: glib2-devel linux-kernel-headers pciutils-devel Url: http://irda.sourceforge.net Summary: Necessary Tools for Using the Infrared Port Version: 0.9.18 Release: 208 Group: Hardware/Other License: GPLv2+ 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 Patch11: irda-fix_link_command.diff Patch12: irda-exit_on_error.diff Patch13: irda-irdaping_no_strict_aliasing.diff Patch14: irda-no_std_paths.diff Source1: 52-irda.rules Source2: irda-0.9.18.init Source3: irda-0.9.18.sysconfig Source4: irda-rpmlintrc %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 %patch11 %patch12 %patch13 %patch14 %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
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