]>
Commit | Line | Data |
---|---|---|
85d0e0f2 | 1 | Summary: AsmEdit - editor written in assembler |
7a714f6d | 2 | Summary(pl.UTF-8): AsmEdit - edytor napisany w asemblerze |
85d0e0f2 | 3 | Name: AsmEdit |
4 | Version: 0.9.2 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Editors | |
8 | Source0: http://dl.sourceforge.net/asmedit/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 6daef4f78eff08e4ba10abfa8a67ba86 | |
79802ab0 | 10 | URL: http://asmedit.massmind.org/ |
11 | BuildRequires: nasm | |
6daf958d | 12 | BuildRequires: sed >= 4.0 |
a638435f | 13 | ExclusiveArch: %{ix86} |
14 | ExclusiveOS: Linux | |
85d0e0f2 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | AsmEdit is a full featured editor written in assembler. It does not | |
19 | require any libraries. It works in console. | |
20 | ||
f4d79401 | 21 | %description -l pl.UTF-8 |
aa558a09 | 22 | AsmEdit jest obszernym edytorem napisanym w asemblerze. Nie wymaga |
f4d79401 | 23 | żadnych bibliotek. Pracuje w konsoli. |
85d0e0f2 | 24 | |
25 | %prep | |
26 | %setup -q -n release | |
79802ab0 | 27 | %{__sed} -i 's,~/bin,%{_bindir},' Makefile |
d6ab7dd3 | 28 | %{__sed} -i 's,/bin/bash,%{___build_shell},' a.f* |
85d0e0f2 | 29 | |
30 | %build | |
79802ab0 | 31 | %{__make} |
85d0e0f2 | 32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} | |
37 | mv dir a.dir | |
38 | install a a.dir $RPM_BUILD_ROOT%{_bindir} | |
39 | install a.hlp $RPM_BUILD_ROOT%{_datadir}/%{name} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc change.log bugs.log readme.txt | |
47 | %attr(755,root,root) %{_bindir}/* | |
48 | %{_datadir}/%{name} |