[tango/f17] rebuild with ldc update
MERCIER Jonathan
bioinfornatics at fedoraproject.org
Mon Mar 12 17:26:34 UTC 2012
commit 5f1a45ef058c62674163b45bdade97ed251f4e6e
Author: Jonathan MERCIER <bioinfornatics at gmail.com>
Date: Mon Mar 12 18:26:29 2012 +0100
rebuild with ldc update
tango.spec | 43 ++++++++++++++++++++++---------------------
1 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git a/tango.spec b/tango.spec
index 9474dc4..bfd1482 100644
--- a/tango.spec
+++ b/tango.spec
@@ -11,7 +11,7 @@
Name: tango
Version: 2
-Release: 4.%{alphatag}%{tango_revision}%{?dist}
+Release: 5.%{alphatag}%{tango_revision}%{?dist}
Summary: The Developer's Library for D
Group: Development/Libraries
@@ -136,21 +136,21 @@ Enable autocompletion for tango library in geany (IDE)
%description -l fr geany-tags
Active l'autocompletion pour pour la bibliothèque tango dans geany (IDE)
-# %package devhelp
-# Summary: tango user and reference manuals
-# Group: Development/Tools
-# Requires: %{name} = %{version}-%{release}
-# Requires: devhelp
-# BuildRequires: python, python-BeautifulSoup
-# BuildArch: noarch
+%package devhelp
+Summary: tango user and reference manuals
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}
+Requires: devhelp
+BuildRequires: python, python-BeautifulSoup
+BuildArch: noarch
-# %description devhelp
-# User Manual and Reference, Manual are provided in HTML format. You can use
-# devhelp to browse it.
+%description devhelp
+User Manual and Reference, Manual are provided in HTML format. You can use
+devhelp to browse it.
-# %description -l fr devhelp
-# Manuel et référence, le manuel est fournit au format HTML. Vous pouez utilisez
-# devhelp pour le parcourir.
+%description -l fr devhelp
+Manuel et référence, le manuel est fournit au format HTML. Vous pouez utilisez
+devhelp pour le parcourir.
%prep
@@ -159,14 +159,12 @@ Active l'autocompletion pour pour la bibliothèque tango dans geany (IDE)
rm -rf ./build/bin/*
# fix end of line
find . -type f \( -name "*.d" -or -name "*.xml" \) -exec sed -i 's/\r//' {} \;
-# fix compiler to call
-#sed -i 's/ldmd/ldmd2/g' ./build/script/bob.rb
# temp geany config directory for allow geany to generate tags
mkdir geany_config
%build
#./build/script/bob.rb -v -r ldc -c ldc -p linux .
-make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags}" LIBDIR=%{_libdir} static-lib header pkgfile-static
+make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags}" LIBDIR=%{_libdir} all
# generate geany tags
geany -c geany_config -g tango.d.tags $(find tango/ -name "*.d")
@@ -184,8 +182,8 @@ make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags}" DESTDIR=%{build
install -m0755 tango.d.tags %{buildroot}/%{_datadir}/geany/tags/
# Devhelp
-# python %{SOURCE1} -n Tango -s %{buildroot}%{_d_includedir}/%{name}/ -p %{buildroot}/%{_datadir}
-# find %{buildroot}/%{_datadir}/devhelp/books/Tango -name "*.html" | xargs sed -i "s|%{buildroot}||g"
+python %{SOURCE1} -n Tango -s %{buildroot}%{_d_includedir}/%{name}/ -p %{buildroot}/%{_datadir}
+find %{buildroot}/%{_datadir}/devhelp/books/Tango -name "*.html" | xargs sed -i "s|%{buildroot}||g"
%files devel
%doc README.md LICENSE.txt
@@ -199,10 +197,13 @@ install -m0755 tango.d.tags %{buildroot}/%{_datadir}/geany/tags/
%files geany-tags
%{_datadir}/geany/tags/%{name}.d.tags
-# %files devhelp
-# %{_datadir}/devhelp/books/Tango
+%files devhelp
+%{_datadir}/devhelp/books/Tango
%changelog
+* Mon Mar 12 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-5.20120215git7aec6a1
+- rebuild with ldc update
+
* Thu Feb 16 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-4.20120206gitc6be365
- update to latest tango rev who fix build with dmdfe 2.058
More information about the scm-commits
mailing list