Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcb1603bcd | ||
|
|
89c2209cac | ||
|
|
8d971ae961 | ||
|
|
1cfd150d69 |
4 changed files with 22 additions and 23 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: irda-utils
|
||||
# $Id: Makefile,v 1.1 2004/09/09 06:22:17 cvsdist Exp $
|
||||
NAME := irda-utils
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
15
irda-utils-0.9.18-root.patch
Normal file
15
irda-utils-0.9.18-root.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--- irda-utils-0.9.18/etc/install-etc.root 2006-07-11 00:16:06.000000000 -0600
|
||||
+++ irda-utils-0.9.18/etc/install-etc 2009-10-20 10:11:39.691877856 -0600
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Only install on SYSV for now
|
||||
-if [ -d /etc/sysconfig/ ]; then
|
||||
+if [ -d $ROOT/etc/sysconfig/ ]; then
|
||||
install -D irda.sysconfig $ROOT/etc/sysconfig/irda
|
||||
install -D ifcfg-irlan0 $ROOT/etc/sysconfig/network-scripts/ifcfg-irlan0
|
||||
fi
|
||||
-if [ -d /etc/rc.d/init.d ]; then
|
||||
+if [ -d $ROOT/etc/rc.d/init.d ]; then
|
||||
install -D irda.rc $ROOT/etc/rc.d/init.d/irda
|
||||
fi
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Utilities for infrared communication between devices
|
||||
Name: irda-utils
|
||||
Version: 0.9.18
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Url: http://irda.sourceforge.net/
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
|
|
@ -22,6 +22,7 @@ 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
|
||||
Patch11: irda-utils-0.9.18-root.patch
|
||||
|
||||
%description
|
||||
IrDA(TM) (Infrared Data Association) is an industry standard for
|
||||
|
|
@ -52,6 +53,7 @@ actually implemented outside the kernel.
|
|||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
|
||||
%build
|
||||
make all RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ROOT="$RPM_BUILD_ROOT" \
|
||||
|
|
@ -60,7 +62,7 @@ make all RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ROOT="$RPM_BUILD_ROOT" \
|
|||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT/%{_initddir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig
|
||||
|
||||
make install ROOT="$RPM_BUILD_ROOT" MANDIR="$RPM_BUILD_ROOT/%{_mandir}"
|
||||
chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/irda
|
||||
|
|
@ -96,6 +98,9 @@ fi
|
|||
%doc tekram/README.tekram
|
||||
|
||||
%changelog
|
||||
* Tue Oct 20 2009 Orion Poplawski <orion@cora.nwra.com> - 0.9.18-10
|
||||
- Add patch to fix installing of initscript into buildroot
|
||||
|
||||
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.9.18-9
|
||||
- Convert specfile to UTF-8.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue