SPECS: v86d.spec (NEW) - new

qboosh qboosh at pld-linux.org
Sat Jan 26 21:18:37 CET 2008


Author: qboosh                       Date: Sat Jan 26 20:18:37 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   v86d.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/v86d.spec
diff -u /dev/null SPECS/v86d.spec:1.1
--- /dev/null	Sat Jan 26 21:18:37 2008
+++ SPECS/v86d.spec	Sat Jan 26 21:18:31 2008
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	x86emu	# x86emu instead of LRMI/vm86
+#
+%ifnarch %{ix86}
+%define	with_x86emu	1
+%endif
+Summary:	uvesafb userspace helper that runs x86 code in an emulated environment
+Summary(pl.UTF-8):	Program pomocniczy uvesafb uruchamiający kod x86 w emulowanym środowisku
+Name:		v86d
+Version:	0.1.3
+Release:	1
+License:	GPL v2
+Group:		Applications/System
+Source0:	http://dev.gentoo.org/~spock/projects/uvesafb/archive/%{name}-%{version}.tar.bz2
+# Source0-md5:	1c26f40af343bcc465f5832e2c9548d6
+Patch0:		%{name}-system-libs.patch
+URL:		http://dev.gentoo.org/~spock/projects/uvesafb/
+BuildRequires:	linux-libc-headers >= 7:2.6.24
+%if %{with x86emu}
+BuildRequires:	x86emu-devel
+%else
+BuildRequires:	lrmi-devel
+%endif
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+v86d is the userspace helper that runs x86 code in an emulated
+environment, used by uvesafb Linux kernel driver. Currently it
+supports the x86 and x86-64 architectures.
+
+%description -l pl.UTF-8
+v86d to działający w przestrzeni użytkownika program pomocniczy
+uruchamiający kod x86. Jest wykorzystywany przez sterownik jądra
+Linuksa uvesafb. Obecnie obsługuje architektury x86 i x86-64.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+# not ac
+./configure \
+	--with%{!?with_x86emu:out}-x86emu
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}%{!?with_x86emu: -I/usr/include/lrmi}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D v86d $RPM_BUILD_ROOT%{_sbindir}/v86d
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_sbindir}/v86d
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-01-26 20:18:31  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list