Spec URL: http://pgordon.fedorapeople.org/for-review/WebKitGtk.spec SRPM URL: http://pgordon.fedorapeople.org/for-review/WebKitGtk-1.0.0-0.1.svn28383.src.rpm Description: WebKit is an open source web browser engine. This package contains the GTK+ port. Note that even though both the Qt and GTK+ ports come from the same source tarball, upstream has advised me that they are not intended to be built together. (Indeed, attempting to do so causes quite catastrophic linking errs due to multiple symbol definitions, etc.) rpmlint also has some small complaints: > WebKitGtk-devel.x86_64: E: only-non-binary-in-usr-lib This is ignorable, as the devel subpackage contains only the DSO symlink, header files, and some other build data (such as a pkgconfig file). > WebKitGtk.x86_64: W: no-documentation > WebKitGtk-devel.x86_64: W: no-documentation This is also ignorable. Currently, upstream does not ship anything which would be appropriate documentation. I've filed upstream bug #16300 to inquire about shipping a LICENSE file or similar.
actually i am building it in one package quite fine since a while now. i will show you how. btw why are you using that script at all to build when you can directly invoke qmake? install -d build-gtk pushd build-gtk qmake-qt4 -r OUTPUT_DIR="$PWD" QMAKE_STRIP=/bin/true QMAKE_RPATH= QMAKE_CFLAGS="%{optflags}" QMAKE_CXXFLAGS="%{optflags}" VERSION=%{version} CONFIG-=qt-port CONFIG+=gtk-port WEBKIT_INC_DIR=%{_includedir}/WebKit WEBKIT_LIB_DIR=%{_libdir} ../WebKit.pro make popd install -d build-qt pushd build-qt qmake-qt4 -r OUTPUT_DIR="$PWD" QMAKE_STRIP=/bin/true QMAKE_RPATH= QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags" VERSION=%{version} CONFIG+=qt-port WEBKIT_INC_DIR=%{_includedir}/WebKit WEBKIT_LIB_DIR=%{_libdir} ../WebKit.pro make popd ##thats for the build section and below there is the install section that wfm: rm -rf $RPM_BUILD_ROOT make -C build-gtk install INSTALL_ROOT=$RPM_BUILD_ROOT install -d %{buildroot}%{_libdir}/%{name} install -m 755 build-gtk/WebKitTools/GtkLauncher/GtkLauncher %{buildroot}%{_libdir}/WebKit make -C build-qt install INSTALL_ROOT=$RPM_BUILD_ROOT install -d %{buildroot}%{_libdir}/WebKit install -m 755 build-qt/bin/QtLauncher $RPM_BUILD_ROOT%{_libdir}/%{name} install -m 755 build-qt/WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree $RPM_BUILD_ROOT%{_libdir}/WebKit
the above stuff was just hacked together in a few minutes and of course it can be prettyfied more.
Yeah, I had seen that in the Debian packaging and attempted to do something similar, but the install step always failed due to the build not being put in the proper location. I will try what you have posted and create a package which includes both. Thanks!
Okay, I've got it working building both at once. Now I'll just clean up the spec a bit and make it use proper subpackages/etc. I'll post a new review request for that when it's complete (should be very shortly). Thanks!
Package renamed to WebKit; so marking this as a duplicate of that new review request. *** This bug has been marked as a duplicate of 415211 ***