]> git.pld-linux.org Git - packages/915resolution.git/blob - 915resolution.spec
- Fixed url.
[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://www.geocities.com/stomljen/
13 Requires(post,preun):   /sbin/chkconfig
14 Requires:       rc-scripts
15 ExclusiveArch:  %{ix86} %{x8664}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 915resolution is a tool to modify the video BIOS of the 800 and
20 900 series Intel graphics chipsets. This includes the 845G, 855G,
21 and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This
22 modification is neccessary to allow the display of certain graphics
23 resolutions for an Xorg or XFree86 graphics server.
24
25 915resolution's modifications of the BIOS are transient. There is
26 no risk of permanent modification of the BIOS. This also means that
27 915resolution must be run every time the computer boots inorder for
28 it's changes to take effect.
29
30 915resolution is derived from the tool 855resolution. However,
31 the code differs substantially. 915resolution's code base is much
32 simpler. 915resolution also allows the modification of bits per pixel.
33
34 %description -l pl
35 915resolution to narzêdzie do modyfikowania BIOS-u graficznego uk³adów
36 graficznych Intela z serii 800 i 900. Obejmuje to uk³ady 845G, 855G i
37 865G, a tak¿e 915G, 915GM i 945G. Zmiany te s± potrzebne, aby
38 umo¿liwiæ wy¶wietlanie pewnych rozdzielczo¶ci obrazu dla serwera
39 graficznego Xorg lub XFree86.
40
41 Modyfikacje wykonywane przez 915resolution w BIOS-ie nie s± trwa³e.
42 Nie ma niebezpieczeñstwa trwa³ej zmiany BIOS-u. Oznacza to tak¿e, ¿e
43 915resolution musi byæ uruchamiane przy ka¿dym starcie komputera, aby
44 zmiany da³y efekt.
45
46 915resolution wywodzi siê z narzêdzia 855resolution. Jednak kod ró¿ni
47 siê znacz±co - kod 915resolution jest znacznie prostszy. 915resolution
48 pozwala dodatkowo na zmianê liczby bitów na piksel.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__make} clean
55 %{__make} \
56         CC="%{__cc}" \
57         CPPFLAGS="%{rpmcflags}"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
62
63 install 915resolution $RPM_BUILD_ROOT%{_sbindir}
64 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
65 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 /sbin/chkconfig --add 915resolution
72
73 %preun
74 if [ "$1" = "0" ]; then
75         /sbin/chkconfig --del 915resolution
76 fi
77
78 %files
79 %defattr(644,root,root,755)
80 %doc changes* chipset_info.txt README.txt
81 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
82 %attr(754,root,root) /etc/rc.d/init.d/%{name}
83 %attr(755,root,root) %{_sbindir}/*
This page took 0.068789 seconds and 3 git commands to generate.