diff --git a/.gitignore b/.gitignore index e69de29..cca656b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/qtdoc-opensource-src-5.1.1.tar.xz diff --git a/qt5-qtdoc.spec b/qt5-qtdoc.spec new file mode 100644 index 0000000..44c7347 --- /dev/null +++ b/qt5-qtdoc.spec @@ -0,0 +1,45 @@ + +%global qt_module qtdoc + +Summary: Main Qt5 Reference Documentation +Name: qt5-%{qt_module} +Version: 5.1.1 +Release: 2%{?dist} + +License: GFDL +Url: http://qt-project.org/ +Source0: http://download.qt-project.org/official_releases/qt/5.1/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz +BuildArch: noarch + +BuildRequires: qt5-qttools-devel >= %{version} + +%description +QtDoc contains the main Qt Reference Documentation, which includes +overviews, Qt topics, and examples not specific to any Qt module. + + +%prep +%setup -q -n %{qt_module}-opensource-src-%{version} + + +%build +%{_qt5_qmake} +make docs %{?_smp_mflags} + + +%install +make install_docs INSTALL_ROOT=$RPM_BUILD_ROOT + + +%files +%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt +%{_qt5_docdir}/qtdoc.qch +%{_qt5_docdir}/qtdoc/ + + +%changelog +* Mon Sep 30 2013 Rex Dieter 5.1.1-2 +- License: GFDL + +* Sun Sep 22 2013 Rex Dieter 5.1.1-1 +- Initial packaging diff --git a/sources b/sources index e69de29..3017678 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +038dc2cbd242e6d8b9a8320c67692320 qtdoc-opensource-src-5.1.1.tar.xz