]> git.pld-linux.org Git - packages/855resolution.git/blame - 855resolution.spec
- initscript says it's ntp client
[packages/855resolution.git] / 855resolution.spec
CommitLineData
9e9fc455
ER
1# TODO
2# - fix initscript description
6c1aab0d 3Summary: Change the resolution of an available vbios mode for the 855/865/915 Intel graphic chipset
58c805dc
PG
4Name: 855resolution
5Version: 0.4
90c7a91f 6Release: 0.8
58c805dc
PG
7License: Public Domain
8Group: Applications/System
9Source0: http://perso.wanadoo.fr/apoirier/%{name}-%{version}.tgz
10# Source0-md5: 12237e534def7dd3579a3e8b0a4b9351
90c7a91f
PG
11Source1: %{name}.sysconfig
12Source2: %{name}.init
58c805dc
PG
13URL: http://perso.wanadoo.fr/apoirier/
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
6c1aab0d 17855resolution is a software to change the resolution of an available
18vbios mode for the 855/865/915 Intel graphic chipset. I coded it to
19get the 1400x1050 resolution on my Dell 510.
58c805dc
PG
20
21Later it was tested with succes on the following laptops:
6c1aab0d 22- Acer Travelmate 291lmi
23- Acer TravelMate 661LCi
24- Acer Travelmate 662
25- Asus M3N
26- Dell Inspiron 500m
27- Dell Inspiron 510m
28- Dell Inspiron 700m
29- Fujitsu LifeBook P5010D
30- Fujitsu E4010
31
32It patches only the RAM version of the video bios so the new
33resolution is loose each time you reboot. If you want to set the
34resolution each time you reboot and before to launch X, use your
35rc.local, local.start ... file of your Linux version.
58c805dc
PG
36
37%prep
38%setup -q -n %{name}
39
40%build
41%{__make} \
42 CC="%{__cc}" \
43 CPPFLAGS="%{rpmcflags}"
44
45%install
46rm -rf $RPM_BUILD_ROOT
90c7a91f 47install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
58c805dc
PG
48
49install 855resolution $RPM_BUILD_ROOT%{_sbindir}
90c7a91f
PG
50install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
51install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
58c805dc
PG
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
90c7a91f
PG
56%post
57/sbin/chkconfig --add 855resolution
58
59%preun
60if [ "$1" = "0" ]; then
61 /sbin/chkconfig --del 855resolution
62fi
63
58c805dc
PG
64%files
65%defattr(644,root,root,755)
66%doc CHANGES.txt README.txt
90c7a91f
PG
67%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
68%attr(754,root,root) /etc/rc.d/init.d/%{name}
58c805dc 69%attr(755,root,root) %{_sbindir}/*
This page took 0.06615 seconds and 4 git commands to generate.