[packages/qt5-qtdoc] - new

witekfl witekfl at pld-linux.org
Tue Dec 31 16:55:57 CET 2013


commit 715c0fad8985d3537607711fc092f764516bb909
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Dec 31 16:55:40 2013 +0100

    - new

 qt5-qtdoc.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
---
diff --git a/qt5-qtdoc.spec b/qt5-qtdoc.spec
new file mode 100644
index 0000000..697d09d
--- /dev/null
+++ b/qt5-qtdoc.spec
@@ -0,0 +1,51 @@
+# TODO:
+# - cleanup
+
+%define		orgname		qtdoc
+Summary:	The Qt5 Qtdoc
+Name:		qt5-%{orgname}
+Version:	5.2.0
+Release:	0.1
+License:	LGPL v2.1 or GPL v3.0
+Group:		X11/Libraries
+Source0:	http://download.qt-project.org/official_releases/qt/5.2/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz
+# Source0-md5:	76936bc86bb0b58cc340c5b9e4a24308
+URL:		http://qt-project.org/
+BuildRequires:	qt5-qtbase-devel = %{version}
+BuildRequires:	qt5-qttools-devel = %{version}
+BuildRequires:	rpmbuild(macros) >= 1.654
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautoreqdep	libGL.so.1 libGLU.so.1
+%define		_noautostrip	'.*_debug\\.so*'
+
+%define		specflags	-fno-strict-aliasing
+%define		_qtdir		%{_libdir}/qt5
+
+%description
+qtdoc contains the main Qt Reference Documentation, which includes
+overviews, Qt topics, and examples not specific to any Qt module.The
+configuration files are located in qtdoc/doc/config and the articles
+in qtdoc/doc/src. Note that QDoc is located in qtbase.
+
+%prep
+%setup -q -n %{orgname}-opensource-src-%{version}
+
+%build
+qmake-qt5
+%{__make}
+%{__make} docs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%{__make} install_docs \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_docdir}/qt5-doc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtdoc.git/commitdiff/715c0fad8985d3537607711fc092f764516bb909



More information about the pld-cvs-commit mailing list