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