]>
Commit | Line | Data |
---|---|---|
6c1aab0d | 1 | Summary: Change the resolution of an available vbios mode for the 855/865/915 Intel graphic chipset |
e4010ef3 | 2 | Summary(pl.UTF-8): Zmiana rozdzielczości dostępnych trybów vbios dla chipsetów Intel 855/865/915 |
58c805dc PG |
3 | Name: 855resolution |
4 | Version: 0.4 | |
90c7a91f | 5 | Release: 0.8 |
58c805dc PG |
6 | License: Public Domain |
7 | Group: Applications/System | |
8 | Source0: http://perso.wanadoo.fr/apoirier/%{name}-%{version}.tgz | |
9 | # Source0-md5: 12237e534def7dd3579a3e8b0a4b9351 | |
90c7a91f PG |
10 | Source1: %{name}.sysconfig |
11 | Source2: %{name}.init | |
58c805dc | 12 | URL: http://perso.wanadoo.fr/apoirier/ |
2d4d9861 JB |
13 | PreReq: rc-scripts |
14 | Requires(post,preun): /sbin/chkconfig | |
1841e55b | 15 | ExclusiveArch: %{ix86} %{x8664} |
58c805dc PG |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
6c1aab0d | 19 | 855resolution is a software to change the resolution of an available |
2d4d9861 JB |
20 | vbios mode for the 855/865/915 Intel graphic chipset. It was |
21 | originally coded it to get the 1400x1050 resolution on Dell 510. | |
58c805dc | 22 | |
2d4d9861 | 23 | Later it was tested with success on the following laptops: |
6c1aab0d | 24 | - Acer Travelmate 291lmi |
25 | - Acer TravelMate 661LCi | |
26 | - Acer Travelmate 662 | |
27 | - Asus M3N | |
28 | - Dell Inspiron 500m | |
29 | - Dell Inspiron 510m | |
30 | - Dell Inspiron 700m | |
31 | - Fujitsu LifeBook P5010D | |
32 | - Fujitsu E4010 | |
33 | ||
2d4d9861 | 34 | It patches only the RAM version of the video BIOS so the new |
6c1aab0d | 35 | resolution is loose each time you reboot. If you want to set the |
2d4d9861 JB |
36 | resolution each time you reboot and before to launch X, use |
37 | appropriate init script file of your Linux version. | |
38 | ||
e4010ef3 JR |
39 | %description -l pl.UTF-8 |
40 | 855resolution to program do zmiany rozdzielczości dostępnych trybów | |
41 | vbios dla chipsetów graficznych Intel 855/865/915. Pierwotnie był | |
42 | napisany w celu uzyskania rozdzielczości 1400x1050 na Dellu 510. | |
2d4d9861 | 43 | |
e4010ef3 | 44 | Później został pozytywnie przetestowany na następujących laptopach: |
2d4d9861 JB |
45 | - Acer Travelmate 291lmi |
46 | - Acer TravelMate 661LCi | |
47 | - Acer Travelmate 662 | |
48 | - Asus M3N | |
49 | - Dell Inspiron 500m | |
50 | - Dell Inspiron 510m | |
51 | - Dell Inspiron 700m | |
52 | - Fujitsu LifeBook P5010D | |
53 | - Fujitsu E4010 | |
54 | ||
e4010ef3 JR |
55 | Program modyfikuje tylko wersję w RAM Video BIOS-u, więc nowa |
56 | rozdzielczość jest tracona po każdym reboocie. Aby ustawiać | |
57 | rozdzielczość po każdym uruchomieniem komputera, a przed uruchomieniem | |
58 | X, należy użyć odpowiedniego skryptu inicjalizującego. | |
58c805dc PG |
59 | |
60 | %prep | |
61 | %setup -q -n %{name} | |
62 | ||
63 | %build | |
64 | %{__make} \ | |
65 | CC="%{__cc}" \ | |
66 | CPPFLAGS="%{rpmcflags}" | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
90c7a91f | 70 | install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}} |
58c805dc PG |
71 | |
72 | install 855resolution $RPM_BUILD_ROOT%{_sbindir} | |
90c7a91f PG |
73 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name} |
74 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} | |
58c805dc PG |
75 | |
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
90c7a91f PG |
79 | %post |
80 | /sbin/chkconfig --add 855resolution | |
81 | ||
82 | %preun | |
83 | if [ "$1" = "0" ]; then | |
84 | /sbin/chkconfig --del 855resolution | |
85 | fi | |
86 | ||
58c805dc PG |
87 | %files |
88 | %defattr(644,root,root,755) | |
89 | %doc CHANGES.txt README.txt | |
90c7a91f PG |
90 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |
91 | %attr(754,root,root) /etc/rc.d/init.d/%{name} | |
58c805dc | 92 | %attr(755,root,root) %{_sbindir}/* |