Accepting request 211350 from KDE:Qt5

Move away from pkgconfig(...) BuildRequires and just use libqt5-$upstreammodulename-(devel|private-headers-devel)



No hurry to checkin ;-) but it is needed for QtLocation

OBS-URL: https://build.opensuse.org/request/show/211350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtsvg?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2013-12-19 11:44:30 +00:00 committed by Git OBS Bridge
parent 62e85412ce
commit d891e62dc7
2 changed files with 21 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 16 23:19:32 UTC 2013 - hrvoje.senjan@gmail.com
- Make devel packages naming consistent:
use libqt5-$upstreammodulename-(devel, private-headers-devel)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 12 13:42:39 UTC 2013 - hrvoje.senjan@gmail.com Thu Dec 12 13:42:39 UTC 2013 - hrvoje.senjan@gmail.com
- Update to 5.2.0 final: - Update to 5.2.0 final:
@ -90,7 +96,7 @@ Thu Aug 30 11:31:45 UTC 2012 - stephan.binner@basyskom.com
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 24 15:29:20 UTC 2012 - stephan.binner@basyskom.com Thu May 24 15:29:20 UTC 2012 - stephan.binner@basyskom.com
- update to newer Alpha snapshot / Beta candidate - update to newer Alpha snapshot / Beta candidate
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 13 13:22:38 UTC 2012 - stephan.binner@basyskom.com Fri Apr 13 13:22:38 UTC 2012 - stephan.binner@basyskom.com
@ -100,5 +106,5 @@ Fri Apr 13 13:22:38 UTC 2012 - stephan.binner@basyskom.com
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 5 09:56:15 UTC 2012 - dmueller@suse.com Thu Apr 5 09:56:15 UTC 2012 - dmueller@suse.com
- Initial packaging (Qt 5.0 Alpha) - Initial packaging (Qt 5.0 Alpha)

View File

@ -54,22 +54,28 @@ Qt is a set of libraries for developing applications.
This package contains base tools, like string, xml, and network This package contains base tools, like string, xml, and network
handling. handling.
%package -n libQt5Svg-devel %package devel
Summary: Qt Development Kit Summary: Qt Development Kit
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Requires: %libname = %{version} Requires: %libname = %{version}
Requires: libqt5-qtbase-devel >= %{version} Requires: libqt5-qtbase-devel >= %{version}
Provides: libQt5Svg-devel = %{version}
# TODO: change to < on 5.2.1 update
Obsoletes: libQt5Svg-devel <= %{version}
%description -n libQt5Svg-devel %description devel
You need this package, if you want to compile programs with QtSvg. You need this package, if you want to compile programs with QtSvg.
%package -n libQt5Svg-private-headers-devel %package private-headers-devel
Summary: Non-ABI stable experimental API Summary: Non-ABI stable experimental API
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libQt5Svg-devel = %{version} Requires: %{name}-devel = %{version}
Requires: libqt5-qtbase-private-headers-devel >= %{version} Requires: libqt5-qtbase-private-headers-devel >= %{version}
Provides: libQt5Svg-private-headers-devel = %{version}
# TODO: change to < on 5.2.1 update
Obsoletes: libQt5Svg-private-headers-devel <= %{version}
%description -n libQt5Svg-private-headers-devel %description private-headers-devel
This package provides private headers of libqt5-qtsvg that are normally This package provides private headers of libqt5-qtsvg that are normally
not used by application development and that do not have any ABI or not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require API guarantees. The packages that build against these have to require
@ -92,11 +98,11 @@ the exact Qt version.
%{_libqt5_plugindir}/imageformats/libqsvg.so %{_libqt5_plugindir}/imageformats/libqsvg.so
%{_libqt5_plugindir}/iconengines %{_libqt5_plugindir}/iconengines
%files -n libQt5Svg-private-headers-devel %files private-headers-devel
%defattr(-,root,root,755) %defattr(-,root,root,755)
%{_libqt5_includedir}/Qt*/%{so_version} %{_libqt5_includedir}/Qt*/%{so_version}
%files -n libQt5Svg-devel %files devel
%defattr(-,root,root,755) %defattr(-,root,root,755)
%{_libqt5_includedir}/QtSvg %{_libqt5_includedir}/QtSvg
%exclude %{_libqt5_includedir}/Qt*/%{so_version} %exclude %{_libqt5_includedir}/Qt*/%{so_version}