]> git.pld-linux.org Git - packages/855resolution.git/blob - 855resolution.spec
- rel 1
[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.UTF-8):      Zmiana rozdzielczości dostępnych trybów vbios dla chipsetów Intel 855/865/915
3 Name:           855resolution
4 Version:        0.4
5 Release:        1
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 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 855resolution is a software to change the resolution of an available
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.
22
23 Later it was tested with success on the following laptops:
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
34 It patches only the RAM version of the video BIOS so the new
35 resolution is loose each time you reboot. If you want to set the
36 resolution each time you reboot and before to launch X, use
37 appropriate init script file of your Linux version.
38
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.
43
44 Później został pozytywnie przetestowany na następujących laptopach:
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
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.
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
70 install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
71
72 install 855resolution $RPM_BUILD_ROOT%{_sbindir}
73 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
74 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 /sbin/chkconfig --add 855resolution
81
82 %preun
83 if [ "$1" = "0" ]; then
84         /sbin/chkconfig --del 855resolution
85 fi
86
87 %files
88 %defattr(644,root,root,755)
89 %doc CHANGES.txt README.txt
90 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
91 %attr(754,root,root) /etc/rc.d/init.d/%{name}
92 %attr(755,root,root) %{_sbindir}/*
This page took 0.07019 seconds and 3 git commands to generate.