SPECS: 915resolution.spec -revert to last version

wolvverine wolvverine at pld-linux.org
Sun Feb 11 18:09:42 CET 2007


Author: wolvverine                   Date: Sun Feb 11 17:09:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
-revert to last version

---- Files affected:
SPECS:
   915resolution.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/915resolution.spec
diff -u SPECS/915resolution.spec:1.5 SPECS/915resolution.spec:1.6
--- SPECS/915resolution.spec:1.5	Sun Feb 11 17:45:37 2007
+++ SPECS/915resolution.spec	Sun Feb 11 18:09:37 2007
@@ -1,47 +1,86 @@
 # $Revision$, $Date$
-#
-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
-
-This software changes the resolution of an available vbios mode.
-
-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 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.
+
+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.
+
+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}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -50,7 +89,17 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.5  2007/02/11 16:45:37  wolvverine
-- init
+Revision 1.6  2007/02/11 17:09:37  wolvverine
+-revert to last version
+
+Revision 1.4  2006/12/14 15:22:14  matkor
+- Fixed url.
+
+Revision 1.3  2006/08/23 13:38:55  radek
+- ExclusiveArch: ix86 ix8664
 
+Revision 1.2  2006/07/01 10:01:51  qboosh
+- pl
 
+Revision 1.1  2006/06/27 00:03:05  radek
+- copied from 855resolution.spec
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/915resolution.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list