]> git.pld-linux.org Git - packages/915resolution.git/commitdiff
- init
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Sun, 11 Feb 2007 16:45:37 +0000 (16:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    915resolution.spec -> 1.5

915resolution.spec

index d6ea6db8052c6c03f048fc5aa3c545debac1019f..9f6b1b402ac4094784f6763c151563ddb657a9b8 100644 (file)
@@ -1,83 +1,44 @@
-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.
+This software changes the resolution of an available vbios mode.
 
-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.
+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}/*
This page took 0.103408 seconds and 4 git commands to generate.