304 lines
9.3 KiB
RPMSpec
304 lines
9.3 KiB
RPMSpec
Summary: Utilities for infrared communication between devices
|
||
Name: irda-utils
|
||
Version: 0.9.18
|
||
Release: 7%{?dist}
|
||
Url: http://irda.sourceforge.net/
|
||
License: GPLv2+
|
||
Group: Applications/System
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
ExcludeArch: s390 s390x
|
||
BuildRequires: glib2-devel, libtool, automake, docbook-utils
|
||
Requires: grep, modutils >= 2.3.21-4
|
||
Requires(post): /sbin/chkconfig
|
||
Requires(preun): /sbin/chkconfig
|
||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||
Patch1: irda-utils-0.9.14-chkconfig.patch
|
||
Patch2: irda-utils-0.9.14-typo.patch
|
||
Patch3: irda-utils-0.9.13-i18n.patch
|
||
Patch4: irda-utils-0.9.17-rootonly.patch
|
||
Patch5: irda-utils-0.9.15-rh1.patch
|
||
Patch6: irda-utils-0.9.16-rh2.patch
|
||
Patch7: irda-utils-0.9.16-io.patch
|
||
Patch8: irda-utils-0.9.17-makefile.patch
|
||
Patch9: irda-utils-0.9.17-smcdisable.patch
|
||
Patch10: irda-utils-0.9.17-initscript.patch
|
||
|
||
%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
|
||
%setup -q
|
||
%patch1 -p1
|
||
%patch2 -p1
|
||
%patch3 -p1
|
||
%patch4 -p1
|
||
%patch5 -p1
|
||
%patch6 -p1
|
||
%patch7 -p1
|
||
%patch8 -p1
|
||
%patch9 -p1
|
||
%patch10 -p1
|
||
|
||
%build
|
||
make all RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ROOT="$RPM_BUILD_ROOT" \
|
||
CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||
|
||
%install
|
||
rm -rf $RPM_BUILD_ROOT
|
||
mkdir -p $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT/%{_initddir}
|
||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||
|
||
make install ROOT="$RPM_BUILD_ROOT" MANDIR="$RPM_BUILD_ROOT/%{_mandir}"
|
||
chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/irda
|
||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifcfg-irlan0
|
||
mv irattach/README irattach/README.irattach
|
||
mv irdadump/README irdadump/README.irdadump
|
||
mv irdaping/README irdaping/README.irdaping
|
||
mv tekram/README tekram/README.tekram
|
||
mv etc/modules.conf.irda etc/modprobe.conf.irda
|
||
|
||
%clean
|
||
#rm -rf $RPM_BUILD_ROOT
|
||
|
||
%post
|
||
/sbin/chkconfig --add irda
|
||
|
||
%preun
|
||
if [ $1 = 0 ] ; then
|
||
/sbin/chkconfig --del irda
|
||
fi
|
||
|
||
%files
|
||
%defattr(-,root,root)
|
||
/usr/sbin/*
|
||
/usr/bin/*
|
||
%{_mandir}/man?/*
|
||
%config %{_initddir}/irda
|
||
%config %{_sysconfdir}/sysconfig/irda
|
||
%doc README etc/ifcfg-irlan0 etc/modprobe.conf.irda
|
||
%doc irattach/README.irattach
|
||
%doc irdadump/README.irdadump
|
||
%doc irdaping/README.irdaping
|
||
%doc tekram/README.tekram
|
||
|
||
%changelog
|
||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.18-7
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||
|
||
* Mon Dec 01 2008 Karsten Hopp <karsten@redhat.com> 0.9.18-6
|
||
- use macros, fix Source0
|
||
|
||
* Thu Jul 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.9.18-5
|
||
- fix license tag
|
||
|
||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.18-4
|
||
- Autorebuild for GCC 4.3
|
||
|
||
* Wed Aug 29 2007 Karsten Hopp <karsten@redhat.com> 0.9.18-3
|
||
- rebuild for buildid
|
||
|
||
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 0.9.18-2
|
||
- review cleanups
|
||
|
||
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 0.9.18-1
|
||
- update to 0.9.18
|
||
|
||
* Tue Aug 01 2006 Karsten Hopp <karsten@redhat.de> 0.9.17-2
|
||
- initscript fix from Paul Bolle (#168325)
|
||
|
||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.17-1.1
|
||
- rebuild
|
||
|
||
* Mon Jun 19 2006 Karsten Hopp <karsten@redhat.de> 0.9.17-1
|
||
- update to 0.9.17
|
||
- makefile fixes
|
||
- disable smcinit
|
||
- use manpages from 0.9.17-pre3 as those from 0.9.17 are corrupted
|
||
|
||
* Mon Apr 03 2006 Karsten Hopp <karsten@redhat.de> 0.9.16-8
|
||
- don't use asm/io.h directly (Bastien Nocera #186875)
|
||
|
||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9.16-7.2.1
|
||
- bump again for double-long bug on ppc(64)
|
||
|
||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9.16-7.2
|
||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||
|
||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||
- rebuilt
|
||
|
||
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 0.9.16-7
|
||
- build with gcc-4
|
||
|
||
* Tue Feb 15 2005 Karsten Hopp <karsten@redhat.de> 0.9.16-6
|
||
- use RPM_OPT_FLAGS as CFLAGS
|
||
|
||
* Tue Feb 15 2005 Karsten Hopp <karsten@redhat.de> 0.9.16-5
|
||
- load irtty-sir module (#148750)
|
||
|
||
* Wed Feb 02 2005 Karsten Hopp <karsten@redhat.de> 0.9.16-4
|
||
- use glib2 instead of glib (#136223)
|
||
|
||
* Mon Oct 04 2004 Karsten Hopp <karsten@redhat.de> 0.9.16-3
|
||
- load irda modules to make it work with udev (#134322)
|
||
|
||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||
- rebuilt
|
||
|
||
* Wed Jun 02 2004 Karsten Hopp <karsten@redhat.de> 0.9.16-1
|
||
- update
|
||
|
||
* Wed Feb 18 2004 Karsten Hopp <karsten@redhat.de> 0.9.15-5
|
||
- add manpages (#115972)
|
||
|
||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||
- rebuilt
|
||
|
||
* Sat Jan 24 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
||
- do not use *.spec as filename for a patch
|
||
|
||
* Mon Nov 24 2003 Karsten Hopp <karsten@redhat.de> 0.9.15-2
|
||
- fix array usage (#110791)
|
||
|
||
* Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
||
- add a %%clean specfile target
|
||
|
||
* Thu Jul 03 2003 Karsten Hopp <karsten@redhat.de> 0.9.15-1.1
|
||
- rebuilt
|
||
|
||
* Wed Jul 02 2003 Karsten Hopp <karsten@redhat.de> 0.9.15-1
|
||
- update
|
||
- removed libtool patch, it's obsolete now
|
||
- new root patch
|
||
|
||
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
||
- rebuilt
|
||
|
||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||
- rebuilt
|
||
|
||
* Mon Dec 16 2002 Dan Walsh <dwalsh@redhat.com> 0.9.14-8
|
||
- Fixed service script description
|
||
|
||
* Mon Dec 09 2002 Phil Knirsch <pknirsch@redhat.com> 0.9.14-7
|
||
- Fixed problem with %doc entries.
|
||
|
||
* Tue Jul 09 2002 Phil Knirsch <pknirsch@redhat.com> 0.9.14-6
|
||
- Removed the ifcfg-irlan0 file. It shouldn't be installed by default. Moved it
|
||
to the docs dir.
|
||
|
||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.9.14-5
|
||
- automated rebuild
|
||
|
||
* Thu May 23 2002 Tim Powers <timp@redhat.com> 0.9.14-4
|
||
- automated rebuild
|
||
|
||
* Thu Apr 4 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.9.14-3
|
||
- Stop irda service earlier (#61777)
|
||
|
||
* Mon Jul 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.9.14-2
|
||
- Fix libtool detection (#49093)
|
||
|
||
* Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.9.14-1
|
||
- 0.9.14-1
|
||
|
||
* Thu Feb 8 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Make init scripts more i18n friendly (use $0, $prog)
|
||
Bugs #26527 and #26550
|
||
- Exclude S/390 (they don't have the needed hardware)
|
||
|
||
* Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- i18nize init scripts (#26077)
|
||
|
||
* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- chmod -x /etc/sysconfig/irda (#22837)
|
||
|
||
* Sat Jan 6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Fix up the init script
|
||
|
||
* Mon Dec 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Get rid of the /etc/modules.conf hack; the entries are in the
|
||
latest modutils by default. (Bug #22799)
|
||
- Require modutils >= 2.3.21-4 to make sure the modules.conf hack
|
||
isn't needed
|
||
|
||
* Wed Dec 6 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Require modutils >= 2.3.11-5 rather than /etc/modules.conf
|
||
|
||
* Tue Dec 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- 0.9.13
|
||
|
||
* Tue Oct 31 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Add necessary entries to /etc/modules.conf in %%post (Bug #19960)
|
||
- Update source URL
|
||
- Fix build with current kernel 2.4 header files
|
||
|
||
* Mon Oct 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- make irdadump exit with an error message rather than a segfault when
|
||
run as non-root
|
||
- Update URL
|
||
|
||
* Wed Aug 2 2000 Bill Nottingham <notting@redhat.com>
|
||
- fix start priority (345 isn't right...)
|
||
- fix condrestart
|
||
|
||
* Sun Jul 23 2000 Trond Eivind Glomsr<73>d <teg@redhat.com>
|
||
- source files from /etc/rc.d/init.d
|
||
|
||
* Sun Jul 23 2000 Trond Eivind Glomsr<73>d <teg@redhat.com>
|
||
- don't prereq /etc/init.d anymore
|
||
- rename "rh-status"
|
||
- use %%{_tmppath}
|
||
|
||
* Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
|
||
- move initscript back
|
||
|
||
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
||
- automatic rebuild
|
||
|
||
* Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
|
||
- don't prereq, only require initscripts
|
||
|
||
* Mon Jun 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Fix up initscripts
|
||
- chkconfigize
|
||
|
||
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
|
||
- rebuilt for next release
|
||
|
||
* Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- 0.9.10
|
||
- add docs
|
||
|
||
* Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- strip libraries
|
||
|
||
* Mon Jan 31 2000 Bill Nottingham <notting@redhat.com>
|
||
- fix typo in initscript
|
||
|
||
* Mon Oct 11 1999 Cristian Gafton <gafton@redhat.com>
|
||
- remove some of the network config files (and hope that the package will
|
||
still work :-)
|
||
|
||
* Sun Oct 10 1999 Bernhard Rosenkraenzer <bero@redhat.de>
|
||
- Add the /etc/irda directory. It's needed.
|
||
- Add the /etc/rc.d/init.d/irda script to start the irda daemon
|
||
- chkconfig'ize /etc/rc.d/init.d/irda
|
||
|
||
* Fri Sep 17 1999 Cristian Gafton <gafton@redhat.com>
|
||
- build for RH 6.1
|
||
- add patch to make the damn package compile without any IrDA installed.
|