]>
Commit | Line | Data |
---|---|---|
4f47cd76 | 1 | Summary: Graphical simulator for the Intel 8085 microprocessor |
127a3bc1 | 2 | Summary(pl.UTF-8): Graficzny symulator mikroprocesora Intel 8085 |
4f47cd76 | 3 | Name: GNUSim8085 |
4 | Version: 1.2.89 | |
a6573ac5 | 5 | Release: 6 |
4f47cd76 | 6 | License: GPL |
7 | Group: Applications/Engineering | |
8 | Source0: http://dl.sourceforge.net/gnusim8085/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: fe51e74cc1698e8a0548d3865fb7afee | |
10 | Source1: %{name}.desktop | |
11 | Patch0: %{name}-link.patch | |
12 | URL: http://sourceforge.net/projects/gnusim8085/ | |
55efc15c | 13 | BuildRequires: automake |
14 | BuildRequires: autoconf | |
15 | BuildRequires: gettext-devel | |
fae0ade4 | 16 | BuildRequires: gtk+2-devel >= 1:2.0 |
4f47cd76 | 17 | BuildRequires: libgnomeui-devel >= 2.0 |
33766530 | 18 | BuildRequires: libstdc++-devel |
19 | BuildRequires: libtool | |
4f47cd76 | 20 | BuildRequires: pkgconfig |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | GNUSim8085 is a graphical simulator plus assembler with debugger for | |
25 | the Intel 8085 microprocessor. | |
26 | ||
127a3bc1 | 27 | %description -l pl.UTF-8 |
4f47cd76 | 28 | GNUSim8085 jest graficznym symulatorem wraz z asemblerem i debugerem |
29 | dla mikroprocesora Intel 8085. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | %patch0 -p1 | |
34 | ||
35 | %build | |
1be96719 | 36 | %{__libtoolize} |
55efc15c | 37 | %{__gettextize} |
38 | %{__aclocal} | |
39 | %{__automake} | |
40 | %{__autoconf} | |
4f47cd76 | 41 | %configure |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
72c39cd3 | 46 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_mandir}/man1} |
4f47cd76 | 47 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name} |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}/* \ | |
53 | $RPM_BUILD_ROOT%{_pixmapsdir} | |
54 | ||
55 | cp -rf doc/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name} | |
72c39cd3 | 56 | install doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
4f47cd76 | 57 | |
58 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS ChangeLog NEWS README TODO | |
66 | %attr(755,root,root) %{_bindir}/* | |
67 | %{_desktopdir}/*.desktop | |
68 | %{_examplesdir}/%{name} | |
69 | %{_pixmapsdir}/*.png | |
72c39cd3 | 70 | %{_mandir}/man1/* |