]> git.pld-linux.org Git - packages/915resolution.git/blame - 915resolution.spec
- upgraded to 0.5.3
[packages/915resolution.git] / 915resolution.spec
CommitLineData
135ba382
MWP
1# TODO - http://archive.ubuntu.com/ubuntu/pool/universe/9/915resolution/915resolution_0.5-1ubuntu6.diff.gz
2#
41768b98 3Summary: Change the resolution of an available vbios mode
545f3bd4 4Summary(pl.UTF-8): Zmiana rozdzielczości dostępnych trybów vbios
8b4a6f5a 5Name: 915resolution
c559bd69 6Version: 0.5.3
41768b98
MWP
7Release: 1
8License: Public Domain
9Group: Applications/System
8b4a6f5a 10Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz
c559bd69 11# Source0-md5: ed287778a53d02c31a7a6a52bc146291
41768b98
MWP
12Source1: %{name}.sysconfig
13Source2: %{name}.init
14URL: http://www.geocities.com/stomljen/
15Requires(post,preun): /sbin/chkconfig
16Requires: rc-scripts
17ExclusiveArch: %{ix86} %{x8664}
8b4a6f5a 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
41768b98
MWP
21915resolution is a tool to modify the video BIOS of the 800 and
22900 series Intel graphics chipsets. This includes the 845G, 855G,
23and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This
24modification is neccessary to allow the display of certain graphics
25resolutions for an Xorg or XFree86 graphics server.
8b4a6f5a 26
41768b98
MWP
27915resolution's modifications of the BIOS are transient. There is
28no risk of permanent modification of the BIOS. This also means that
29915resolution must be run every time the computer boots inorder for
30it's changes to take effect.
8b4a6f5a 31
41768b98
MWP
32915resolution is derived from the tool 855resolution. However,
33the code differs substantially. 915resolution's code base is much
34simpler. 915resolution also allows the modification of bits per pixel.
35
8ba95d66
JR
36%description -l pl.UTF-8
37915resolution to narzędzie do modyfikowania BIOS-u graficznego układów
38graficznych Intela z serii 800 i 900. Obejmuje to układy 845G, 855G i
39865G, a także 915G, 915GM i 945G. Zmiany te są potrzebne, aby
40umożliwić wyświetlanie pewnych rozdzielczości obrazu dla serwera
41768b98
MWP
41graficznego Xorg lub XFree86.
42
8ba95d66
JR
43Modyfikacje wykonywane przez 915resolution w BIOS-ie nie są trwałe.
44Nie ma niebezpieczeństwa trwałej zmiany BIOS-u. Oznacza to także, że
45915resolution musi być uruchamiane przy każdym starcie komputera, aby
46zmiany dały efekt.
41768b98 47
8ba95d66
JR
48915resolution wywodzi się z narzędzia 855resolution. Jednak kod różni
49się znacząco - kod 915resolution jest znacznie prostszy. 915resolution
50pozwala dodatkowo na zmianę liczby bitów na piksel.
8b4a6f5a 51
52%prep
53%setup -q
54
55%build
41768b98
MWP
56%{__make} clean
57%{__make} \
58 CC="%{__cc}" \
59 CPPFLAGS="%{rpmcflags}"
8b4a6f5a 60
61%install
62rm -rf $RPM_BUILD_ROOT
41768b98 63install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
8b4a6f5a 64
41768b98
MWP
65install 915resolution $RPM_BUILD_ROOT%{_sbindir}
66install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
67install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
8b4a6f5a 68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
41768b98
MWP
72%post
73/sbin/chkconfig --add 915resolution
74
75%preun
76if [ "$1" = "0" ]; then
77 /sbin/chkconfig --del 915resolution
78fi
79
8b4a6f5a 80%files
81%defattr(644,root,root,755)
41768b98
MWP
82%doc changes* chipset_info.txt README.txt
83%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
84%attr(754,root,root) /etc/rc.d/init.d/%{name}
8b4a6f5a 85%attr(755,root,root) %{_sbindir}/*
This page took 0.080066 seconds and 4 git commands to generate.