summaryrefslogtreecommitdiff
path: root/AsmEdit.spec
blob: 5d2b0ed58e7a1f0024ec071fa7959439a8e4be56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Summary:	AsmEdit - editor written in assembler
Summary(pl):	AsmEdit - edytor napisany w asemblerze
Name:		AsmEdit
Version:	0.9.2
Release:	1
License:	GPL
Group:		Applications/Editors
Source0:	http://dl.sourceforge.net/asmedit/%{name}-%{version}.tar.gz
# Source0-md5:	6daef4f78eff08e4ba10abfa8a67ba86
URL:		http://asmedit.massmind.org/
BuildRequires:	nasm
BuildRequires:	sed >= 4.0
ExclusiveArch:	%{ix86}
ExclusiveOS:	Linux
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
AsmEdit is a full featured editor written in assembler. It does not
require any libraries. It works in console.

%description -l pl
AsmEdit jest obszernym edytorem napisanym w asemblerze. Nie wymaga
żadnych bibliotek. Pracuje w konsoli.

%prep
%setup -q -n release
%{__sed} -i 's,~/bin,%{_bindir},' Makefile
%{__sed} -i 's,/bin/bash,%{___build_shell},' a.f* 

%build
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
mv dir a.dir
install a a.dir $RPM_BUILD_ROOT%{_bindir}
install a.hlp $RPM_BUILD_ROOT%{_datadir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc change.log bugs.log readme.txt
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}