[TH ]lirc - uda³o siê komkolwiek skompilowaæ?

Cezary Krzyzanowski dhubleizh w o2.pl
Sob, 9 Cze 2007, 10:43:11 CEST


Dnia 08-06-2007, Pt o godzinie 22:36 +0200, Przemek Gierski napisał(a):
> Mógłbym prosić o jakąś pomoc?

Znalazłem coś takiego u siebie w katalogu. Nie jestem pewien, czy to
wszystko, bo dawno zmieniałem kernela (więc i lirc-a). Mam nadzieję, że
pomoże.

Cz w rny
P.S.
Zwykle wystarczy się ograniczyć do zbudowania tylko tych sterowników,
które potrzebujesz + lirc_dev.
-------------- nastêpna czê¶æ ---------
# $Revision: 1.137 $, $Date: 2007/03/14 00:22:09 $
# TODO
# - are jpegs in docs (remotes) a good idea?
#
# Conditional build:
%bcond_without	dist_kernel	# without sources of distribution kernel
%bcond_without	kernel		# don't build kernel modules, only library+programs
%bcond_without	up		# don't build UP module
%bcond_without	smp		# don't build SMP module
%bcond_without	userspace	# build only packages with kernel modules
%bcond_without	svga		# without svgalib-based utility
%bcond_without	x		# without X11-based utilitied
#
%define		drivers		"lirc_it87 lirc_serial lirc_atiusb lirc_mceusb lirc_sir lirc_bt829 lirc_i2c lirc_mceusb2 lirc_streamzap lirc_cmdir lirc_igorplugusb lirc_dev lirc_imon lirc_sasem lirc_parallel lirc_gpio"
Summary:	Linux Infrared Remote Control daemons
Summary(pl.UTF-8):	Serwery do zdalnego sterowania Linuksem za pomocÄ… podczerwieni
Name:		lirc
Version:	0.8.1
%define	_rel	1
Release:	%{_rel}
License:	GPL
Group:		Daemons
Source0:	http://dl.sourceforge.net/lirc/%{name}-%{version}.tar.bz2
# Source0-md5:	3a42083fc6c54797351e52c77537c586
Source1:	http://lirc.sourceforge.net/remotes.tar.bz2
# Source1-md5:	34cd3c34ff7e51c9dc976aff3a87a1ab
Source2:	%{name}d.sysconfig
Source3:	%{name}d.init
Source4:	%{name}md.init
Patch0:		%{name}-opt.patch
Patch1:		%{name}-tmp.patch
Patch2:		%{name}-bttv-headers.patch
Patch3:		%{name}-no-svgalib.patch
Patch4:		%{name}-alpha.patch
Patch5:		%{name}-i2c-2.8.x.patch
Patch6:		%{name}-sparc.patch
Patch7:		%{name}-remotes.patch
Patch8:		%{name}-vserver.patch
Patch9:		%{name}-kernel-2.6.20.patch
URL:		http://www.lirc.org/
#%{?with_x:BuildRequires:	xorg-lib-libX11-devel}
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	libtool
%if %{with dist_kernel} && %{with kernel}
BuildRequires:	kernel-headers
BuildRequires:	kernel%{_alt_kernel}-source
%endif
%{?with_kernel:BuildRequires:	%{kgcc_package}}
BuildRequires:	rpmbuild(macros) >= 1.118
%{?with_svga:BuildRequires:	svgalib-devel}
Requires(post,preun):	/sbin/chkconfig
Requires:	%{name}-libs = %{version}-%{release}
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
LIRC is a package that allows you to decode and send infra-red signals
of many (but not all) commonly used remote controls.

%description -l pl.UTF-8
LIRC to program pozwalajÄ…cy na dekodowanie nadchodzÄ…cych oraz
wysyłanie sygnałów w podczerwieni za pomocą wielu (ale nie wszystkich)
popularnych urządzeń do zdalnego sterowania.

%package X11
Summary:	Linux Infrared Remote Control - X11 utilities
Summary(pl.UTF-8):	Zdalne sterowanie Linuksem za pomocą podczerwieni - narzędzia X11
Group:		X11/Applications
Requires:	%{name}-libs = %{version}-%{release}

%description X11
Linux Infrared Remote Control - X11 utilities.

%description X11 -l pl.UTF-8
Zdalne sterowanie Linuksem za pomocą podczerwieni - narzędzia X11.

%package svga
Summary:	Linux Infrared Remote Control - svgalib utilities
Summary(pl.UTF-8):	Zdalne sterowanie Linuksem za pomocą podczerwieni - narzędzia svgalib
Group:		Applications
Requires:	%{name}-libs = %{version}-%{release}

%description svga
Linux Infrared Remote Control - svgalib-based utilities.

%description svga -l pl.UTF-8
Zdalne sterowanie Linuksem za pomocą podczerwieni - narzędzia oparte
na svgalibie.

%package libs
Summary:	LIRC libraries
Summary(pl.UTF-8):	Biblioteki LIRC
Group:		Libraries
Conflicts:	lirc < 0.6.3-3
# didn't use /tmp/.lircd

%description libs
This package provides the libraries necessary to run lirc client
programs.

%description libs -l pl.UTF-8
Ten pakiet zawiera biblioteki niezbędne do działania klientów LIRC.

%package devel
Summary:	Header files for LIRC development
Summary(pl.UTF-8):	Pliki nagłówkowe do tworzenia programów z obsługą LIRC
Group:		Development/Libraries
Requires:	%{name}-libs = %{version}-%{release}

%description devel
This package provides the files necessary to develop LIRC-based
programs.

%description devel -l pl.UTF-8
Ten pakiet zawiera pliki niezbędne do tworzenia programów opartych na
LIRC.

%package static
Summary:	Static library for LIRC development
Summary(pl.UTF-8):	Biblioteka statyczna LIRC
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}

%description static
The files necessary for development of statically-linked lirc-based
programs.

%description static -l pl.UTF-8
Pliki potrzebne do tworzenia łączonych statycznie programów opartych
na LIRC.

%package -n kernel%{_alt_kernel}-char-lirc-atiusb
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-char-lirc-atiusb
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_atiusb module.

%description -n kernel%{_alt_kernel}-char-lirc-atiusb -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_atiusb.

%package -n kernel%{_alt_kernel}-char-lirc-bt829
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-char-lirc-bt829
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_bt829 module.

%description -n kernel%{_alt_kernel}-char-lirc-bt829 -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_bt829.

%package -n kernel%{_alt_kernel}-char-lirc-cmdir
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-char-lirc-cmdir
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_cmdir module.

%description -n kernel%{_alt_kernel}-char-lirc-cmdir -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_cmdir.

%package -n kernel%{_alt_kernel}-char-lirc-dev
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-dev

%description -n kernel%{_alt_kernel}-char-lirc-dev
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_dev module.

%description -n kernel%{_alt_kernel}-char-lirc-dev -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_dev.

%package -n kernel%{_alt_kernel}-char-lirc-gpio
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-gpio

%description -n kernel%{_alt_kernel}-char-lirc-gpio
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_gpio module.

%description -n kernel%{_alt_kernel}-char-lirc-gpio -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_gpio.

%package -n kernel%{_alt_kernel}-char-lirc-i2c
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-i2c

%description -n kernel%{_alt_kernel}-char-lirc-i2c
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_i2c module.

%description -n kernel%{_alt_kernel}-char-lirc-i2c -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_i2c.

%package -n kernel%{_alt_kernel}-char-lirc-igorplugusb
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-igorplugusb

%description -n kernel%{_alt_kernel}-char-lirc-igorplugusb
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_igorplugusb module.

%description -n kernel%{_alt_kernel}-char-lirc-igorplugusb -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_igorplugusb.

%package -n kernel%{_alt_kernel}-char-lirc-imon
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-imon

%description -n kernel%{_alt_kernel}-char-lirc-imon
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_imon module.

%description -n kernel%{_alt_kernel}-char-lirc-imon -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_imon.

%package -n kernel%{_alt_kernel}-char-lirc-it87
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-char-lirc-it87
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_it87 module.

%description -n kernel%{_alt_kernel}-char-lirc-it87 -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_it87.

%package -n kernel%{_alt_kernel}-char-lirc-mceusb
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-char-lirc-mceusb
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_mceusb module.

%description -n kernel%{_alt_kernel}-char-lirc-mceusb -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_mceusb.

%package -n kernel%{_alt_kernel}-char-lirc-sasem
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-char-lirc-sasem
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_sasem module.

%description -n kernel%{_alt_kernel}-char-lirc-sasem -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_sasem.

%package -n kernel%{_alt_kernel}-char-lirc-serial
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
%{?with_dist_kernel:Requires:	setserial}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-serial

%description -n kernel%{_alt_kernel}-char-lirc-serial
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_serial module for devices connected to serial port.

%description -n kernel%{_alt_kernel}-char-lirc-serial -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_serial dla urządzeń podłączanych do portu szeregowego.

%package -n kernel%{_alt_kernel}-char-lirc-streamzap
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-streamzap

%description -n kernel%{_alt_kernel}-char-lirc-streamzap
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_streamzap module.

%description -n kernel%{_alt_kernel}-char-lirc-streamzap -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_streamzap.

%package -n kernel%{_alt_kernel}-char-lirc-parallel
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-parallel

%description -n kernel%{_alt_kernel}-char-lirc-parallel
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc-parallel module for devices connected to parallel port.

%description -n kernel%{_alt_kernel}-char-lirc-parallel -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_parallel dla urządzeń podłączanych do portu równoległego.

%package -n kernel%{_alt_kernel}-char-lirc-sir
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-sir

%description -n kernel%{_alt_kernel}-char-lirc-sir
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_sir module.

%description -n kernel%{_alt_kernel}-char-lirc-sir -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_sir.

%package -n kernel%{_alt_kernel}-smp-char-lirc-atiusb
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-smp-char-lirc-atiusb
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_atiusb module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-atiusb -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_atiusb.

%package -n kernel%{_alt_kernel}-smp-char-lirc-bt829
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-smp-char-lirc-bt829
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_bt829 module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-bt829 -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_bt829.

%package -n kernel%{_alt_kernel}-smp-char-lirc-cmdir
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-smp-char-lirc-cmdir
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_cmdir module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-cmdir -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_cmdir.

%package -n kernel%{_alt_kernel}-smp-char-lirc-dev
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-dev

%description -n kernel%{_alt_kernel}-smp-char-lirc-dev
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_dev module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-dev -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_dev.

%package -n kernel%{_alt_kernel}-smp-char-lirc-gpio
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-gpio

%description -n kernel%{_alt_kernel}-smp-char-lirc-gpio
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_gpio module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-gpio -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_gpio.

%package -n kernel%{_alt_kernel}-smp-char-lirc-i2c
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-i2c

%description -n kernel%{_alt_kernel}-smp-char-lirc-i2c
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_i2c module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-i2c -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_i2c.

%package -n kernel%{_alt_kernel}-smp-char-lirc-igorplugusb
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-igorplugusb

%description -n kernel%{_alt_kernel}-smp-char-lirc-igorplugusb
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_igorplugusb module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-igorplugusb -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_igorplugusb.

%package -n kernel%{_alt_kernel}-smp-char-lirc-imon
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-imon

%description -n kernel%{_alt_kernel}-smp-char-lirc-imon
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_imon module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-imon -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_imon.

%package -n kernel%{_alt_kernel}-smp-char-lirc-it87
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-smp-char-lirc-it87
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_it87 module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-it87 -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_it87.

%package -n kernel%{_alt_kernel}-smp-char-lirc-mceusb
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-smp-char-lirc-mceusb
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_mceusb module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-mceusb -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_mceusb.

%package -n kernel%{_alt_kernel}-smp-char-lirc-sasem
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3

%description -n kernel%{_alt_kernel}-smp-char-lirc-sasem
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_sasem module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-sasem -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_sasem.

%package -n kernel%{_alt_kernel}-smp-char-lirc-serial
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
%{?with_dist_kernel:Requires:	setserial}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-serial

%description -n kernel%{_alt_kernel}-smp-char-lirc-serial
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_serial module for devices connected to serial port.

%description -n kernel%{_alt_kernel}-smp-char-lirc-serial -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_serial dla urządzeń podłączanych do portu szeregowego.

%package -n kernel%{_alt_kernel}-smp-char-lirc-streamzap
Summary:	Kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Requires:	kernel%{_alt_kernel}-smp-char-lirc-dev = %{version}-%{_rel}@%{_kernel_ver_str}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-streamzap

%description -n kernel%{_alt_kernel}-smp-char-lirc-streamzap
This package contains the kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_streamzap module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-streamzap -l pl.UTF-8
Ten pakiet zawiera moduły jądra niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_streamzap.

%package -n kernel%{_alt_kernel}-smp-char-lirc-parallel
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra SMP dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-parallel

%description -n kernel%{_alt_kernel}-smp-char-lirc-parallel
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc-parallel module for devices connected to parallel port.

%description -n kernel%{_alt_kernel}-char-lirc-parallel -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_parallel dla urządzeń podłączanych do portu równoległego.

%package -n kernel%{_alt_kernel}-smp-char-lirc-sir
Summary:	SMP kernel modules for Linux Infrared Remote Control
Summary(pl.UTF-8):	Moduły jądra dla zdalnej obsługi Linuksa za pomocą podczerwieni
Release:	%{_rel}@%{_kernel_ver_str}
Group:		Base/Kernel
%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun):	/sbin/depmod
Requires:	%{name} = %{version}-%{_rel}
Conflicts:	dev < 2.8.0-3
Obsoletes:	lirc-modules
Obsoletes:	lirc-modules-sir

%description -n kernel%{_alt_kernel}-smp-char-lirc-sir
This package contains the SMP kernel modules necessary to operate some
infrared remote control devices (such as the ones bundled with TV
cards).

lirc_sir module.

%description -n kernel%{_alt_kernel}-smp-char-lirc-sir -l pl.UTF-8
Ten pakiet zawiera moduły jądra SMP niezbędne do obsługi niektórych
pilotów na podczerwień (w tym tych dostarczanych z kartami TV).

Moduł lirc_sir.

%package	remotes
Summary:	Lirc remotes database
Summary(pl.UTF-8):	Baza pilotów obsługiwanych przez lirc
Group:		Documentation
Requires:	%{name} = %{version}-%{_rel}

%description remotes
This package contains configuration files for many remotes supported
by lirc.

%description remotes -l pl.UTF-8
Ten pakiet zawiera pliki konfiguracyjne dla wielu pilotów
obsługiwanych przez lirc.

%prep
echo %{_alt_kernel}
echo %{alt_kernel}
echo %{_kernelsrcdir}
%setup -q -a 1
%patch0 -p1
%patch1 -p1
#%patch2 -p1
%if !%{with svga}
%patch3 -p1
%endif
%patch4 -p1
%if %{with kernel}
if grep -qs 'I2C_VERSION.*"2\.8\.' %{_kernelsrcdir}/include/linux/i2c.h ; then
%patch5 -p0
fi
%endif
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1

%build
echo '#' > drivers/Makefile.am
%{__libtoolize}
%{__aclocal}
%{__automake}
%{__autoheader}
%{__autoconf}

%configure \
	ac_cv_header_portaudio_h=no \
	--with-kerneldir=%{_kernelsrcdir} \
	%{?with_x:--with-x} \
	--with-port=0x2f8 \
	--with-irq=3 \
	--without-soft-carrier \
	--with-driver=userspace \
	--with-igor

%{?with_userspace:%{__make}}

%if %{with kernel}
cd drivers

for cfg in %{?with_dist_kernel:%{?with_smp:smp}}%{!?with_dist_kernel:nondist}; do
	drivers=%{drivers}
	rm -rf o
	if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
		exit 1
	fi
	install -d o/include/{linux,config}
	ln -sf %{_kernelsrcdir}/config-$cfg o/.config
	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
	[ ! -L o/include/asm ] && ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} o/include/asm
	ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
	%if %{without dist_kernel}
		touch o/include/config/MARKER
		ln -sf %{_kernelsrcdir}/scripts o/
	%else
		%{__make} -j1 -C %{_kernelsrcdir} O=$PWD/o prepare scripts
	%endif
	for drv in $drivers; do
		cd $drv
		if [ "$drv" == "lirc_parallel" ] && [ "$cfg" == "smp" ]; then
			echo "lirc_parallel is not smp safe"
		else
			ln -sf ../o
			%{__make} clean \
				RCS_FIND_IGNORE="-name '*.ko' -o" \
				M=$PWD O=$PWD/o \
				%{?with_verbose:V=1}
			%{__make} \
				M=$PWD O=$PWD/o \
				%{?with_verbose:V=1}
			mv $drv{,-$cfg}.ko
		fi
		cd ..
	done
done
cd ..

%endif

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_aclocaldir},/dev,/var/log} \
	$RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}

%if %{with kernel}
drivers=%{drivers}
install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
for drv in $drivers; do
	%if %{with smp} && %{with dist_kernel}
		if [ ! "$drv" == "lirc_parallel" ]; then
			install drivers/$drv/$drv-smp.ko \
				$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/$drv.ko
		fi
	%endif
done
%endif

%if %{with userspace}
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT \
	sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}

cat>$RPM_BUILD_ROOT%{_sysconfdir}/lircd.conf<<END
#
# This is a placeholder for your configuration file.
# See %{_docdir}/%{name}-%{version}/remotes for some examples.
#
END
cp -f $RPM_BUILD_ROOT%{_sysconfdir}/lirc{,m}d.conf
install contrib/*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
:> $RPM_BUILD_ROOT/var/log/lircd

install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/lircd
install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/lircd
install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/lircmd
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%post	libs -p /sbin/ldconfig
%postun	libs -p /sbin/ldconfig

%post
/sbin/chkconfig --add lircd
if [ -f /var/lock/subsys/lircd ]; then
	/etc/rc.d/init.d/lircd restart >&2
else
	echo "Run \"/etc/rc.d/init.d/lircd start\" to start lircd." >&2
fi
/sbin/chkconfig --add lircmd
if [ -f /var/lock/subsys/lircmd ]; then
	/etc/rc.d/init.d/lircmd restart >&2
else
	echo "Run \"/etc/rc.d/init.d/lircmd start\" to start lircmd." >&2
fi
echo "If you are using a kernel-module-based driver, don't forget to"
echo "install the kernel%{_alt_kernel}-char-lirc-<your_driver> or"
echo "kernel%{_alt_kernel}-smp-char-lirc-<your_driver> package."

%preun
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/lircd ]; then
		/etc/rc.d/init.d/lircd stop >&2
	fi
	/sbin/chkconfig --del lircd
fi
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/lircmd ]; then
		/etc/rc.d/init.d/lircmd stop >&2
	fi
	/sbin/chkconfig --del lircmd
fi

%post	-n kernel%{_alt_kernel}-char-lirc-atiusb
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_atiusb' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-atiusb
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-bt829
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_bt829' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-bt829
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-cmdir
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_cmdir' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-cmdir
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-dev
%depmod %{_kernel_ver}

%postun	-n kernel%{_alt_kernel}-char-lirc-dev
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-gpio
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_gpio' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-gpio
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-i2c
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_i2c' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-i2c
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-igorplugusb
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_igorplugusb' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-igorplugusb
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-imon
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_imon' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-imon
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-it87
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_it87' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-it87
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-mceusb
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_mceusb' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-mceusb
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-sasem
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_sasem' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-sasem
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-serial
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_serial' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-serial
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-streamzap
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_streamzap' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-streamzap
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-parallel
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_parallel' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-parallel
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-char-lirc-sir
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_sir' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-char-lirc-sir
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-atiusb
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_atiusb' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-atiusb
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-bt829
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_bt829' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-bt829
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-cmdir
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_cmdir' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-cmdir
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-dev
%depmod %{_kernel_ver}smp

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-dev
%depmod %{_kernel_ver}smp

%post	-n kernel%{_alt_kernel}-smp-char-lirc-gpio
%depmod %{_kernel_ver}smp
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_gpio' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-gpio
%depmod %{_kernel_ver}smp

%post	-n kernel%{_alt_kernel}-smp-char-lirc-i2c
%depmod %{_kernel_ver}smp
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_i2c' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-i2c
%depmod %{_kernel_ver}smp

%post	-n kernel%{_alt_kernel}-smp-char-lirc-igorplugusb
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_igorplugusb' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-igorplugusb
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-imon
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_imon' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-imon
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-it87
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_it87' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-it87
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-mceusb
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_mceusb' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-mceusb
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-sasem
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_sasem' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-sasem
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-serial
%depmod %{_kernel_ver}smp
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_serial' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-serial
%depmod %{_kernel_ver}smp

%post	-n kernel%{_alt_kernel}-smp-char-lirc-streamzap
%depmod %{_kernel_ver}
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_streamzap' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-streamzap
%depmod %{_kernel_ver}

%post	-n kernel%{_alt_kernel}-smp-char-lirc-parallel
%depmod %{_kernel_ver}smp
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_parallel' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-parallel
%depmod %{_kernel_ver}smp

%post	-n kernel%{_alt_kernel}-smp-char-lirc-sir
%depmod %{_kernel_ver}smp
if [ "$1" = "1" ]; then
	echo "Don't forget to add an 'alias lirc lirc_sir' line"
	echo "to your /etc/modules.conf."
fi

%postun	-n kernel%{_alt_kernel}-smp-char-lirc-sir
%depmod %{_kernel_ver}smp

%if %{with userspace}
%files
%defattr(644,root,root,755)
%doc ANNOUNCE AUTHORS NEWS README TODO ChangeLog
%doc contrib/lircrc doc/{html,images,lirc.css}
%attr(755,root,root) %{_bindir}/ir[!x]*
%attr(755,root,root) %{_bindir}/mode2
%attr(755,root,root) %{_bindir}/lircrcd
%attr(755,root,root) %{_sbindir}/*
%attr(754,root,root) /etc/rc.d/init.d/*
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
%config(noreplace) %{_sysconfdir}/*.conf
%{_mandir}/man1/ir[!x]*
%{_mandir}/man1/[!isx]*
%{_mandir}/man8/*
%ghost %attr(600,root,root) /var/log/lircd

%files remotes
%defattr(644,root,root,755)
# XXX: are jpegs in docs (remotes) a good idea?
%doc remotes

%if %{with x}
%files X11
%defattr(644,root,root,755)
%doc doc/irxevent.keys
%attr(755,root,root) %{_bindir}/irxevent
%attr(755,root,root) %{_bindir}/xmode2
%{_mandir}/man1/irxevent.1*
%{_mandir}/man1/xmode2.1*
%endif

%if %{with svga}
%files svga
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/smode2
%{_mandir}/man1/smode2.1*
%endif

%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*

%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/*.so
%{_libdir}/*.la
%{_includedir}/lirc
%{_aclocaldir}/*.m4

%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
%endif

%if %{with kernel}
%if %{with up} || %{without dist_kernel}
%files -n kernel%{_alt_kernel}-char-lirc-atiusb
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_atiusb*

%files -n kernel%{_alt_kernel}-char-lirc-bt829
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_bt829*

%files -n kernel%{_alt_kernel}-char-lirc-cmdir
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_cmdir*

%files -n kernel%{_alt_kernel}-char-lirc-dev
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_dev*

%files -n kernel%{_alt_kernel}-char-lirc-gpio
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_gpio*

%files -n kernel%{_alt_kernel}-char-lirc-i2c
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_i2c*

%files -n kernel%{_alt_kernel}-char-lirc-igorplugusb
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_igorplugusb*

%files -n kernel%{_alt_kernel}-char-lirc-imon
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_imon*

%files -n kernel%{_alt_kernel}-char-lirc-it87
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_it87*

%files -n kernel%{_alt_kernel}-char-lirc-mceusb
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_mceusb*

%files -n kernel%{_alt_kernel}-char-lirc-sasem
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_sasem*

%files -n kernel%{_alt_kernel}-char-lirc-serial
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_serial*

%files -n kernel%{_alt_kernel}-char-lirc-streamzap
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_streamzap*

%files -n kernel%{_alt_kernel}-char-lirc-parallel
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_parallel*

%files -n kernel%{_alt_kernel}-char-lirc-sir
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/*/lirc_sir*
%endif

%if %{with smp}
%files -n kernel%{_alt_kernel}-smp-char-lirc-atiusb
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_atiusb*

%files -n kernel%{_alt_kernel}-smp-char-lirc-bt829
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_bt829*

%files -n kernel%{_alt_kernel}-smp-char-lirc-cmdir
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_cmdir*

%files -n kernel%{_alt_kernel}-smp-char-lirc-dev
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_dev*

%files -n kernel%{_alt_kernel}-smp-char-lirc-gpio
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_gpio*

%files -n kernel%{_alt_kernel}-smp-char-lirc-i2c
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_i2c*

%files -n kernel%{_alt_kernel}-smp-char-lirc-igorplugusb
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_igorplugusb*

%files -n kernel%{_alt_kernel}-smp-char-lirc-imon
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_imon*

%files -n kernel%{_alt_kernel}-smp-char-lirc-it87
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_it87*

%files -n kernel%{_alt_kernel}-smp-char-lirc-mceusb
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_mceusb*

%files -n kernel%{_alt_kernel}-smp-char-lirc-sasem
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_sasem*

%files -n kernel%{_alt_kernel}-smp-char-lirc-serial
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_serial*

%files -n kernel%{_alt_kernel}-smp-char-lirc-streamzap
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_streamzap*

# currently not SMP-safe
%if 0
%files -n kernel%{_alt_kernel}-smp-char-lirc-parallel
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_parallel*
%endif

%files -n kernel%{_alt_kernel}-smp-char-lirc-sir
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/*/lirc_sir*
%endif
%endif

%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: lirc.spec,v $
Revision 1.137  2007/03/14 00:22:09  glen
- up bcond

Revision 1.136  2007/02/23 06:49:28  sls
- added kernel-2.6.20.patch

Revision 1.135  2007/02/23 05:59:22  sls
- source1 md5 update
- rel. 1

Revision 1.134  2007/02/23 05:32:03  sls
- ver. 0.8.1
- removed obsolete patches: kernel-2.6.1{6,7}

Revision 1.133  2007/02/23 05:14:52  sls
- fixed req in kernel-smp-char-lirc-dev

Revision 1.132  2007/02/23 05:08:51  sls
- typo

Revision 1.131  2007/02/13 06:46:52  glen
- tabs in preamble

Revision 1.130  2007/02/12 00:49:06  baggins
- converted to UTF-8

Revision 1.129  2006/11/13 15:00:11  sparky
- don't use %{without ...}, it may not work after inverting bcond

Revision 1.128  2006/10/12 22:40:25  czarny
- %{_alt_kernel} support

Revision 1.127  2006/09/06 13:48:33  sparky
- mass atack: -j1 for make scripts

Revision 1.126  2006/06/03 09:41:24  teodor
- added patch9 which fix error with compilation on 2.6.16 kernel
- patch10: fixing problem with using lirc on kernel-vserver

Revision 1.125  2006/04/20 07:07:29  teodor
- patch for spec and lirc-remotes.patch made by
  Tomasz Narloch <eyev(at)poczta dot fm>
- enabled support for Igor Cesko receiver

Revision 1.124  2006/02/13 09:54:26  pluto
- xorg modular deps.

Revision 1.123  2006/02/05 22:03:22  luzik
 - updated to 0.8.0

Revision 1.122  2006/01/24 12:50:10  qboosh
- desc cosmetics, pl fixes

Revision 1.121  2006/01/18 15:57:25  kolodko
- Rel is pre (please don't break Relase)

Revision 1.120  2006/01/04 07:37:54  luzik
- rel 1 - STBR for testing

Revision 1.119  2006/01/03 08:52:39  luzik
- fixed with-smp %files
- removed 2.4. modutiles req
- rel 0.9 (working fine for me)

Revision 1.118  2006/01/02 14:21:11  luzik
- added kernel-source BR (some bttv .h files???)

Revision 1.117  2006/01/02 14:10:46  luzik
- fixed md5

Revision 1.116  2006/01/02 13:59:04  luzik
- removed outdated patch7

Revision 1.115  2006/01/02 13:44:55  luzik
- updated to 0.8pre3
- no more kernel-2.4.x support
- not tested

Revision 1.114  2005/12/29 14:52:05  pluto
- updated to 0.7.2 (kernel 2.4 modules not tested).

Revision 1.113  2005/12/13 11:54:17  glen
- adalterized (sorted %verify flags)

Revision 1.112  2005/04/23 13:09:04  qboosh
- disable portaudio support (not BRed, expects some obsolete version)

Revision 1.111  2005/04/21 17:25:28  qboosh
- puzzle.dl is not browsable

Revision 1.110  2005/04/21 14:42:49  kolodko
- md5 remotes

Revision 1.109  2005/04/21 14:33:13  kolodko
- up to 0.7.1
- rel 0.1

Revision 1.108  2005/04/17 23:57:25  ankry
- cosmetic

Revision 1.107  2005/02/03 17:33:57  qboosh
- use kernel24-i2c-devel dep
- TODO: check i2c patch with i2c 2.9.0 (to be removed?)

Revision 1.106  2005/02/03 17:09:40  kolodko
- rel 1
- drop devfs.patch

Revision 1.105  2005/01/25 18:45:48  kolodko
- s/kernel/kernel24/
- R: kernel24-char-lirc-dev for serial driver

Revision 1.104  2005/01/25 15:10:16  kolodko
- typo

Revision 1.103  2005/01/25 11:44:52  kolodko
- up source1 md5

Revision 1.102  2004/12/06 09:35:22  qboosh
- formatting (tw=70)

Revision 1.101  2004/12/06 07:43:37  ankry
- spaces -> tabs, pl

Revision 1.100  2004/12/05 18:44:51  kolodko
- moved remotes to subpackage

Revision 1.99  2004/11/21 00:15:20  qboosh
- added bttv-headers patch, kernel-source no longer needed
- dropped kernel 2.2 compat

Revision 1.98  2004/11/10 02:04:38  ankry
- more spaces -> tabs

Revision 1.97  2004/11/10 01:47:03  kolodko
- s/spaces/tabs/
- fixed my typo

Revision 1.96  2004/11/10 00:37:19  kolodko
- and one more clean

Revision 1.95  2004/11/10 00:28:15  kolodko
- clean
- i don't now what about devfs.patch

Revision 1.94  2004/11/09 21:47:01  kolodko
- added modules: atiusb, bt829, it87, mceusb, sasem

Revision 1.93  2004/11/09 00:16:18  kolodko
- just up md5 for 0.7.0

Revision 1.92  2004/11/07 16:12:42  kolodko
- up to pre8
- needs work (some new drivers)
- NFY, not tested, but build on ix86 (needs update patches)

Revision 1.91  2004/11/07 13:37:59  kolodko
- s/kernel/kernel24/

Revision 1.90  2004/10/30 11:08:05  qboosh
- remote control -> zdalne sterowanie

Revision 1.89  2004/10/15 21:13:50  qboosh
- more release fixes

Revision 1.88  2004/09/27 21:47:14  marcus
- updated to 0.7.0pre7
- nfy (ac/am need fixing but I don't know how do it)

Revision 1.87  2004/09/18 01:24:00  kolodko
- if with_dist_kernel then R setserial

Revision 1.86  2004/08/22 21:41:29  kolodko
- up remotes
- rel 8

Revision 1.85  2004/06/27 17:12:16  qboosh
- now we have svgalib on all supported archs

Revision 1.84  2004/03/02 02:10:40  ankry
- rel. 7 (6 is for ra)

Revision 1.83  2004/02/20 02:37:11  ankry
- rel. 5; 4 is for ra

Revision 1.82  2004/01/19 20:38:10  qboosh
- updated i2c BR for kernel modules

Revision 1.81  2003/12/30 03:52:18  qboosh
- added am18 patch, release 3

Revision 1.80  2003/11/16 17:43:26  krzak
- fixed _kernel24 definition

Revision 1.79  2003/11/10 16:57:19  qboosh
- added sparc patch, run autoheader

Revision 1.78  2003/11/10 15:49:17  qboosh
- new-style bconds; s/without_modules/without_kernel/; added without_userspace
- build smode2 utility (x86 and alpha only, with bcond)
- some cleanups, moved manuals to proper packages, don't include junk in docs
- for i2c patch detect i2c version instead of using dist_kernel bcond
- rel 2

Revision 1.77  2003/10/18 22:19:02  saq
- a fix to build under I2C 2.8.0
- STBR for Ac

Revision 1.76  2003/08/18 08:08:18  gotar
- mass commit: cosmetics (removed trailing white spaces)

Revision 1.75  2003/07/10 13:47:19  trojan
- added using depmod macro

Revision 1.74  2003/07/02 12:45:33  cieciwa
- typo

Revision 1.73  2003/07/02 12:03:11  cieciwa
- added --without x bcond

Revision 1.72  2003/05/25 11:00:54  malekith
- massive attack, adding Source-md5

Revision 1.71  2003/05/25 05:50:13  misi3k
- massive attack s/pld.org.pl/pld-linux.org/

Revision 1.70  2003/05/16 09:49:41  qboosh
- killed x11bindir

Revision 1.69  2003/05/16 09:28:06  qboosh
- added _without_modules bcond

Revision 1.68  2003/05/16 08:53:05  trojan
- fixed depmod in %post and %postun when build with _without_dist_kernel

Revision 1.67  2003/05/14 14:42:44  qboosh
- added depmod options so modules can be installed for kernel other than running

Revision 1.66  2003/03/24 07:29:49  kloczek
- release 1.

Revision 1.65  2003/03/02 18:35:28  pawel
- updated to 0.6.6
- added makpc patch
- added udp patch

Revision 1.64  2003/02/16 15:41:26  blues
- release 15 - updated remotes URL, rebuild with "little" extended new
  version of them...

Revision 1.63  2003/02/16 15:36:23  blues
- remotes definitions are back... no need to compress them manually

Revision 1.62  2003/02/01 21:32:12  radek
- updated Source0 URL

Revision 1.61  2002/12/07 14:33:21  ankry
- fix improper usage of %{_sysconfdir}

Revision 1.60  2002/11/25 14:17:12  ankry
- massive attack: no need for 755 for *.la

Revision 1.59  2002/11/17 19:43:25  kloczek
- release 14: rebuild against kernel 2.2.22-6.

Revision 1.58  2002/11/02 11:33:10  ankry
- rel. 13 (rebuild against kernel 2.2.22-4)

Revision 1.57  2002/10/12 12:58:05  marcus
- rel.12 (for kernel 2.2.22-3)

Revision 1.56  2002/10/09 13:14:39  kloczek
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc

Revision 1.55  2002/10/01 15:38:07  kloczek
- release 11: rebuild against kernel 2.2.22.

Revision 1.54  2002/09/13 20:28:57  ggodlewski
- release 10 - fix for mknod in rc script

Revision 1.53  2002/08/29 15:13:14  qboosh
- fixed build on alpha, fixed doc, added missing manuals, release 9

Revision 1.52  2002/08/18 17:37:10  kloczek
- release 8: rebuild against kernel 2.2.21.

Revision 1.51  2002/08/01 09:46:51  marcus
- fixed %doc

Revision 1.50  2002/08/01 01:16:00  undefine
- Requires: dev >= 2.8.0-3 change to Conflicts: dev < 2.8.0-3 to allow use
  on devfs
- release 8

Revision 1.49  2002/07/31 08:04:11  kloczek
- release 7.

Revision 1.48  2002/07/03 09:24:05  wolf
- spelling

Revision 1.47  2002/06/29 14:19:51  kloczek
- release 6: use new %doc.

Revision 1.46  2002/06/23 20:32:32  kloczek
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"

Revision 1.45  2002/05/29 22:08:27  misiek
- requires->conflicts

Revision 1.44  2002/05/21 23:14:04  kloczek
- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
             s/^automake -a -c -f/\%\{__automake\}/; \
     s/^autoconf/\%\{__autoconf\}/"

Revision 1.43  2002/04/12 13:14:14  qboosh
- release 5: rebuild without *.la in -static

Revision 1.42  2002/03/25 09:19:26  mis
- removed *.la from static subpkg

Revision 1.41  2002/03/24 23:28:21  kloczek
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"

Revision 1.40  2002/03/23 06:12:23  kloczek
- release 4: rebuild.

Revision 1.39  2002/03/15 08:46:14  misiek
- don't even try to find svgalib; release 3

Revision 1.38  2002/03/13 13:37:12  mis
- kernel-smp-char-lirc-sir: /sbindepmod -> /sbin/depmod; rel 2

Revision 1.37  2002/03/07 07:47:26  marcus
- rel.1.

Revision 1.36  2002/03/05 12:09:16  marcus
- typo

Revision 1.35  2002/03/05 10:28:30  marcus
- use new macros
- rel.0.11

Revision 1.34  2002/02/26 18:57:37  qboosh
- use requires_releq_kernel_{up,smp}, kgcc{,_package} macros
- autodetect kernel 2.4 headers
- release 0.10

Revision 1.33  2002/02/22 23:29:13  kloczek
- removed all Group fields translations (oure rpm now can handle translating
  Group field using gettext).

Revision 1.32  2002/02/17 03:57:52  kloczek
- adapterized.

Revision 1.31  2002/02/16 13:11:18  aflinta
- release 0.9, spinlock.patch seems to be obsolete, but needs testing

Revision 1.30  2002/02/15 21:17:43  aflinta
- updated to version 0.6.5, but spinlock.patch is not ready yet

Revision 1.29  2002/02/03 20:54:32  ankry
- adding es/pt/pt_BR Group translations

Revision 1.28  2002/01/27 20:36:50  saq
- build SMP and UP version in one pass
- when using a dist kernel, require the proper version
- back to kgcc, that's what we build kernel with

Revision 1.27  2002/01/27 18:15:06  filon
- s/kgcc/%{__cc}/ (kgcc doesn't support all archs supprted by gcc3)
- release 3

Revision 1.26  2002/01/18 02:13:44  kloczek
- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.25  2001/11/20 14:48:31  saq
- reversed the --with kernel_2_2 condition and renamed to --with kernel_2_4

Revision 1.24  2001/11/14 08:37:33  filon
- changed option no_dist_kernel to _without_dist_kernel
- make conflicat for version of kernel not equal to compilation-time
  disabled by _without_dist_kernel (the same in other specs)
  (it is not needed if I have only non-dist kernel, but it is not
  rare situation to have many kernels, incuding one from distro)

Revision 1.23  2001/11/11 00:55:19  misiek
- support for PixelView BT878P FM(NICAM) in gpio driver

Revision 1.22  2001/10/24 21:06:33  misiek
- another method for choosing drivers for 2.2 or 2.4

Revision 1.21  2001/10/24 20:41:45  misiek
- fixes for conditional build

Revision 1.20  2001/10/24 20:30:17  misiek
- added bcond for 2.2 kernel

Revision 1.19  2001/10/19 23:29:00  aflinta
- modified bcond for building without distribution kernel

Revision 1.18  2001/09/19 21:45:51  saq
- removed %{_smpstr} from @... suffix
- s/-/_/g in @... suffix

Revision 1.17  2001/09/19 17:08:34  saq
- new kernel module naming scheme (kernel{,-smp}-*)
- UP and SMP versions still not built from one rpm -bb -- filename
  conflict
- use lircd.sysconfig instead of lirc.sysconfig
- no more weird config file handling, make the user configure it themself
  (examples in %{_docdir}/%{name}-%{version})
- simplified example gzipping rule
- lirc_gpio and lirc_i2c depend on lirc_dev
- no module aliasing at lirc_dev (it's not used directly)
- s/char-major-61/lirc/

Revision 1.16  2001/09/19 11:38:32  aflinta
- added %{!?no_dist_kernel: condition to buildrequires

Revision 1.15  2001/09/09 13:20:11  saq
- don't allow modules to fail building
- adapterized

Revision 1.14  2001/09/07 02:27:06  blues
- 0.6.4
- removed outdated patches
- modules separated into own packages - now you can have self-made kernels
  without i.e. i2c and none unresolved_symbol
- release moved to define - needed because of awfull release expansion
  (many times kernel vesion repeated)
- lirc-modules added to obsoletes
- modified post
- one doc added and one removed

Revision 1.13  2001/08/24 22:40:45  saq
- s/install -m644/cp/
- adapterized

Revision 1.12  2001/08/23 16:50:03  filon
- added remotes.tar.gz - configurations of about 400 remotes
- created package lirc-remotes
- cosmetics

Revision 1.11  2001/08/15 20:25:43  saq
- using %_kernelsrcdir
- use devfs.patch
- modules-{smp,up} subpackage renamed to modules
- cleanups in rpm scripts
- release 3
- STB

Revision 1.10  2001/08/09 20:27:46  saq
- changes in the build process: conditional SMP build, don't use kernel's
  Makefiles
- modules go to a subpackage (lirc-modules-%smpstr)

Revision 1.9  2001/08/07 16:24:17  saq
- subpackages don't get @... in release
- use /tmp/.lircd instead of /dev/lircd
- minor fixes in the build process
- NFY

Revision 1.8  2001/07/31 07:02:53  saq
- removed /dev/lircm (/dev/lircd to go)

Revision 1.7  2001/07/26 16:50:25  saq
- don't use macros not available in standard rpm. Define them in the spec.
  (_kernel_ver, _kernel24)

Revision 1.6  2001/07/26 05:42:10  saq
- reverting last change: removing new macros from %p{re,ost}{,un}

Revision 1.4  2001/07/24 13:54:12  saq
- always apply spinlock.patch
- release 2

Revision 1.3  2001/07/23 22:22:52  saq
A group commit:
- %define _kernel_ver and _kernel24 removed (already in rpm.macros)
- kernel modules get a @%{_kernel_ver} release suffix and conflict wrong
  kernel version
- other packages get a @%{_kernel_series} release suffix and conflict
  wrong kernel series
- need a rebuilt RPM to build these

Revision 1.2  2001/07/21 16:34:18  saq
- rewritten from scratch, now supports various drivers
- STB


Wiêcej informacji o li¶cie dyskusyjnej pld-users-pl