SPECS: 915resolution.spec - init
wolvverine
wolvverine at pld-linux.org
Sun Feb 11 17:45:43 CET 2007
Author: wolvverine Date: Sun Feb 11 16:45:43 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- init
---- Files affected:
SPECS:
915resolution.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/915resolution.spec
diff -u SPECS/915resolution.spec:1.4 SPECS/915resolution.spec:1.5
--- SPECS/915resolution.spec:1.4 Thu Dec 14 16:22:14 2006
+++ SPECS/915resolution.spec Sun Feb 11 17:45:37 2007
@@ -1,86 +1,47 @@
# $Revision$, $Date$
-Summary: Change the resolution of an available vbios mode
-Summary(pl): Zmiana rozdzielczości dostępnych trybów vbios
+#
+Summary: 915resolution - changes the resolution of an available vbios mode.
+Summary(pl): 915resolution
Name: 915resolution
Version: 0.5.2
-Release: 1
-License: Public Domain
-Group: Applications/System
+Release: 0.1
+License: PUBLIC DOMAIN
+Group: Applications
Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz
# Source0-md5: a3441e5662c5ff1e00dc97de4487e8f8
-Source1: %{name}.sysconfig
-Source2: %{name}.init
-URL: http://www.geocities.com/stomljen/
-Requires(post,preun): /sbin/chkconfig
-Requires: rc-scripts
-ExclusiveArch: %{ix86} %{x8664}
+Patch0: %{name}-DESTDIR.patch
+URL: http://www.geocities.com/stomljen/
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.
-
-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.
+
+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.
%prep
%setup -q
+%patch0 -p1
%build
-%{__make} clean
-%{__make} \
- CC="%{__cc}" \
- CPPFLAGS="%{rpmcflags}"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
+install -d $RPM_BUILD_ROOT/%{_sbindir}
-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}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%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* 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}
+%doc changes.log chipset_info.txt README.txt LICENSE.txt
%attr(755,root,root) %{_sbindir}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -89,14 +50,7 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-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.5 2007/02/11 16:45:37 wolvverine
+- init
-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.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list