From: Michał 'Wolvverine' Panasiewicz Date: Sun, 11 Feb 2007 17:09:37 +0000 (+0000) Subject: -revert to last version X-Git-Tag: auto/ti/915resolution-0_5_2-1~3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=41768b98ec9a580b22762f1382f890f7fbfe7604;hp=2cce42901fdd165a8b39aeff7e3934f692ec4cfd;p=packages%2F915resolution.git -revert to last version Changed files: 915resolution.spec -> 1.6 --- diff --git a/915resolution.spec b/915resolution.spec index 9f6b1b4..d6ea6db 100644 --- a/915resolution.spec +++ b/915resolution.spec @@ -1,44 +1,83 @@ -# -Summary: 915resolution - changes the resolution of an available vbios mode. -Summary(pl): 915resolution +Summary: Change the resolution of an available vbios mode +Summary(pl): Zmiana rozdzielczo¶ci dostêpnych trybów vbios Name: 915resolution Version: 0.5.2 -Release: 0.1 -License: PUBLIC DOMAIN -Group: Applications +Release: 1 +License: Public Domain +Group: Applications/System Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz # Source0-md5: a3441e5662c5ff1e00dc97de4487e8f8 -Patch0: %{name}-DESTDIR.patch -URL: http://www.geocities.com/stomljen/ +Source1: %{name}.sysconfig +Source2: %{name}.init +URL: http://www.geocities.com/stomljen/ +Requires(post,preun): /sbin/chkconfig +Requires: rc-scripts +ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description +915resolution is a tool to modify the video BIOS of the 800 and +900 series Intel graphics chipsets. This includes the 845G, 855G, +and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This +modification is neccessary to allow the display of certain graphics +resolutions for an Xorg or XFree86 graphics server. -This software changes the resolution of an available vbios mode. +915resolution's modifications of the BIOS are transient. There is +no risk of permanent modification of the BIOS. This also means that +915resolution must be run every time the computer boots inorder for +it's changes to take effect. -It patches only the RAM version of the video bios so the new resolution -is loose each time you reboot. -If you want to set the resolution each time you reboot and before to -launch X, use your rc.local, ... file of your Linux version. +915resolution is derived from the tool 855resolution. However, +the code differs substantially. 915resolution's code base is much +simpler. 915resolution also allows the modification of bits per pixel. + +%description -l pl +915resolution to narzêdzie do modyfikowania BIOS-u graficznego uk³adów +graficznych Intela z serii 800 i 900. Obejmuje to uk³ady 845G, 855G i +865G, a tak¿e 915G, 915GM i 945G. Zmiany te s± potrzebne, aby +umo¿liwiæ wy¶wietlanie pewnych rozdzielczo¶ci obrazu dla serwera +graficznego Xorg lub XFree86. + +Modyfikacje wykonywane przez 915resolution w BIOS-ie nie s± trwa³e. +Nie ma niebezpieczeñstwa trwa³ej zmiany BIOS-u. Oznacza to tak¿e, ¿e +915resolution musi byæ uruchamiane przy ka¿dym starcie komputera, aby +zmiany da³y efekt. + +915resolution wywodzi siê z narzêdzia 855resolution. Jednak kod ró¿ni +siê znacz±co - kod 915resolution jest znacznie prostszy. 915resolution +pozwala dodatkowo na zmianê liczby bitów na piksel. %prep %setup -q -%patch0 -p1 %build -%{__make} +%{__make} clean +%{__make} \ + CC="%{__cc}" \ + CPPFLAGS="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/%{_sbindir} +install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}} -%{__make} install \ - DESTDIR=$RPM_BUILD_ROOT +install 915resolution $RPM_BUILD_ROOT%{_sbindir} +install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name} +install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} %clean rm -rf $RPM_BUILD_ROOT +%post +/sbin/chkconfig --add 915resolution + +%preun +if [ "$1" = "0" ]; then + /sbin/chkconfig --del 915resolution +fi + %files %defattr(644,root,root,755) -%doc changes.log chipset_info.txt README.txt LICENSE.txt +%doc changes* chipset_info.txt README.txt +%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} +%attr(754,root,root) /etc/rc.d/init.d/%{name} %attr(755,root,root) %{_sbindir}/*