]> git.pld-linux.org Git - packages/vbetool.git/commitdiff
- initial release
authormaciek2w <maciek2w@pld-linux.org>
Tue, 7 Mar 2006 14:49:51 +0000 (14:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vbetool-Makefile.patch -> 1.1
    vbetool.spec -> 1.1

vbetool-Makefile.patch [new file with mode: 0644]
vbetool.spec [new file with mode: 0644]

diff --git a/vbetool-Makefile.patch b/vbetool-Makefile.patch
new file mode 100644 (file)
index 0000000..b1f76d2
--- /dev/null
@@ -0,0 +1,15 @@
+--- vbetool-0.4/Makefile.am.orig       2006-03-07 15:35:57.000000000 +0100
++++ vbetool-0.4/Makefile.am    2006-03-07 15:36:16.000000000 +0100
+@@ -6,10 +6,11 @@
+ if WITH_X86EMU
+ x86 = thunk.c x86-common.c
+-vbetool_LDADD = x86emu/libx86emu.a
++vbetool_LDADD = x86emu/libx86emu.a -lpci
+ else
+ x86 = lrmi.c x86-common.c
+ x86lib = ""
++vbetool_LDADD = -lpci
+ endif
+ man_MANS = vbetool.1
diff --git a/vbetool.spec b/vbetool.spec
new file mode 100644 (file)
index 0000000..35536d6
--- /dev/null
@@ -0,0 +1,57 @@
+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/*
This page took 0.097636 seconds and 4 git commands to generate.