Author: thl
Update of /cvs/free/rpms/kqemu-kmod/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11494
Modified Files:
.cvsignore sources
Added Files:
kqemu-kmod.spec kqemu-kmodtool-excludekernel-filterfile
Log Message:
import from livna
--- NEW FILE kqemu-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
Name: kqemu-kmod
Version: 1.3.0
Release: 0.42%{?dist}.1
Summary: The QEMU Accelerator Module (KQEMU)
Group: System Environment/Kernel
License: GPLv2
URL:
http://fabrice.bellard.free.fr/qemu
Source0:
http://bellard.org/qemu/kqemu-%{version}pre11.tar.gz
Source11: kqemu-kmodtool-excludekernel-filterfile
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExclusiveArch: i586 i686 x86_64
# 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}
--filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels
"%{?kernels}"} 2>/dev/null) }
%description
The QEMU Accelerator Module increases the speed of QEMU when a PC is
emulated on a PC. It runs most of the target application code directly
on the host processor to achieve near native performance.
%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} --filterfile
%{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels
"%{?kernels}"} 2>/dev/null
%setup -q -c -T -a 0
for kernel_version in %{?kernel_versions} ; do
cp -a kqemu-%{version}pre11 _kmod_build_${kernel_version%%___*}
done
%build
for kernel_version in %{?kernel_versions} ; do
pushd _kmod_build_${kernel_version%%___*}
./configure \
--libdir=%{_libdir} \
--extra-cflags="$RPM_OPT_FLAGS" \
--kernel-path="${kernel_version##*___}"
KERNELRELEASE="${kernel_version%%___*}"
# jobserver unavailable
make
popd
done
%install
rm -rf $RPM_BUILD_ROOT
for kernel_version in %{?kernel_versions} ; do
mkdir -p
$RPM_BUILD_ROOT%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}
pushd _kmod_build_${kernel_version%%___*}
install -D -m 0755 *.ko
$RPM_BUILD_ROOT%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}
popd
done
%{?akmod_install}
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Oct 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.3.0-0.42.1
- rebuild for rpm fusion
* Sun May 04 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.3.0-31
- fix typo
* Sun May 04 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.3.0-30
- build for f9
* Sat Jan 26 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.3.0-7
- rebuild for new kmodtools, akmod adjustments
* Wed Jan 09 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.3.0-0.6.pre11
- Integrate patch for 2.6.24
- build akmods package
* Mon Jan 7 2008 kwizart < kwizart at
gmail.com > - 1.3.0-0.5.pre11
- Convert to kmod2
* Mon Jan 7 2008 kwizart < kwizart at
gmail.com > - 1.3.0-0.4.pre11
- Fix ExclusiveArch: i586 i686 x86_64
- install the module with the right perms
* Sat Jan 5 2008 kwizart < kwizart at
gmail.com > - 1.3.0-0.3.pre11
- Some more cleans
- Add ExclusiveArch: i386 x86_64
* Fri Nov 2 2007 kwizart < kwizart at
gmail.com > - 1.3.0-0.2.pre11
- Clean for rpmfusion merge
* Fri Feb 09 2007 kwizart < kwizart at
gmail.com > - 1.3.0-0.1.pre11
- Initial GPL Release.
--- NEW FILE kqemu-kmodtool-excludekernel-filterfile ---
xen$
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/kqemu-kmod/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 3 Oct 2008 12:00:02 -0000 1.1
+++ .cvsignore 4 Oct 2008 12:44:55 -0000 1.2
@@ -0,0 +1 @@
+kqemu-1.3.0pre11.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/kqemu-kmod/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 3 Oct 2008 12:00:02 -0000 1.1
+++ sources 4 Oct 2008 12:44:55 -0000 1.2
@@ -0,0 +1 @@
+970521874ef8b1ba4598925ace5936c3 kqemu-1.3.0pre11.tar.gz