From 356aa63a80d9ab050ee5d7b4df81107818b1c2bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 29 Jul 1999 09:19:55 +0000 Subject: [PATCH] new spec/updated specs Changed files: SVGATextMode.spec -> 1.1 --- SVGATextMode.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 SVGATextMode.spec diff --git a/SVGATextMode.spec b/SVGATextMode.spec new file mode 100644 index 0000000..5711059 --- /dev/null +++ b/SVGATextMode.spec @@ -0,0 +1,80 @@ +Summary: A utility for improving the appearance of text consoles. +Name: SVGATextMode +Version: 1.9 +Release: 1 +Copyright: GPL +Group: Applications/System +Source0: ftp://sunsite.unc.edu/pub/Linux/utils/console/%{name}-%{version}-src.tar.gz +Source1: %{name}.init +Patch0: SVGATextMode-src-conf.patch +Patch1: SVGATextMode-src-agp.patch +Patch2: SVGATextMode-src-make.patch +Prereq: /sbin/chkconfig +BuildRoot: /tmp/%{name}-%{version}-buildroot +ExclusiveArch: %{ix86} alpha + +%description +SVGATextMode is a utility for reprogramming (S)VGA hardware, +which can improve the appearance of text consoles. +You should install SVGATextMode if you want to alter the +appearance of your text consoles. The utility uses a +configuration file (Xconfig or XF86Config) to set up +textmodes with higher resolution, larger fonts, higher +display refresh rates, etc. + +Although SVGATextMode can be used to program any text +mode size, your results will depend on your VGA card. + +%description -l pl +SVGATextMode jest narzêdziem s³u¿±cym konfiguracji sprzêtu +(S)VGA, które pozwala na polepszenie wygl±du konsoli tekstowej. +To narzêdzie wykorzystuje plik konfiguracyjny by ustawiaæ +wy¿sze rozdzielczo¶ci, wiêksze fonty, wy¿sze czêstotliwo¶ci +od¶wierzania itp. + +%prep +%setup -q -n %{name}-%{version}-src +%patch0 -p1 -b .conf +%patch1 -p1 -b .agp +%patch2 -p1 -b .make + +%build +make dep +make all + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT/etc/rc.d/init.d +install -d $RPM_BUILD_ROOT%{_sbindir} +install -d $RPM_BUILD_ROOT%{_mandir}/man{5,8} + +make DESTDIR=$RPM_BUILD_ROOT newinstall man-install +install -m 0755 STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu +install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} + +rm $RPM_BUILD_ROOT%{_mandir}/man8/stm.8 +echo ".so SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8 +strip $RPM_BUILD_ROOT%{_sbindir}/* || : +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* doc/* README +gzip -9nf README.FIRST CREDITS COPYING HISTORY TODO + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/chkconfig --add %{name} 2>/dev/null + +%preun +if [ "$1" = "0" ]; then + /sbin/chkconfig --del %{name} 2>/dev/null +fi + +%files +%defattr(644,root,root,755) +%config(noreplace) %verify(not size mtime md5) /etc/TextConfig +%doc {README,README.FIRST,CREDITS,COPYING,HISTORY,TODO}.gz +%doc doc/* +%attr(755,root,root) %{_sbindir}/* +%attr(644,root,root) %{_mandir}/man*/* +%attr(754,root,root) /etc/rc.d/init.d/%{name} -- 2.44.0