|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
# debug info seem not works with D compiler
|
|
|
|
|
%global snapdate 20120811
|
|
|
|
|
%global ldc_rev 34d595d
|
|
|
|
|
%global phobos_rev 52b15ed
|
|
|
|
|
%global druntime_rev 675c3e1
|
|
|
|
|
%global snapdate 20120921
|
|
|
|
|
%global ldc_rev 8968103
|
|
|
|
|
%global phobos_rev 3b5393f
|
|
|
|
|
%global druntime_rev ea1c20f
|
|
|
|
|
%global alphatag %{snapdate}git%{ldc_rev}
|
|
|
|
|
%global phobostag %{snapdate}git%{phobos_rev}
|
|
|
|
|
%global druntimetag %{snapdate}git%{druntime_rev}
|
|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
# cd ldc; git submodule update -i
|
|
|
|
|
# git rev-parse --short HEAD -> for ldc_rev
|
|
|
|
|
# git checkout %%ldc_rev
|
|
|
|
|
# git archive --prefix=ldc-%%{alphatag}/ HEAD --format=tar | xz > ../ldc-%%{alphatag}.xz
|
|
|
|
|
# git archive --prefix=ldc-%%{alphatag}/ HEAD --format=tar | xz > ../ldc-%%{alphatag}.tar.xz
|
|
|
|
|
# cd runtime/druntime; git rev-parse --short HEAD -> for druntime_rev
|
|
|
|
|
# git archive --prefix=runtime/druntime/ HEAD --format=tar | xz > ../../../ldc-druntime-%%{druntimetag}.tar.xz
|
|
|
|
|
# cd ../phobos; git rev-parse --short HEAD -> for phobos_rev
|
|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
|
|
|
|
|
Name: ldc
|
|
|
|
|
Version: 2
|
|
|
|
|
Release: 28.%{alphatag}%{?dist}
|
|
|
|
|
Release: 29.%{alphatag}%{?dist}
|
|
|
|
|
Summary: A compiler for the D programming language
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
@ -190,7 +190,7 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
|
%postun phobos -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc LICENSE readme.txt
|
|
|
|
|
%doc LICENSE README
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/ldc2.rebuild.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/ldc2.conf
|
|
|
|
|
%config %{_sysconfdir}/rpm/macros.ldc
|
|
|
|
@ -199,9 +199,9 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
|
%{_bindir}/ldmd2
|
|
|
|
|
|
|
|
|
|
%files druntime
|
|
|
|
|
%doc runtime/druntime/LICENSE_1_0.txt runtime/druntime/README.txt
|
|
|
|
|
%{_libdir}/libdruntime-ldc.so.2.0.59
|
|
|
|
|
%{_libdir}/libdruntime-ldc.so.59
|
|
|
|
|
%doc runtime/druntime/LICENSE runtime/druntime/README
|
|
|
|
|
%{_libdir}/libdruntime-ldc.so.2.0.60
|
|
|
|
|
%{_libdir}/libdruntime-ldc.so.60
|
|
|
|
|
|
|
|
|
|
%files druntime-devel
|
|
|
|
|
%{_includedir}/d/ldc
|
|
|
|
@ -210,10 +210,11 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
|
|
|
|
|
|
%files phobos
|
|
|
|
|
%doc runtime/phobos/LICENSE_1_0.txt
|
|
|
|
|
%{_libdir}/libphobos-ldc.so.2.0.59
|
|
|
|
|
%{_libdir}/libphobos-ldc.so.59
|
|
|
|
|
%{_libdir}/libphobos-ldc.so.2.0.60
|
|
|
|
|
%{_libdir}/libphobos-ldc.so.60
|
|
|
|
|
|
|
|
|
|
%files phobos-devel
|
|
|
|
|
%{_includedir}/d
|
|
|
|
|
%{_includedir}/d/crc32.d
|
|
|
|
|
%{_includedir}/d/std
|
|
|
|
|
%{_includedir}/d/etc
|
|
|
|
@ -224,6 +225,10 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 26 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-29.20120921git8968103
|
|
|
|
|
- ldc own D include dir
|
|
|
|
|
- Update to dmdfe 2.060
|
|
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-28.20120811git34d595d
|
|
|
|
|
- Update ldc
|
|
|
|
|
|
|
|
|
|