[qt5-qtquickcontrols] examples subpkg

Rex Dieter rdieter at fedoraproject.org
Mon Jan 27 13:05:53 UTC 2014


commit 758452ce7c5d4641f28d55ab0c9ad2c9d9a9b039
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Mon Jan 27 07:06:19 2014 -0600

    examples subpkg

 qt5-qtquickcontrols.spec |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/qt5-qtquickcontrols.spec b/qt5-qtquickcontrols.spec
index b01ecc8..688da7a 100644
--- a/qt5-qtquickcontrols.spec
+++ b/qt5-qtquickcontrols.spec
@@ -8,7 +8,7 @@
 Name:           qt5-%{qt_module}
 Version:        5.2.0
 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
 Url:            http://qt-project.org/
 %if 0%{?pre:1}
@@ -39,11 +39,16 @@ Requires: %{name} = %{version}-%{release}
 # for qhelpgenerator
 BuildRequires: qt5-qttools-devel
 BuildArch: noarch
-
 %description doc
 %{summary}.
 %endif
 
+%package examples
+Summary: Programming examples for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description examples
+%{summary}.
+
 
 %prep
 %setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
@@ -84,8 +89,16 @@ make install_docs INSTALL_ROOT=%{buildroot}
 %{_qt5_docdir}/qtquicklayouts/
 %endif
 
+%if 0%{?_qt5_examplesdir:1}
+%files examples
+%{_qt5_examplesdir}/
+%endif
+
 
 %changelog
+* Mon Jan 27 2014 Rex Dieter <rdieter at fedoraproject.org> 5.2.0-2
+- -examples subpkg
+
 * Thu Dec 12 2013 Rex Dieter <rdieter at fedoraproject.org> 5.2.0-1
 - 5.2.0
 


More information about the scm-commits mailing list