]>
Commit | Line | Data |
---|---|---|
0b11f7f5 | 1 | Summary: Virtual machine simulator based on a MIPS R3000 processor |
89f38d48 | 2 | Summary(pl.UTF-8): Symulator maszyny wirtualnej opartej na procesorze MIPS R3000 |
e47d0466 | 3 | Name: vmips |
51c239a3 | 4 | Version: 1.5.1 |
27de4dc5 | 5 | Release: 1 |
0dc158cd | 6 | License: GPL v2+ |
e47d0466 | 7 | Group: Applications/Emulators |
51c239a3 JB |
8 | Source0: https://vmips.sourceforge.net/releases/%{name}-%{version}/vmips-%{version}.tar.gz |
9 | # Source0-md5: 6bca35762ff282418e9224ebf7d93583 | |
0dc158cd | 10 | Patch0: %{name}-am.patch |
8c677ffb | 11 | Patch1: %{name}-info.patch |
51c239a3 | 12 | URL: https://vmips.sourceforge.net/ |
0b11f7f5 JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
0dc158cd JB |
15 | BuildRequires: libstdc++-devel |
16 | BuildRequires: texinfo | |
e47d0466 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
0b11f7f5 JB |
20 | Vmips is a virtual machine simulator based around a MIPS R3000 RISC |
21 | CPU core. It is an open-source project written in GNU C++ and which is | |
e47d0466 | 22 | distributed under the GNU General Public License. |
23 | ||
89746768 | 24 | %description -l pl.UTF-8 |
0b11f7f5 | 25 | Vmips to symulator maszyny wirtualnej opartej na rdzeniu procesora |
89746768 | 26 | RISC MIPS R3000. Jest to projekt z otwartymi źródłami napisany w GNU |
0b11f7f5 JB |
27 | C++ i jest rozpowszechniany na licencji GNU GPL. |
28 | ||
e47d0466 | 29 | %prep |
c2f2b572 | 30 | %setup -q |
0dc158cd JB |
31 | %patch0 -p1 |
32 | %patch1 -p1 | |
27de4dc5 JR |
33 | |
34 | # don't try to rebuild man pages, | |
35 | # upstream does not provide necessary script | |
36 | touch doc/*.1 | |
e47d0466 | 37 | |
38 | %build | |
e47d0466 | 39 | %{__aclocal} |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | %configure | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
51c239a3 | 48 | |
0b11f7f5 JB |
49 | %{__make} install \ |
50 | DESTDIR=$RPM_BUILD_ROOT | |
e47d0466 | 51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
cadae061 ER |
55 | %post -p /sbin/postshell |
56 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
57 | ||
58 | %postun -p /sbin/postshell | |
59 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
60 | ||
e47d0466 | 61 | %files |
62 | %defattr(644,root,root,755) | |
c2f2b572 | 63 | %doc ChangeLog README |
0dc158cd JB |
64 | %attr(755,root,root) %{_bindir}/vmips |
65 | %attr(755,root,root) %{_bindir}/vmipstool | |
c2f2b572 | 66 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vmipsrc |
3732266e | 67 | %{_includedir}/%{name} |
68 | %{_datadir}/%{name} | |
0dc158cd JB |
69 | %{_mandir}/man1/vmips.1* |
70 | %{_mandir}/man1/vmipstool.1* | |
71 | %{_infodir}/vmips.info* |