Fixed warning while generated AutoDoc documentation: NewList() is not in Exec.
[AROS.git] / tools / sfdc / gg-sfdc.spec.in
blob02c9346c0321b8ea852f7a0a3f725af2b6677f50
1 %define Name sfdc
2 %define Version @VERSION@
4 Name : gg-%{Name}
5 Version : %{Version}
6 Release : 1
8 Summary : Compile SFD files into someting useful
9 Group : Development/Tools
10 Copyright : GPL
11 URL : http://www.lysator.liu.se/~lcs/files/gg-cross/
13 Source0 : http://www.lysator.liu.se/~lcs/files/gg-cross/%{Name}-%{Version}.tar.gz
14 BuildRoot : /tmp/%{Name}-%{Version}
16 BuildRequires : perl
18 %description
19 sfdc is an open source replacement for Amiga, Inc.'s sfd tool,
20 distributed with NDK 3.9. It is also an replacement for fd2inline.
22 The basis for all work performed by sfdc is the SFD file, which contains
23 all required information about the module and the functions provided.
24 From this information, sfdc can:
26 * Generate an old-style FD file for futher processing with other
27 tools.
29 * Generate a C prototype file, such as those normally found in the
30 Include/clib/ directory.
32 * Generate gcc inlines (actually preprocessor macros) or pragmas for
33 direct library function calls (without going via library stubs).
35 * Generate the Include/proto/ file, which includes the
36 Include/clib/ file and either the inlines or pragmas.
38 * Generate an assembler LVO file, which contains the library offset of
39 all functions in the library.
41 * Generate C stubs, which can be compiled and archived into a stub
42 library.
44 * Generate library gateway stubs, which can be used as part of your
45 module as glue between the module function table and your C
46 functions.
48 Additionally, sfdc does all this for several Amiga-like operating
49 systems: traditional AmigaOS, native Amithlon, AROS and MorphOS.
52 %prep
53 %setup -q -n %{Name}-%{Version}
55 %build
56 %configure
57 make all
60 %install
61 rm -rf ${RPM_BUILD_ROOT}
62 %makeinstall
65 %clean
66 rm -rf ${RPM_BUILD_ROOT}
69 %files
70 %defattr(-,root,root)
71 %doc COPYING sfdc.txt
72 %{_bindir}/*
73 %{_mandir}/man1/*
75 %changelog
76 * Fri Nov 12 2004 Martin Blom <martin@blom.org>
77 - Updated to 1.3.
79 * Thu Jul 27 2003 Martin Blom <martin@blom.org>
80 - Initial rpm.