examples subpkg

This commit is contained in:
Rex Dieter 2014-01-27 07:06:19 -06:00
parent e1f320359c
commit 758452ce7c

View File

@ -8,7 +8,7 @@
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.2.0 Version: 5.2.0
Summary: Qt5 - module with set of QtQuick controls Summary: Qt5 - module with set of QtQuick controls
Release: 1%{?dist} Release: 2%{?dist}
License: BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL License: BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL
Url: http://qt-project.org/ Url: http://qt-project.org/
%if 0%{?pre:1} %if 0%{?pre:1}
@ -39,11 +39,16 @@ Requires: %{name} = %{version}-%{release}
# for qhelpgenerator # for qhelpgenerator
BuildRequires: qt5-qttools-devel BuildRequires: qt5-qttools-devel
BuildArch: noarch BuildArch: noarch
%description doc %description doc
%{summary}. %{summary}.
%endif %endif
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%prep %prep
%setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}} %setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
@ -84,8 +89,16 @@ make install_docs INSTALL_ROOT=%{buildroot}
%{_qt5_docdir}/qtquicklayouts/ %{_qt5_docdir}/qtquicklayouts/
%endif %endif
%if 0%{?_qt5_examplesdir:1}
%files examples
%{_qt5_examplesdir}/
%endif
%changelog %changelog
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
- -examples subpkg
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1 * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
- 5.2.0 - 5.2.0