Author: radek Date: Tue Jun 27 00:03:10 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - copied from 855resolution.spec
---- Files affected: SPECS: 915resolution.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/915resolution.spec diff -u /dev/null SPECS/915resolution.spec:1.1 --- /dev/null Tue Jun 27 02:03:10 2006 +++ SPECS/915resolution.spec Tue Jun 27 02:03:05 2006 @@ -0,0 +1,79 @@ +# $Revision$, $Date$ +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: 1 +License: Public Domain +Group: Applications/System +Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz +# Source0-md5: a3441e5662c5ff1e00dc97de4487e8f8 +Source1: %{name}.sysconfig +Source2: %{name}.init +URL: http://perso.wanadoo.fr/apoirier/ +PreReq: rc-scripts +Requires(post,preun): /sbin/chkconfig +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 + +%prep +%setup -q + +%build +%{__make} clean +%{__make} \ + CC="%{__cc}" \ + CPPFLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}} + +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* 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"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/06/27 00:03:05 radek +- copied from 855resolution.spec + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
