source: projects/specs/trunk/v/vbetool/vbetool-vl.spec @ 580

Revision 580, 2.3 KB checked in by daisuke, 14 years ago (diff)

vbetool-1.2.2-1

Line 
1Summary:        Run real-mode video BIOS code to alter hardware state
2
3Name:           vbetool
4Version:        1.2.2
5Release:        1%{?_dist_release}
6
7Group:          System Environment/Base
8License:        GPLv2
9URL:            http://www.codon.org.uk/~mjg59/vbetool/
10Source0:        http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.bz2
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13BuildRequires:  zlib-devel, pciutils-devel, libx86-devel >= 1.1-2
14BuildRequires:  libpciaccess-devel
15# does not build on ppc and ppc64, see #285361 (RedHat Bugzilla)
16# on ppc sys/io.h is missing, on ppc64 there are more complaints
17# build.logs are attached in the bug report
18ExcludeArch:    ppc ppc64
19
20
21%description
22vbetool uses lrmi in order to run code from the video BIOS. Currently, it is
23able to alter DPMS states, save/restore video card state and attempt to
24initialize the video card from scratch.
25
26
27%prep
28%setup -q
29
30%build
31%configure --with-x86emu
32make %{?_smp_mflags}
33
34
35%install
36rm -rf $RPM_BUILD_ROOT
37make install DESTDIR=$RPM_BUILD_ROOT
38install -m 0644 -D udev-video-post-example.rules $RPM_BUILD_ROOT/etc/udev/rules.d/92-video-post.rules
39
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44
45%files
46%defattr(-,root,root,-)
47%doc COPYING
48%{_sysconfdir}/udev/rules.d/92-video-post.rules
49%{_sbindir}/vbetool
50%{_mandir}/man1/vbetool.1.gz
51
52
53%changelog
54* Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
55- new upstream release
56- install udev rules
57- add BR: libpciaccess-devel
58
59* Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
60- initial build for Vine Linux
61
62* Mon May 19 2008 Matthew Garrett <mjg@redhat.com> - 1.1-1
63- update to version 1.1
64
65* Tue Mar 25 2008 Till Maas <opensource till name> - 0.7-6
66- remove overriding of CFLAGS for x86emu
67
68* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7-5
69- Autorebuild for GCC 4.3
70
71* Sun Dec 02 2007 Till Maas <opensource till name> - 0.7-4
72- libz.a is now in a -static subpackage, add to BR
73
74* Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 0.7-3
75- Build with x86emu everywhere for uniformity of bugs and consistency with X.
76
77* Fri Sep 07 2007 Till Maas <opensource till name> 0.7-2
78- ExcludeArch: ppc and ppc64 (does not build there)
79- add Conflicts with old pm-utils package
80
81* Fri Aug 31 2007 Till Maas <opensource till name> - 0.7-1
82- initial release for Fedora with patches from the pm-utils package
Note: See TracBrowser for help on using the repository browser.