rpms/gspca-kmod/F-8 gspca-kmod.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thorsten Leemhuis thl at rpmfusion.org
Fri Oct 3 15:36:17 CEST 2008


Author: thl

Update of /cvs/free/rpms/gspca-kmod/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30966

Modified Files:
	.cvsignore sources 
Added Files:
	gspca-kmod.spec 
Log Message:
import from F-9 branch


--- NEW FILE gspca-kmod.spec ---
# buildforkernels macro hint: when you build a new version or a new release
# that contains bugfixes or other improvements then you must disable the
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
%define buildforkernels newest

%define tarball_name gspcav1-20071224

Name:           gspca-kmod
Version:        1.00.20
Release:        30%{?dist}.1
Summary:        gspca Webcam Kernel Module
Group:          System Environment/Kernel
License:        GPLv2+
URL:            http://mxhaard.free.fr/download.html
Source0:        http://mxhaard.free.fr/spca50x/Download/%{tarball_name}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# needed for plague to make sure it builds for i586 and i686
ExclusiveArch:  i586 i686 x86_64 ppc64
# ppc disabled by knurd on 20081003 as it is known to fail on 2.6.26: 
# https://bugzilla.redhat.com/show_bug.cgi?id=464613

# get the needed BuildRequires (in parts depending on what we build for)
BuildRequires:  %{_bindir}/kmodtool
%{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }
# kmodtool does its magic here
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }

%description
This RPM contains the gspca binary Linux kernel module build for %{kernel}. It 
provides support for up to 260 different webcams not included in the default
kernel


%prep
# error out if there was something wrong with kmodtool
%{?kmodtool_check}
# print kmodtool output for debugging purposes:
kmodtool  --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null

# go
%setup -q -c -T -a 0
for kernel_version  in %{?kernel_versions}; do
    cp -a %{tarball_name} _kmod_build_${kernel_version%%___*}
done


%build
for kernel_version in %{?kernel_versions}; do
    make V=1 -C "${kernel_version##*___}" SUBDIRS=${PWD}/_kmod_build_${kernel_version%%___*}
done


%install
rm -rf $RPM_BUILD_ROOT
for kernel_version in %{?kernel_versions}; do
    install -D -m 755 _kmod_build_${kernel_version%%___*}/gspca.ko $RPM_BUILD_ROOT%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/gspca.ko
done

%{?akmod_install}


%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Thu Oct 02 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.20-30
- build for rpmfusion
- disable ppc

* Sun May 04 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.20-4
- build for f9

* Sat Jan 26 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.20-3
- rebuild for new kmodtools, akmod adjustments

* Sun Jan 20 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.20-2
- build akmods package

* Thu Dec 27 2007 Jonathan Dieter <jdieter at gmail.com> - 1.00.20-1
- Rebase to upstream

* Thu Dec 20 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.18-7
- rebuilt for 2.6.21-2952.fc8xen 2.6.23.9-85.fc8

* Mon Dec 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.18-6
- remove leftover from old kmodtool
- add dist

* Mon Dec 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.18-5
- rebuilt for 2.6.23.8-63.fc8 2.6.21-2952.fc8xen
- enable debuginfo packages again and build verbosely 

* Sat Nov 10 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.00.18-4
- rebuilt for 2.6.23.1-49.fc8

* Mon Nov  5 2007 Thorsten Leemhuis <fedora [AT] leemhuis.info> - 1.00.18-3
- Fix copy call in prep, as it breaks when building for multiple kernels 
- adjust to recent kmod model in livna devel
- disable debuginfo, as xen build will fail otherwise

* Sun Nov  4 2007 Jonathan Dieter <jdieter at gmail.com> - 1.00.18-2
- Spec file cleanup

* Sun Oct 28 2007 Jonathan Dieter <jdieter at gmail.com> - 1.00.18-1
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/gspca-kmod/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Sep 2008 16:44:58 -0000	1.1
+++ .cvsignore	3 Oct 2008 13:36:17 -0000	1.2
@@ -0,0 +1 @@
+gspcav1-20071224.tar.gz


Index: sources
===================================================================
RCS file: /cvs/free/rpms/gspca-kmod/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Sep 2008 16:44:58 -0000	1.1
+++ sources	3 Oct 2008 13:36:17 -0000	1.2
@@ -0,0 +1 @@
+14853ba1f4edc1e685039fca56e5ebf2  gspcav1-20071224.tar.gz



More information about the rpmfusion-commits mailing list