1
0

Accepting request 230406 from KDE:Qt5

Split out linguist related binaries and CMake files to separate packages: libqt5-linguist and libqt5-linguist-devel.

This is done so those that need to create translations, don't need to have half of distribution installed. Those that rely on those files be pulled in by libqt5-qttools will see no difference/behavioral changes.

OBS-URL: https://build.opensuse.org/request/show/230406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qttools?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal 2014-04-17 12:11:37 +00:00 committed by Git OBS Bridge
parent 2fb41088df
commit 454dc07d41
2 changed files with 71 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 16 22:13:03 UTC 2014 - hrvoje.senjan@gmail.com
- Split out linguist related binaries and CMake files to separate
packages: libqt5-linguist and libqt5-linguist-devel.
-------------------------------------------------------------------
Tue Mar 25 11:44:16 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -47,6 +47,7 @@ BuildRequires: libqt5-qtbase-private-headers-devel >= %{version}
BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{version}
BuildRequires: libxslt-devel
BuildRequires: update-desktop-files
Recommends: libqt5-linguist
%if %qt5_snapshot
#to create the forwarding headers
BuildRequires: perl
@ -75,6 +76,7 @@ Requires: libQt5CLucene5 = %{version}
Requires: libQt5Designer5 = %{version}
Requires: libQt5DesignerComponents5 = %{version}
Requires: libQt5Help5 = %{version}
Requires: libqt5-linguist-devel = %{version}
Requires: libxslt-devel
%description devel
@ -127,6 +129,22 @@ Group: Development/Libraries/X11
%description -n libQt5Help5
The Qt 5 Help library.
%package -n libqt5-linguist
Summary: Qt 5 Linguist Tools
Group: Development/Libraries/X11
%description -n libqt5-linguist
The Qt 5 Linguist Tools.
%package -n libqt5-linguist-devel
Summary: Qt 5 Linguist Tools - development files
Group: Development/Libraries/X11
Requires: libqt5-linguist = %{version}
Requires: pkgconfig(Qt5Core) >= %{version}
%description -n libqt5-linguist-devel
The Qt 5 Linguist Tools - development files.
%post -p /sbin/ldconfig
%post -n libQt5CLucene5 -p /sbin/ldconfig
@ -196,12 +214,45 @@ popd
%files
%defattr(-,root,root,755)
%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
%_bindir/*
%{_libqt5_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_bindir}/assistant*
%{_bindir}/designer*
%{_bindir}/pixeltool*
%{_bindir}/qcollectiongenerator*
%{_bindir}/qdbus*
%{_bindir}/qdbusviewer*
%{_bindir}/qhelpconverter*
%{_bindir}/qhelpgenerator*
%{_bindir}/qtdiag*
%{_bindir}/qtpaths*
%{_libqt5_bindir}/assistant*
%{_libqt5_bindir}/designer*
%{_libqt5_bindir}/pixeltool*
%{_libqt5_bindir}/qcollectiongenerator*
%{_libqt5_bindir}/qdbus*
%{_libqt5_bindir}/qdbusviewer*
%{_libqt5_bindir}/qhelpconverter*
%{_libqt5_bindir}/qhelpgenerator*
%{_libqt5_bindir}/qtdiag*
%{_libqt5_bindir}/qtpaths*
%{_datadir}/applications/assistant5.desktop
%{_datadir}/applications/designer5.desktop
%{_datadir}/pixmaps/assistant5.png
%{_datadir}/pixmaps/designer5.png
%{_libqt5_libdir}/qt5/plugins/designer
#%_docdir/packages/libqt5
%files -n libqt5-linguist
%defattr(-,root,root,755)
%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
%{_bindir}/lconvert*
%{_bindir}/linguist*
%{_bindir}/lrelease*
%{_bindir}/lupdate*
%{_libqt5_bindir}/lconvert*
%{_libqt5_bindir}/linguist*
%{_libqt5_bindir}/lrelease*
%{_libqt5_bindir}/lupdate*
%{_datadir}/applications/linguist5.desktop
%{_datadir}/pixmaps/linguist5.png
%files -n libQt5CLucene5
%defattr(-,root,root,755)
@ -223,6 +274,12 @@ popd
%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
%{_libqt5_libdir}/libQt5Help.so.*
%files -n libqt5-linguist-devel
%defattr(-,root,root,755)
%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
%{_libqt5_libdir}/cmake/Qt5LinguistTools/
%{_datadir}/qt5/phrasebooks
%files private-headers-devel
%defattr(-,root,root,755)
%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
@ -245,14 +302,15 @@ popd
%{_libqt5_includedir}/QtHelp
%exclude %{_libqt5_includedir}/QtUiTools/%{so_version}
%{_libqt5_includedir}/QtUiTools
%{_libqt5_libdir}/cmake/Qt5*
%{_libqt5_libdir}/cmake/Qt5Designer/
%{_libqt5_libdir}/cmake/Qt5Help/
%{_libqt5_libdir}/cmake/Qt5UiTools/
%{_libqt5_libdir}/libQt5*.prl
%{_libqt5_libdir}/libQt5*.so
%{_libqt5_libdir}/libQt5*.a
%{_libqt5_libdir}/pkgconfig/Qt5*.pc
%{_libqt5_archdatadir}/mkspecs/modules/qt_lib_*.pri
%dir %{_datadir}/qt5
%{_datadir}/qt5/phrasebooks
%files examples
%defattr(-,root,root,755)