[tango/f17] update spec file
MERCIER Jonathan
bioinfornatics at fedoraproject.org
Wed Jun 6 21:04:42 UTC 2012
commit 089448d3cc7f4bb431c6b800244094f03076b005
Author: Jonathan MERCIER <bioinfornatics at gmail.com>
Date: Wed Jun 6 23:04:34 2012 +0200
update spec file
tango.spec | 33 ++++++---------------------------
1 files changed, 6 insertions(+), 27 deletions(-)
---
diff --git a/tango.spec b/tango.spec
index f6edb5e..638ffa6 100644
--- a/tango.spec
+++ b/tango.spec
@@ -11,7 +11,7 @@
Name: tango
Version: 2
-Release: 5.%{alphatag}%{tango_revision}%{?dist}
+Release: 6.%{alphatag}%{tango_revision}%{?dist}
Summary: The Developer's Library for D
Group: Development/Libraries
@@ -22,7 +22,6 @@ Group: Development/Libraries
License: AFL or BSD
URL: http://www.dsource.org/projects/tango
Source0: %{name}-%{alphatag}%{tango_revision}.xz
-Source1: DdocToDevhelp
BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel
BuildRequires: gcc, make
@@ -88,6 +87,7 @@ gamme qu'elle propose.
%package doc
Summary: Documentation and examples for %{name}
Group: Documentation
+Provides: %{name} = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
BuildArch: noarch
@@ -125,6 +125,7 @@ Exemple en:
%package geany-tags
Summary: Support for enable autocompletion in geany
Group: Development/Tools
+Provides: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: geany
BuildRequires: geany
@@ -136,23 +137,6 @@ 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
-
-%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.
-
-
%prep
%setup -q -n %{name}-%{alphatag}%{tango_revision}
# remove binaries
@@ -164,8 +148,6 @@ mkdir geany_config
%build
#./build/script/bob.rb -v -r ldc -c ldc -p linux .
-
-cat /usr/include/d/core/exception.di
make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags}" LIBDIR=%{_libdir} DCFLAGS_IMPORT="-Itango" all
# generate geany tags
@@ -183,10 +165,6 @@ make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags} -d" DESTDIR=%{bu
# Geany tag
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"
-
%files devel
%doc README.md LICENSE.txt
%{_libdir}/lib%{name}-ldc.a
@@ -199,10 +177,11 @@ find %{buildroot}/%{_datadir}/devhelp/books/Tango -name "*.html" | xargs sed -i
%files geany-tags
%{_datadir}/geany/tags/%{name}.d.tags
-%files devhelp
-%{_datadir}/devhelp/books/Tango
%changelog
+* Wed Jun 06 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-6.2012021gitb3f47b9
+- fix spec file
+
* Fri May 25 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-5.2012021gitb3f47b9
- update to latest tango rev, with dmdfe 2.059
More information about the scm-commits
mailing list