]> git.pld-linux.org Git - packages/AsmEdit.git/blob - AsmEdit.spec
- moved source preparation from %build to %prep
[packages/AsmEdit.git] / AsmEdit.spec
1 Summary:        AsmEdit - editor written in assembler
2 Summary(pl):    AsmEdit - edytor napisany w assemblerze
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
10 URL:            http://asmedit.massmind.org/
11 BuildRequires:  nasm
12 BuildRequires:  sed >= 4.1.1
13 BuildArch:      %{ix86}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 AsmEdit is a full featured editor written in assembler. It does not
18 require any libraries. It works in console.
19
20 %description -l pl
21 AsmEdit jest obszernym edytorem napisanym w assemblerze. Nie wymaga
22 ¿adnych bibliotek. Pracuje w konsoli.
23
24 %prep
25 %setup -q -n release
26 %{__sed} -i 's,~/bin,%{_bindir},' Makefile
27 %{__sed} -i 's,/bin/bash,%{___build_shell},' * 
28
29 %build
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
36 mv dir a.dir
37 install a a.dir $RPM_BUILD_ROOT%{_bindir}
38 install a.hlp $RPM_BUILD_ROOT%{_datadir}/%{name}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc change.log bugs.log readme.txt
46 %attr(755,root,root) %{_bindir}/*
47 %{_datadir}/%{name}
This page took 0.058441 seconds and 3 git commands to generate.