]> git.pld-linux.org Git - packages/qt5-qtdoc.git/commitdiff
- new
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 31 Dec 2013 15:55:40 +0000 (16:55 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 31 Dec 2013 15:55:40 +0000 (16:55 +0100)
qt5-qtdoc.spec [new file with mode: 0644]

diff --git a/qt5-qtdoc.spec b/qt5-qtdoc.spec
new file mode 100644 (file)
index 0000000..697d09d
--- /dev/null
@@ -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
This page took 0.123919 seconds and 4 git commands to generate.