From Fedora Project Wiki

Line 2: Line 2:
== Packaging of Ada programs ==
== Packaging of Ada programs ==


Ada programs in Fedora '''MUST''' be compiled, if possible, using the default Ada compiler in Fedora gcc-gnat. As usual, standard Fedora optimization flags %{optflags} '''MUST''' be used in the compilation. If possible project '''SHOULD''' have makefile and configure script
----


All Ada include files *.adb  and *.ads '''MUST''' be placed in the standard include directory: either directly in %{_includedir}, or if headers have general names or upstream recommends having an own directory, in e.g. %{_includedir}/%{name}.  
Ada programs in Fedora '''MUST''' be compiled, if possible, using the default Ada compiler in Fedora gcc-gnat. As usual, standard Fedora optimization flags <code>%{optflags}</code> '''MUST''' be used in the compilation. If possible project '''SHOULD''' have makefile and configure script


Ada projects files '''MUST''' be placed in %{_libdir}/gnat/ directory  of if project have several *.gpr files in e.g. %{_libdir}/gnat/%{name}.  
All Ada include files <code>*.adb</code>  and <code>*.ads</code> '''MUST''' be placed in the standard include directory: either directly in <code>%{_includedir} </code>, or if headers have general names or upstream recommends having an own directory, in e.g. <code>%{_includedir}/%{name}</code>.
 
Ada projects files '''MUST''' be placed in <code>%{_libdir}/gnat/</code> directory  of if project have several <code>*.gpr</code> files in e.g. <code>  %{_libdir}/gnat/%{name}</code>.  






[[ Category:Packaging guidelines drafts ]]
[[ Category:Packaging guidelines drafts ]]

Revision as of 20:02, 7 February 2011

Packaging of Ada programs


Ada programs in Fedora MUST be compiled, if possible, using the default Ada compiler in Fedora gcc-gnat. As usual, standard Fedora optimization flags %{optflags} MUST be used in the compilation. If possible project SHOULD have makefile and configure script

All Ada include files *.adb and *.ads MUST be placed in the standard include directory: either directly in %{_includedir} , or if headers have general names or upstream recommends having an own directory, in e.g. %{_includedir}/%{name}.

Ada projects files MUST be placed in %{_libdir}/gnat/ directory of if project have several *.gpr files in e.g.  %{_libdir}/gnat/%{name}.