diff --git a/.gitignore b/.gitignore index 8d68f70..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,47 +0,0 @@ -ldc-20100609hg1653.tar.xz -ldc-20100609hg1654.tar.xz -ldc-20100804hg1655.tar.xz -/ldc-20100804hg1655.tar.xz -/ldc-20100905hg1659.tar.xz -/ldc-20100927hg1664.tar.xz -/ldc-20101105hg1697.tar.xz -/ldc-20100102hg1705.tar.xz -/ldc-20110115hg1832.tar.xz -/ldc-20110901git58d40d2.tar.xz -/ldc_fix_build.patch -/ldc-20110915git423076d.tar.xz -/ldc-druntime-20110915gitfba10fa.tar.xz -/ldc-phobos-20110915gita8106d9.tar.xz -/macros.ldc -/ldc-phobos-20111206git2bebc8f.xz -/ldc-20111206gitfa5fb92.xz -/ldc-druntime-20111206git24e79c6.xz -/DdocToDevhelp -/ldc-201210207git72d510c.xz -/ldc-phobos-201210207git1f6264e.xz -/ldc-druntime-201210207git4db79c7.xz -/ldc-201210215git5af48ed.xz -/ldc-druntime-201210215git3645d7e.xz -/ldc-phobos-201210215git2cc90b1.xz -/ldc_versionned.patch -/ldc-druntime-201210307git3645d7e.xz -/ldc-phobos-201210307git2cc90b1.xz -/ldc-201210307git43667e1.xz -/ldc-20120720git5f15b30.xz -/ldc-druntime-20120720git97ce46c.xz -/ldc-phobos-20120720git52b15ed.xz -/ldc-20120725git09b095e.xz -/ldc-phobos-20120725git52b15ed.xz -/ldc-druntime-20120725git97ce46c.xz -/ldc-20120811git34d595d.tar.xz -/ldc-phobos-20120811git52b15ed.tar.xz -/ldc-druntime-20120811git675c3e1.tar.xz -/ldc-20120921git8968103.tar.xz -/ldc-druntime-20120921gitea1c20f.tar.xz -/ldc-phobos-20120921git3b5393f.tar.xz -/ldc-20121003gitb8e62b8.tar.xz -/ldc-phobos-20121003git3b5393f.tar.xz -/ldc-druntime-20121003gitea1c20f.tar.xz -/ldc-20130623git9facd25.tar.xz -/ldc-druntime-20130623gita245e8d.tar.xz -/ldc-phobos-20130623git9fe205f.tar.xz diff --git a/macros.ldc b/macros.ldc new file mode 100644 index 0000000..076cf7d --- /dev/null +++ b/macros.ldc @@ -0,0 +1,9 @@ +# +# RPM macros for D applications. +# +# Include directory where all .di or .d file are installed. +%_d_includedir %{_includedir}/d +# Compile options for ldc and make file +%_d_optflags -release -w -g -O3 +# Lib directory path +%_d_libdir %{_libdir}/d/