SPECS: spim.spec
Kamil Jakubowski
jakubowski.kamil at 3vnet.pl
Sat Jan 14 19:37:02 CET 2006
xspim wymaga fontow 75dpi.
Jezeli ktos nie zainstaluje takich fontow,
xspim sie nie uruchomi i nie przekaze zadnych komunikatow.
Dodalem Requires: %{_fontsdir}/75dpi oraz man.
Co to za a ?
#a $Revision: 1.21 $, $Date: 2005/03/15 21:32:16 $
-------------- next part --------------
--- spim.spec 2005-12-28 17:54:48.000000000 +0100
+++ spim.spec.new 2006-01-10 19:50:35.028626500 +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
More information about the pld-devel-pl
mailing list