]> git.pld-linux.org Git - packages/915resolution.git/blame - 915resolution.spec
- update URLs
[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
a7c9d4b7 7Release: 4
41768b98
MWP
8License: Public Domain
9Group: Applications/System
0583d230 10Source0: http://915resolution.mango-lang.org/%{name}-%{version}.tar.gz
c559bd69 11# Source0-md5: ed287778a53d02c31a7a6a52bc146291
41768b98
MWP
12Source1: %{name}.sysconfig
13Source2: %{name}.init
340927e8 14Patch0: %{name}-i965GM.patch
0583d230 15URL: http://915resolution.mango-lang.org/
41768b98
MWP
16Requires(post,preun): /sbin/chkconfig
17Requires: rc-scripts
18ExclusiveArch: %{ix86} %{x8664}
8b4a6f5a 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
dce76162
ER
22915resolution is a tool to modify the video BIOS of the 800 and 900
23series Intel graphics chipsets. This includes the 845G, 855G, and 865G
24chipsets, as well as 915G, 915GM, and 945G chipsets. This modification
25is neccessary to allow the display of certain graphics resolutions for
26an Xorg or XFree86 graphics server.
8b4a6f5a 27
dce76162
ER
28915resolution's modifications of the BIOS are transient. There is no
29risk of permanent modification of the BIOS. This also means that
41768b98
MWP
30915resolution must be run every time the computer boots inorder for
31it's changes to take effect.
8b4a6f5a 32
dce76162
ER
33915resolution is derived from the tool 855resolution. However, the
34code differs substantially. 915resolution's code base is much simpler.
35915resolution also allows the modification of bits per pixel.
41768b98 36
8ba95d66
JR
37%description -l pl.UTF-8
38915resolution to narzędzie do modyfikowania BIOS-u graficznego układów
39graficznych Intela z serii 800 i 900. Obejmuje to układy 845G, 855G i
40865G, a także 915G, 915GM i 945G. Zmiany te są potrzebne, aby
41umożliwić wyświetlanie pewnych rozdzielczości obrazu dla serwera
41768b98
MWP
42graficznego Xorg lub XFree86.
43
8ba95d66
JR
44Modyfikacje wykonywane przez 915resolution w BIOS-ie nie są trwałe.
45Nie ma niebezpieczeństwa trwałej zmiany BIOS-u. Oznacza to także, że
46915resolution musi być uruchamiane przy każdym starcie komputera, aby
47zmiany dały efekt.
41768b98 48
8ba95d66
JR
49915resolution wywodzi się z narzędzia 855resolution. Jednak kod różni
50się znacząco - kod 915resolution jest znacznie prostszy. 915resolution
51pozwala dodatkowo na zmianę liczby bitów na piksel.
8b4a6f5a 52
53%prep
54%setup -q
340927e8 55%patch0 -p0
8b4a6f5a 56
57%build
41768b98
MWP
58%{__make} clean
59%{__make} \
60 CC="%{__cc}" \
61 CPPFLAGS="%{rpmcflags}"
8b4a6f5a 62
63%install
64rm -rf $RPM_BUILD_ROOT
41768b98 65install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
8b4a6f5a 66
41768b98
MWP
67install 915resolution $RPM_BUILD_ROOT%{_sbindir}
68install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
69install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
8b4a6f5a 70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
41768b98
MWP
74%post
75/sbin/chkconfig --add 915resolution
76
77%preun
78if [ "$1" = "0" ]; then
79 /sbin/chkconfig --del 915resolution
80fi
81
8b4a6f5a 82%files
83%defattr(644,root,root,755)
41768b98
MWP
84%doc changes* chipset_info.txt README.txt
85%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
86%attr(754,root,root) /etc/rc.d/init.d/%{name}
8b4a6f5a 87%attr(755,root,root) %{_sbindir}/*
This page took 0.089913 seconds and 4 git commands to generate.