Browse Source

vbetool-1.2.2-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@580 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 years ago
parent
commit
f45bfc7f12
1 changed files with 11 additions and 3 deletions
  1. 11 3
      v/vbetool/vbetool-vl.spec

+ 11 - 3
v/vbetool/vbetool-vl.spec

@@ -1,16 +1,17 @@
 Summary:        Run real-mode video BIOS code to alter hardware state
 
 Name:           vbetool
-Version:        1.1
+Version:        1.2.2
 Release:        1%{?_dist_release}
 
 Group:          System Environment/Base
 License:        GPLv2
 URL:            http://www.codon.org.uk/~mjg59/vbetool/
-Source0:        http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.gz
+Source0:        http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-BuildRequires:  zlib-devel pciutils-devel libx86-devel
+BuildRequires:  zlib-devel, pciutils-devel, libx86-devel >= 1.1-2
+BuildRequires:  libpciaccess-devel
 # does not build on ppc and ppc64, see #285361 (RedHat Bugzilla)
 # on ppc sys/io.h is missing, on ppc64 there are more complaints
 # build.logs are attached in the bug report
@@ -34,6 +35,7 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
+install -m 0644 -D udev-video-post-example.rules $RPM_BUILD_ROOT/etc/udev/rules.d/92-video-post.rules
 
 
 %clean
@@ -43,11 +45,17 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc COPYING
+%{_sysconfdir}/udev/rules.d/92-video-post.rules
 %{_sbindir}/vbetool
 %{_mandir}/man1/vbetool.1.gz
 
 
 %changelog
+* Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
+- new upstream release
+- install udev rules
+- add BR: libpciaccess-devel
+
 * Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
 - initial build for Vine Linux