examples subpkg

This commit is contained in:
Rex Dieter 2014-01-27 07:12:16 -06:00
parent 426349b408
commit 3ebeab8a4d

View File

@ -6,7 +6,7 @@
Summary: Qt5 - SerialPort component
Name: qt5-%{qt_module}
Version: 5.2.0
Release: 1%{?dist}
Release: 2%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -43,6 +43,12 @@ BuildArch: noarch
%{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}}
@ -92,7 +98,15 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
%{_qt5_docdir}/qtserialport/
%endif
%if 0%{?_qt5_examplesdir:1}
%files examples
%{_qt5_examplesdir}/
%endif
%changelog
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
- -examples subpkg
* Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
- first try