Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
libqt5-qtwebkit
libqt5-qtwebkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqt5-qtwebkit.spec of Package libqt5-qtwebkit
# # spec file for package libqt5-qtwebkit # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libname libQt5WebKitWidgets5 Name: libqt5-qtwebkit Version: 5.1.1 Release: 0 BuildRequires: libQt5Quick-private-headers-devel >= %{version} %define base_name libqt5 %define real_version 5.1.1 %define so_version 5.1.1 %define tar_version qtwebkit-opensource-src-%{real_version} BuildRequires: libQt5Script-devel >= %{version} %if 0%{?suse_version} < 1320 BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gstreamer-app-0.10) BuildRequires: pkgconfig(gstreamer-base-0.10) BuildRequires: pkgconfig(gstreamer-interfaces-0.10) BuildRequires: pkgconfig(gstreamer-pbutils-0.10) BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) BuildRequires: pkgconfig(gstreamer-video-0.10) %else BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gstreamer-pbutils-1.0) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) %endif Summary: Qt 5 WebKit Library License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0 Group: Development/Libraries/X11 Url: http://qt.digia.com Source: %{tar_version}.tar.xz # PATCH-FIX-UPSTREAM bison3.patch -- fixes build with bison3 Patch0: bison3.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch130: no-Werror-rpath.diff BuildRequires: bison BuildRequires: flex BuildRequires: gperf BuildRequires: libicu-devel BuildRequires: libxslt-devel BuildRequires: procps BuildRequires: python-xml BuildRequires: ruby BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Qt is a set of libraries for developing applications. This package contains base tools, like string, xml, and network handling. %prep %setup -q -n qtwebkit-opensource-src-%{real_version} %patch0 -p1 %patch130 -p1 %package -n %libname Summary: Qt 5 WebKit Library Group: Development/Libraries/X11 Provides: libQtWebKit5 = 4.99.0+4.5.0.beta2 Obsoletes: libQtWebKit5 < 4.99.0+4.5.0.beta2 %description -n %libname Qt is a set of libraries for developing applications. This package contains base tools, like string, xml, and network handling. %package -n libQt5WebKit5 Summary: Qt Development Kit Group: Development/Libraries/X11 Provides: libQt5WebKitWidgets5:/usr/libexec/QtWebPluginProcess %description -n libQt5WebKit5 You need this package, if you want to compile programs with qtwebkit. %package -n libQt5WebKitWidgets-devel Summary: Qt Development Kit Group: Development/Libraries/X11 Requires: %libname = %{version} Requires: libQt5WebKit5-devel = %{version} %description -n libQt5WebKitWidgets-devel You need this package, if you want to compile programs with qtwebkit. %package -n libQt5WebKit5-devel Summary: Qt Development Kit Group: Development/Libraries/X11 Requires: libQt5Quick-private-headers-devel >= %{version} Requires: libQt5Script-devel >= %{version} Requires: libQt5WebKit5 = %{version} Requires: libicu-devel Requires: libxslt-devel %if 0%{?suse_version} < 1320 Requires: pkgconfig(gstreamer-0.10) Requires: pkgconfig(gstreamer-app-0.10) Requires: pkgconfig(gstreamer-base-0.10) Requires: pkgconfig(gstreamer-interfaces-0.10) Requires: pkgconfig(gstreamer-pbutils-0.10) Requires: pkgconfig(gstreamer-plugins-base-0.10) Requires: pkgconfig(gstreamer-video-0.10) %else Requires: pkgconfig(gstreamer-1.0) Requires: pkgconfig(gstreamer-app-1.0) Requires: pkgconfig(gstreamer-base-1.0) Requires: pkgconfig(gstreamer-pbutils-1.0) Requires: pkgconfig(gstreamer-plugins-base-1.0) Requires: pkgconfig(gstreamer-video-1.0) %endif %description -n libQt5WebKit5-devel You need this package, if you want to compile programs with qtwebkit. %package -n libQt5WebKitWidgets-private-headers-devel Summary: Non-ABI stable experimental API Group: Development/Libraries/C and C++ Requires: libQt5WebKit-private-headers-devel = %{version} Provides: libQtWebKit-private-headers-devel = 4.99.0+4.5.0.beta1 Obsoletes: libQtWebKit-private-headers-devel < 4.99.0+4.5.0.beta1 %description -n libQt5WebKitWidgets-private-headers-devel This package provides private headers of libqt5-qtwebkit that are normally 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 -n libQt5WebKit-private-headers-devel Summary: Non-ABI stable experimental API Group: Development/Libraries/C and C++ Requires: libQt5Quick-private-headers-devel >= %{version} Requires: libQt5WebKit5-devel = %{version} Provides: libQt5WebKitWidgets-private-headers-devel:/usr/include/QtWebKit/5.0.0/QtWebKit/private/util.h %description -n libQt5WebKit-private-headers-devel This package provides private headers of libqt5-qtwebkit that are normally 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. %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %post -n libQt5WebKit5 -p /sbin/ldconfig %postun -n libQt5WebKit5 -p /sbin/ldconfig %build export PATH=%{_libqt5_bindir}:$PATH export QMAKEPATH=`pwd`/qtwebkit/Tools/qmake %ifarch ppc64 RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %endif export CXXFLAGS="$CXXFLAGS %{optflags} -DOPENSSL_LOAD_CONF" export CFLAGS="$CFLAGS %{optflags} -DOPENSSL_LOAD_CONF" export LDFLAGS="$LDFLAGS -Wl,--reduce-memory-overheads -Wl,--no-keep-memory" qmake make %install make INSTALL_ROOT=%{buildroot} install find %{buildroot}/%{_libqt5_libdir} -type f -name '*la' -print -exec perl -pi -e 's,-L%{_builddir}/\S+,,g' {} \; find %{buildroot}/%{_libqt5_libdir} -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%{_lib}qt5_bindir/moc," -e "s,uic_location=.*,uic_location=%{_lib}qt5_bindir/uic," {} \; %clean rm -rf %{buildroot} %files -n %libname %defattr(-,root,root,755) %dir %{_libqt5_libexecdir} %{_libqt5_libexecdir}/QtWebProcess %{_libqt5_libdir}/libQt5WebKitWidgets.so.* %files -n libQt5WebKit5 %defattr(-,root,root,755) %{_libqt5_libdir}/libQt5WebKit.so.* %{_libqt5_libexecdir}/QtWebPluginProcess %{_libqt5_archdatadir}/qml/QtWebKit %files -n libQt5WebKitWidgets-private-headers-devel %defattr(-,root,root,755) %{_libqt5_includedir}/QtWebKitWidgets/%{so_version} %files -n libQt5WebKit-private-headers-devel %defattr(-,root,root,755) %{_libqt5_includedir}/QtWebKit/%{so_version} %files -n libQt5WebKit5-devel %defattr(-,root,root,755) %exclude %{_libqt5_includedir}/QtWebKit/%{so_version} %{_libqt5_includedir}/QtWebKit %{_libqt5_libdir}/cmake/Qt5WebKit %{_libqt5_libdir}/libQt5WebKit.la %{_libqt5_libdir}/libQt5WebKit.prl %{_libqt5_libdir}/libQt5WebKit.so %{_libqt5_libdir}/pkgconfig/Qt5WebKit.pc %{_libqt5_archdatadir}/mkspecs/modules/qt_lib_webkit.pri %files -n libQt5WebKitWidgets-devel %defattr(-,root,root,755) %exclude %{_libqt5_includedir}/QtWebKitWidgets/%{so_version} %{_libqt5_includedir}/QtWebKitWidgets %{_libqt5_libdir}/cmake/Qt5WebKitWidgets %{_libqt5_libdir}/libQt5WebKitWidgets.la %{_libqt5_libdir}/libQt5WebKitWidgets.prl %{_libqt5_libdir}/libQt5WebKitWidgets.so %{_libqt5_libdir}/pkgconfig/Qt5WebKitWidgets.pc %{_libqt5_archdatadir}/mkspecs/modules/qt_lib_webkitwidgets.pri %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor