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