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