]> git.pld-linux.org Git - packages/855resolution.git/blame - 855resolution.spec
- converted to UTF-8
[packages/855resolution.git] / 855resolution.spec
CommitLineData
6c1aab0d 1Summary: Change the resolution of an available vbios mode for the 855/865/915 Intel graphic chipset
e4010ef3 2Summary(pl.UTF-8): Zmiana rozdzielczości dostępnych trybów vbios dla chipsetów Intel 855/865/915
58c805dc
PG
3Name: 855resolution
4Version: 0.4
90c7a91f 5Release: 0.8
58c805dc
PG
6License: Public Domain
7Group: Applications/System
8Source0: http://perso.wanadoo.fr/apoirier/%{name}-%{version}.tgz
9# Source0-md5: 12237e534def7dd3579a3e8b0a4b9351
90c7a91f
PG
10Source1: %{name}.sysconfig
11Source2: %{name}.init
58c805dc 12URL: http://perso.wanadoo.fr/apoirier/
2d4d9861
JB
13PreReq: rc-scripts
14Requires(post,preun): /sbin/chkconfig
1841e55b 15ExclusiveArch: %{ix86} %{x8664}
58c805dc
PG
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
6c1aab0d 19855resolution is a software to change the resolution of an available
2d4d9861
JB
20vbios mode for the 855/865/915 Intel graphic chipset. It was
21originally coded it to get the 1400x1050 resolution on Dell 510.
58c805dc 22
2d4d9861 23Later 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 34It patches only the RAM version of the video BIOS so the new
6c1aab0d 35resolution is loose each time you reboot. If you want to set the
2d4d9861
JB
36resolution each time you reboot and before to launch X, use
37appropriate init script file of your Linux version.
38
e4010ef3
JR
39%description -l pl.UTF-8
40855resolution to program do zmiany rozdzielczości dostępnych trybów
41vbios dla chipsetów graficznych Intel 855/865/915. Pierwotnie był
42napisany w celu uzyskania rozdzielczości 1400x1050 na Dellu 510.
2d4d9861 43
e4010ef3 44Póź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
55Program modyfikuje tylko wersję w RAM Video BIOS-u, więc nowa
56rozdzielczość jest tracona po każdym reboocie. Aby ustawiać
57rozdzielczość po każdym uruchomieniem komputera, a przed uruchomieniem
58X, 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
69rm -rf $RPM_BUILD_ROOT
90c7a91f 70install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
58c805dc
PG
71
72install 855resolution $RPM_BUILD_ROOT%{_sbindir}
90c7a91f
PG
73install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
74install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
58c805dc
PG
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
90c7a91f
PG
79%post
80/sbin/chkconfig --add 855resolution
81
82%preun
83if [ "$1" = "0" ]; then
84 /sbin/chkconfig --del 855resolution
85fi
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}/*
This page took 0.043613 seconds and 4 git commands to generate.