Hej

xspim bez fontow 75dpi nie ruszy.
Tak nie uzywam fontow 75dpi.
Dodalem Requires: %{_fontsdir}/75dpi.
Niech mnie ktos poprawi jezeli cos jest zle.

--- spim.spec   2005-12-28 17:54:48.000000000 +0100
+++ spim.spec.new       2005-12-28 17:59:57.130881000 +0100
@@ -3,7 +3,7 @@
 Summary(pl):   symulator MIPS-a
 Name:          spim
 Version:       7.1
-Release:       0.1
+Release:       0.2
 License:       own, incompatibile with GPL
 Group:         Applications/Emulators
 Source0:       http://www.cs.wisc.edu/~larus/SPIM/%{name}.tar.gz
@@ -31,6 +31,7 @@
 Summary(pl):   Interfejs X do SPIM-a
 Group:         Applications/Emulators
 Requires:      %{name} = %{version}-%{release}
+Requires:      %{_fontsdir}/75dpi

 %description -n xspim
 X interface to SPIM - MIPS emulator
@@ -45,12 +46,14 @@
 %build
 ./Configure
 xmkmf
+sed -i 's#MANNEWSUFFIX = _man#MANNEWSUFFIX = 1#g' Makefile
 %{__make}
 %{__make} xspim

 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/spim
+install -d $RPM_BUILD_ROOT{%{_datadir}/spim,%{_mandir}/man1}
+install *.1 $RPM_BUILD_ROOT%{_mandir}/man1

 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -64,10 +67,12 @@
 %attr(755,root,root) %{_bindir}/spim
 %dir %{_datadir}/spim
 %{_datadir}/spim/exceptions.s+%{_mandir}/man1/spim.1*

 %files -n xspim
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/xspim
+%{_mandir}/man1/xspim.1*

 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog

--- spim.spec   2005-12-28 17:54:48.000000000 +0100
+++ spim.spec.new       2005-12-28 17:59:57.130881000 +0100
@@ -3,7 +3,7 @@
 Summary(pl):   symulator MIPS-a
 Name:          spim
 Version:       7.1
-Release:       0.1
+Release:       0.2
 License:       own, incompatibile with GPL
 Group:         Applications/Emulators
 Source0:       http://www.cs.wisc.edu/~larus/SPIM/%{name}.tar.gz
@@ -31,6 +31,7 @@
 Summary(pl):   Interfejs X do SPIM-a
 Group:         Applications/Emulators
 Requires:      %{name} = %{version}-%{release}
+Requires:      %{_fontsdir}/75dpi
 
 %description -n xspim
 X interface to SPIM - MIPS emulator
@@ -45,12 +46,14 @@
 %build
 ./Configure
 xmkmf
+sed -i 's#MANNEWSUFFIX = _man#MANNEWSUFFIX = 1#g' Makefile
 %{__make}
 %{__make} xspim
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/spim
+install -d $RPM_BUILD_ROOT{%{_datadir}/spim,%{_mandir}/man1}
+install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -64,10 +67,12 @@
 %attr(755,root,root) %{_bindir}/spim
 %dir %{_datadir}/spim
 %{_datadir}/spim/exceptions.s
+%{_mandir}/man1/spim.1*
 
 %files -n xspim
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/xspim
+%{_mandir}/man1/xspim.1*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym