Add devhelp book

epel9
Jonathan MERCIER 13 years ago
parent 7450d879a3
commit 528be0781a

1
.gitignore vendored

@ -16,3 +16,4 @@ ldc-20100804hg1655.tar.xz
/ldc-phobos-20111206git2bebc8f.xz /ldc-phobos-20111206git2bebc8f.xz
/ldc-20111206gitfa5fb92.xz /ldc-20111206gitfa5fb92.xz
/ldc-druntime-20111206git24e79c6.xz /ldc-druntime-20111206git24e79c6.xz
/DdocToDevhelp

@ -35,6 +35,7 @@ Source0: %{name}-%{alphatag}.xz
Source1: %{name}-phobos-%{phobostag}.xz Source1: %{name}-phobos-%{phobostag}.xz
Source2: %{name}-druntime-%{druntimetag}.xz Source2: %{name}-druntime-%{druntimetag}.xz
Source3: macros.%{name} Source3: macros.%{name}
Source4: DdocToDevhelp
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: llvm-devel >= 3.0 BuildRequires: llvm-devel >= 3.0
@ -152,6 +153,21 @@ Enable autocompletion for phobos library in geany (IDE)
%description -l fr phobos-geany-tags %description -l fr phobos-geany-tags
Active l'autocompletion pour pour la bibliothèque phobos dans geany (IDE) Active l'autocompletion pour pour la bibliothèque phobos dans geany (IDE)
%package phobos-devhelp
Summary: Phobos user and reference manuals
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
BuildRequires: python
Requires: devhelp
%description phobos-devhelp
User Manual and Reference, Manual are provided in HTML format. You can use
devhelp to browse it.
%description -l fr phobos-devhelp
Manuel et référence, le manuel est fournit au format HTML. Vous pouez utilisez
devhelp pour le parcourir
%prep %prep
%setup -q -n %{name}-%{alphatag} %setup -q -n %{name}-%{alphatag}
%setup -q -T -D -a 1 -n %{name}-%{alphatag} %setup -q -T -D -a 1 -n %{name}-%{alphatag}
@ -175,10 +191,12 @@ make %{?_smp_mflags} install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/%{_sysconfdir}/rpm mkdir -p %{buildroot}/%{_sysconfdir}/rpm
mkdir -p %{buildroot}/%{_includedir}/d/ldc mkdir -p %{buildroot}/%{_includedir}/d/ldc
mkdir -p %{buildroot}/%{_datadir}/geany/tags/ mkdir -p %{buildroot}/%{_datadir}/geany/tags/
mkdir -p %{buildroot}/%{_datadir}/devhelp/books/Phobos
# macros for D package # macros for D package
install --mode=0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.ldc install --mode=0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.ldc
# geany tags # geany tags
install -m0755 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/ install -m0755 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
%{SOURCE4} -n Phobos -s %{buildroot}/%{_includedir}/d/std/ -p %{buildroot}/%{_datadir}
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -225,7 +243,14 @@ rm -rf %{buildroot}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/geany/tags/phobos.d.tags %{_datadir}/geany/tags/phobos.d.tags
%files phobos-devhelp
%defattr(-,root,root,-)
%{_datadir}/devhelp/books/Phobos
%changelog %changelog
* Fri Dec 9 2011 Jonathan MERCIER <bioinfornatics@fedoraproject.org> - 2-9.20111206gitfa5fb92
- Add doc for devhelp
* Wed Dec 6 2011 Jonathan MERCIER <bioinfornatics@fedoraproject.org> - 2-8.20111206gitfa5fb92 * Wed Dec 6 2011 Jonathan MERCIER <bioinfornatics@fedoraproject.org> - 2-8.20111206gitfa5fb92
- Put %%{_d_includedir}/core into druntime-devel package - Put %%{_d_includedir}/core into druntime-devel package

@ -1,3 +1,5 @@
9a95822ae7fefb6c266fd6e96c661dd3 ldc-phobos-20111206git2bebc8f.xz 9a95822ae7fefb6c266fd6e96c661dd3 ldc-phobos-20111206git2bebc8f.xz
d33f4c6fa8996369713f78b61ce07cf6 ldc-20111206gitfa5fb92.xz d33f4c6fa8996369713f78b61ce07cf6 ldc-20111206gitfa5fb92.xz
76175ce1c81e0de72618f52424d6ef56 ldc-druntime-20111206git24e79c6.xz 76175ce1c81e0de72618f52424d6ef56 ldc-druntime-20111206git24e79c6.xz
09e2ccacb217ee9a84b2d68a07e14250 DdocToDevhelp
2207fd2545a5fc62c93e3ba72c89c4ca macros.ldc

Loading…
Cancel
Save