Accepting request 227126 from KDE:Qt5

Build examples

OBS-URL: https://build.opensuse.org/request/show/227126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtsvg?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2014-03-23 21:33:21 +00:00
committed by Git OBS Bridge
parent 0a2187f283
commit dfedc42530
2 changed files with 22 additions and 4 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Mar 21 02:31:22 UTC 2014 - hrvoje.senjan@gmail.com
- Build, and add examples subpackage
- Swap pkgconfig(Qt5Core), pkgconfig(Qt5Gui), pkgconfig(Qt5Widgets)
and pkgconfig(Qt5Xml) BuildRequires, for full libqt5-qtbase-devel,
examples need more modules
-------------------------------------------------------------------
Mon Feb 10 11:19:39 UTC 2014 - mlin@suse.com

View File

@@ -39,10 +39,7 @@ Source: %{tar_version}.tar.xz
BuildRequires: libQt5Core-private-headers-devel >= %{version}
BuildRequires: libQt5Gui-private-headers-devel >= %{version}
BuildRequires: libQt5Widgets-private-headers-devel >= %{version}
BuildRequires: pkgconfig(Qt5Core) >= %{version}
BuildRequires: pkgconfig(Qt5Gui) >= %{version}
BuildRequires: pkgconfig(Qt5Widgets) >= %{version}
BuildRequires: pkgconfig(Qt5Xml) >= %{version}
BuildRequires: libqt5-qtbase-devel >= %{version}
BuildRequires: pkgconfig(zlib)
%if %qt5_snapshot
#to create the forwarding headers
@@ -97,6 +94,14 @@ not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
%package examples
Summary: Qt5 svg examples
Group: Development/Libraries/X11
Recommends: %{name}-devel
%description examples
Examples for libqt5-qtsvg modules.
%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig
@@ -139,4 +144,9 @@ rm -f %{buildroot}%{_libqt5_libdir}/lib*.la
%{_libqt5_libdir}/pkgconfig/Qt5Svg.pc
%{_libqt5_archdatadir}/mkspecs/modules/*.pri
%files examples
%defattr(-,root,root,755)
%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
%{_libqt5_examplesdir}/
%changelog