]>
Commit | Line | Data |
---|---|---|
ff1acbd8 | 1 | Summary: Multi-target portable assembler |
5701e875 | 2 | Summary(pl.UTF-8): Przenośny asembler dla wielu rodzin procesorów |
ff1acbd8 JB |
3 | Name: asl |
4 | Version: 1.41r8 | |
b2901a79 | 5 | Release: 8 |
de7b4c0d | 6 | License: GPL-like |
ff1acbd8 | 7 | Group: Development/Languages |
bcf08ab3 | 8 | Source0: ftp://sunsite.unc.edu/pub/Linux/devel/lang/assemblers/%{name}-%{version}.tar.gz |
b5024bd8 | 9 | # Source0-md5: f8b34f1acb48663243402b43f6070fd3 |
ff1acbd8 | 10 | Source1: %{name}-Makefile.def |
bbbe825e | 11 | Patch0: %{name}-morearchs.patch |
10c0bb6e | 12 | URL: http://john.ccac.rwth-aachen.de:8000/as/index.html |
ff1acbd8 | 13 | BuildRequires: tetex-dvips |
524543bc | 14 | BuildRequires: tetex-format-latex |
10c0bb6e | 15 | BuildRequires: tetex-latex |
bbbe825e | 16 | BuildRequires: tetex-makeindex |
10c0bb6e | 17 | BuildRequires: tetex-tex-german |
72d3110b | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ff1acbd8 JB |
19 | |
20 | %description | |
21 | A general purpose multi-target macro assembler with supporting tools. | |
22 | This assembler supports many targets including some PIC's and DSP's. | |
23 | ||
4744d23c JR |
24 | %description -l pl.UTF-8 |
25 | Makroasembler ogólnego przeznaczenia wraz z narzędziami. Potrafi | |
26 | generować kod dla wielu rodzin układów, także dla procesorów | |
27 | sygnałowych. | |
984ab307 | 28 | |
ff1acbd8 JB |
29 | %prep |
30 | %setup -q | |
bbbe825e JB |
31 | %patch0 -p1 |
32 | ||
ff1acbd8 JB |
33 | install %{SOURCE1} Makefile.def |
34 | ||
35 | %build | |
bbbe825e JB |
36 | %{__make} all docs \ |
37 | CC="%{__cc}" \ | |
38 | LD="%{__cc}" \ | |
39 | CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -Wall" \ | |
40 | LIBDIR="%{_libdir}/asl" | |
ff1acbd8 JB |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | # asl's make install requires mkdirhier (from XFree) and always strips binaries | |
e7651cbf | 45 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/%{name},%{_mandir}/man1,%{_libdir}/asl} \ |
46 | $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
47 | ||
ff1acbd8 JB |
48 | install asl pbind plist p2bin p2hex $RPM_BUILD_ROOT%{_bindir} |
49 | install asl.1 pbind.1 plist.1 p2bin.1 p2hex.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
50 | install include/* $RPM_BUILD_ROOT%{_includedir}/%{name} | |
51 | ||
6eb15515 | 52 | install *.msg $RPM_BUILD_ROOT%{_libdir}/asl |
ff1acbd8 | 53 | |
e7651cbf | 54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
ff1acbd8 JB |
57 | %files |
58 | %defattr(644,root,root,755) | |
de7b4c0d | 59 | %doc README doc_EN/as.doc |
dbf4d55d | 60 | %lang(de) %doc doc_DE/as.doc |
ff1acbd8 JB |
61 | %attr(755,root,root) %{_bindir}/* |
62 | %{_mandir}/man1/* | |
63 | %{_includedir}/asl | |
64 | %{_libdir}/asl |