Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Beineri:opt:KDE:Qt5
libqt5-qtgraphicaleffects
libqt5-qtwebkit.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqt5-qtwebkit.spec.in of Package libqt5-qtgraphicaleffects
# # spec file for package libqt5-qtwebkit # # Copyright (c) 2012 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 _prefix /opt/qt-5.0 %define packageprefix opt- Name: %{packageprefix}libQtWebKitWidgets5 # COMMON-VERSION-BEGIN # COMMON-VERSION-END BuildRequires: %{packageprefix}libQtScript-devel BuildRequires: %{packageprefix}libQtQuick-private-headers-devel BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: libicu-devel BuildRequires: libxslt-devel BuildRequires: ruby BuildRequires: flex BuildRequires: bison BuildRequires: gperf BuildRequires: python-xml BuildRequires: procps BuildRequires: xz Url: http://qt.digia.com Summary: Qt 5 WebKit Library License: SUSE-LGPL-2.1-with-nokia-exception-1.1 or GPL-3.0 Group: Development/Libraries/X11 Provides: %{packageprefix}libQtWebKit5 = 4.99.0+4.5.0.beta2 Obsoletes: %{packageprefix}libQtWebKit5 <= 4.99.0+4.5.0.beta2 # COMMON-BEGIN # COMMON-END %package -n %{packageprefix}libQtWebKitWidgets-devel Summary: Qt Development Kit Group: Development/Libraries/X11 Requires: %name = %version Requires: %{packageprefix}libQtScript-devel Requires: %{packageprefix}libQtQuick-devel Requires: gstreamer-0_10-plugins-base-devel Requires: libicu-devel Provides: %{packageprefix}libQtWebKit5-devel = 4.99.0+4.5.0.beta2 Obsoletes: %{packageprefix}libQtWebKit5-devel <= 4.99.0+4.5.0.beta2 %description -n %{packageprefix}libQtWebKitWidgets-devel You need this package, if you want to compile programs with qtwebkit. %package -n %{packageprefix}libQtWebKitWidgets-private-headers-devel Summary: Non-ABI stable experimental API Group: Development/Libraries/C and C++ Requires: %{packageprefix}libQtWebKitWidgets-devel = %version Requires: %{packageprefix}libQtQuick-private-headers-devel Provides: %{packageprefix}libQtWebKit5-private-headers-devel = 4.99.0+4.5.0.beta2 Obsoletes: %{packageprefix}libQtWebKit5-private-headers-devel <= 4.99.0+4.5.0.beta2 %description -n %{packageprefix}libQtWebKitWidgets-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 -p /sbin/ldconfig %postun -p /sbin/ldconfig %build export QTDIR=`pwd`/qtbase export PATH=$PATH:%{_prefix}/bin export QMAKEPATH=`pwd`/qtwebkit/Tools/qmake cd qtwebkit %ifarch ppc64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF" export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF" export LDFLAGS="$LDFLAGS -Wl,--reduce-memory-overheads -Wl,--no-keep-memory" export MAKEFLAGS="-j 1" free -m FREESPACE=`free -m | grep Mem | cut -c15-18` if [ "$FREESPACE" -lt 2048 ]; then echo not enough memory exit 1 fi qmake make %install cd qtwebkit make INSTALL_ROOT=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT/%_libdir -type f -name '*la' -print -exec perl -pi -e 's,-L%{_builddir}/\S+,,g' {} \; find $RPM_BUILD_ROOT/%_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=%_bindir/moc," -e "s,uic_location=.*,uic_location=%_bindir/uic," {} \; %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,755) %dir %_prefix/libexec %_prefix/libexec/QtWebProcess %_prefix/libexec/QtWebPluginProcess %_libdir/libQt5WebKit.so.* %_libdir/libQt5WebKitWidgets.so.* %_libdir/qt5/qml/QtWebKit %files -n %{packageprefix}libQtWebKitWidgets-private-headers-devel %defattr(-,root,root,755) %_includedir/QtWebKit/%{version} %_includedir/QtWebKitWidgets/%{version} %files -n %{packageprefix}libQtWebKitWidgets-devel %defattr(-,root,root,755) %exclude %_includedir/QtWebKit/%{version} %_includedir/QtWebKit %_libdir/cmake/Qt5WebKit %_libdir/libQt5WebKit.la %_libdir/libQt5WebKit.prl %_libdir/libQt5WebKit.so %_libdir/pkgconfig/Qt5WebKit.pc %_libdir/qt5/mkspecs/modules/qt_lib_webkit.pri %exclude %_includedir/QtWebKitWidgets/%{version} %_includedir/QtWebKitWidgets %_libdir/cmake/Qt5WebKitWidgets %_libdir/libQt5WebKitWidgets.la %_libdir/libQt5WebKitWidgets.prl %_libdir/libQt5WebKitWidgets.so %_libdir/pkgconfig/Qt5WebKitWidgets.pc %_libdir/qt5/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