* Wed Aug 18 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.5.0-4
- package QCH apidocs (-apidocs-qch noarch subpackage)
This commit is contained in:
parent
bb6e0e00dd
commit
5dda981d9c
26
kdelibs.spec
26
kdelibs.spec
|
@ -10,7 +10,7 @@
|
|||
|
||||
Summary: KDE Libraries
|
||||
Version: 4.5.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
Name: kdelibs
|
||||
Epoch: 6
|
||||
|
@ -213,6 +213,20 @@ BuildArch: noarch
|
|||
This package includes the KDE 4 API documentation in HTML
|
||||
format for easy browsing.
|
||||
|
||||
%package apidocs-qch
|
||||
Group: Development/Documentation
|
||||
Summary: KDE 4 API documentation for Qt Assistant
|
||||
# Not strictly required -- Rex
|
||||
# Requires: %{name} = %{?epoch:%{epoch}:}%{version}
|
||||
# Directory ownership (%{_qt4_docdir}/qch)
|
||||
Requires: qt4
|
||||
Provides: kdelibs4-apidocs-qch = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description apidocs-qch
|
||||
This package includes the KDE 4 API documentation in Qt Assistant QCH
|
||||
format for use with the Qt 4 Assistant or KDevelop 4.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n kdelibs-%{version}%{?alphatag}
|
||||
|
@ -304,6 +318,9 @@ install -p -D doc/api/doxygen.sh %{buildroot}%{_kde4_bindir}/kde4-doxygen.sh
|
|||
mkdir -p %{buildroot}%{_kde4_docdir}/HTML/en
|
||||
cp -a kdelibs-%{version}%{?alphatag}-apidocs %{buildroot}%{_kde4_docdir}/HTML/en/kdelibs4-apidocs
|
||||
rm -vf %{buildroot}%{_kde4_docdir}/HTML/en/kdelibs4-apidocs/*.tmp
|
||||
|
||||
mkdir -p %{buildroot}%{_qt_docdir}
|
||||
cp -a qch %{buildroot}%{_qt4_docdir}/qch
|
||||
%endif
|
||||
|
||||
|
||||
|
@ -447,10 +464,17 @@ rm -rf %{buildroot}
|
|||
%files apidocs
|
||||
%defattr(-,root,root,-)
|
||||
%{_kde4_docdir}/HTML/en/kdelibs4-apidocs/
|
||||
|
||||
%files apidocs-qch
|
||||
%defattr(-,root,root,-)
|
||||
%{_qt4_docdir}/qch/*.qch
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 18 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.5.0-4
|
||||
- package QCH apidocs (-apidocs-qch noarch subpackage)
|
||||
|
||||
* Wed Aug 18 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.5.0-3
|
||||
- generate QCH apidocs (try 1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue