Add examples sub-package

This commit is contained in:
Pier Luigi Fiorini 2016-02-18 08:52:51 +01:00
parent f203ef866c
commit 08e40585b6

View File

@ -67,6 +67,13 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%{summary}. %{summary}.
%package examples
Summary: Examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%prep %prep
%setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}} %setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}
@ -140,6 +147,9 @@ popd
%files static %files static
%{_qt5_libdir}/libQt5LabsControls.a %{_qt5_libdir}/libQt5LabsControls.a
%files examples
%{_qt5_examplesdir}/qtlabscontrols/
%changelog %changelog
* Thu Feb 18 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 5.6.0-0.3.rc * Thu Feb 18 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 5.6.0-0.3.rc