SPECS: vbetool.spec (NEW) - initial release

maciek2w maciek2w at pld-linux.org
Tue Mar 7 15:49:56 CET 2006


Author: maciek2w                     Date: Tue Mar  7 14:49:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

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

---- Diffs:

================================================================
Index: SPECS/vbetool.spec
diff -u /dev/null SPECS/vbetool.spec:1.1
--- /dev/null	Tue Mar  7 15:49:56 2006
+++ SPECS/vbetool.spec	Tue Mar  7 15:49:51 2006
@@ -0,0 +1,62 @@
+Summary:	vbetool - run real-mode video BIOS code to alter hardware state
+Summary(pl):	vbetool - modyfikacja trybu karty video za pomocą jej BIOS-u
+Name:		vbetool
+Version:	0.4
+Release:	1
+License:	GPL
+Group:		Applications
+Source0:	http://www.srcf.ucam.org/~mjg59/vbetool/%{name}_%{version}-1.tar.gz
+# Source0-md5:	f8b52980603f458c125026fd9c97b7b0
+Patch0:		%{name}-Makefile.patch
+URL:		http://freshmeat.net/projects/vbetool/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRequires:	pciutils-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+vbetool uses lrmi in order to run code from the video BIOS. Currently,
+it is able to alter DPMS states, save/restore video card state, and 
+attempt to initialize the video card from scratch. It exists primarily
+in order to increase the chances of successfully recovering video 
+state after an ACPI S3 suspend.
+
+%description -l pl
+vbetool służy do modyfikacji trybu karty graficznej za pomocą 
+BIOS-u karty video.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make} \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man1/*
+
+%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
================================================================


More information about the pld-cvs-commit mailing list