]> git.pld-linux.org Git - packages/bttv.git/commitdiff
- started update and conversion to new naming scheme of kernel packages
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 25 Oct 2001 09:07:44 +0000 (09:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bttv.spec -> 1.9

bttv.spec

index e00ce9535729bae3b29a48d276c7a3b23c2b10a5..3aa61860928316f8a2a894821bb27c9a3aa14ca6 100644 (file)
--- a/bttv.spec
+++ b/bttv.spec
@@ -1,7 +1,13 @@
+%define         _kernel_ver %(grep UTS_RELEASE %{_kernelsrcdir}/include/linux/version.h 2>/dev/null | cut -d'"' -f2
+)
+%define         _kernel_ver_str %(echo %{_kernel_ver} | sed s/-/_/g)
+%define         smpstr  %{?_with_smp:-smp}
+%define         smp     %{?_with_smp:1}%{!?_with_smp:0}
+
 Summary:       BrookTree TV tuner driver
 Summary(pl):   Sterownik dla kart TV na chipsecie BrookTree
 Name:          bttv
-Version:       0.7.81
+Version:       0.7.83
 Release:       1
 License:       GPL
 Group:         Base/Kernel
@@ -15,6 +21,7 @@ ExclusiveArch:        %{ix86}
 Requires:      kernel(i2c)
 Prereq:                modutils
 BuildRequires: i2c-devel
+BuildConflicts:        kernel-source < 2.2.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,6 +31,26 @@ chips.
 %description -l pl
 Modu³y j±dra dodaj±ce obs³ugê kart TV na uk³adach BrookTree BT 848 i 878.
 
+%package -n kernel%{smpstr}-misc-bttv
+Summary:        Kernel modules for BrookTree TV tuner
+Summary(pl):    Modu³y j±dra do obs³ugi tunerów TV BrookTree
+Group:          Base/Kernel
+Group(de):      Grundsätzlich/Kern
+Group(pl):      Podstawowe/J±dro
+Release:        %{_release}@%{_kernel_ver_str}
+Prereq:         modutils >= 2.4.6-4
+Conflicts:      kernel < %{_kernel_ver}, kernel > %{_kernel_ver}
+Conflicts:      kernel-%{?_with_smp:up}%{!?_with_smp:smp}
+Requires:       %{name} = %{version}
+Obsoletes:      bttv
+
+%description -n kernel%{smpstr}-misc-bttv
+Kernel modules which add support for TV cards based on BrookTree BT 848 and 878
+chips.
+
+%description -l pl -n kernel%{smpstr}-misc-bttv
+Modu³y j±dra dodaj±ce obs³ugê kart TV na uk³adach BrookTree BT 848 i 878.
+
 %prep
 %setup  -q
 %patch0 -p1
@@ -48,7 +75,7 @@ gzip -9nf CARDLIST Changes Insmod-options README* Sound-FAQ Specs
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -n kernel%{smpstr}-misc-bttv
 %defattr(644,root,root,755)
 /lib/modules/*/misc/*
 %doc *.gz
This page took 0.077607 seconds and 4 git commands to generate.