]> git.pld-linux.org Git - packages/915resolution.git/blob - 915resolution.spec
- copied from 855resolution.*
[packages/915resolution.git] / 915resolution.spec
1 Summary:        Change the resolution of an available vbios mode
2 Summary(pl):    Zmiana rozdzielczo¶ci dostêpnych trybów vbios
3 Name:           915resolution
4 Version:        0.5.2
5 Release:        1
6 License:        Public Domain
7 Group:          Applications/System
8 Source0:        http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz
9 # Source0-md5:  a3441e5662c5ff1e00dc97de4487e8f8
10 Source1:        %{name}.sysconfig
11 Source2:        %{name}.init
12 URL:            http://perso.wanadoo.fr/apoirier/
13 PreReq:         rc-scripts
14 Requires(post,preun):   /sbin/chkconfig
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 915resolution is a tool to modify the video BIOS of the 800 and
19 900 series Intel graphics chipsets. This includes the 845G, 855G,
20 and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This
21 modification is neccessary to allow the display of certain graphics
22 resolutions for an Xorg or XFree86 graphics server.
23
24 915resolution's modifications of the BIOS are transient. There is
25 no risk of permanent modification of the BIOS. This also means that
26 915resolution must be run every time the computer boots inorder for
27 it's changes to take effect.
28
29 915resolution is derived from the tool 855resolution. However,
30 the code differs substantially. 915resolution's code base is much
31 simpler. 915resolution also allows the modification of bits per pixel.
32
33 #%description -l pl
34
35 %prep
36 %setup -q
37
38 %build
39 %{__make} clean
40 %{__make} \
41         CC="%{__cc}" \
42         CPPFLAGS="%{rpmcflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
47
48 install 915resolution $RPM_BUILD_ROOT%{_sbindir}
49 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
50 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 /sbin/chkconfig --add 915resolution
57
58 %preun
59 if [ "$1" = "0" ]; then
60         /sbin/chkconfig --del 915resolution
61 fi
62
63 %files
64 %defattr(644,root,root,755)
65 %doc changes* chipset_info.txt README.txt
66 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
67 %attr(754,root,root) /etc/rc.d/init.d/%{name}
68 %attr(755,root,root) %{_sbindir}/*
This page took 0.089436 seconds and 3 git commands to generate.