Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:javihernandez:Gnome3-a11y
libwebkit3
libwebkit3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libwebkit3.spec of Package libwebkit3
# # spec file for package libwebkit # # Copyright (c) 2011 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 build_for_gtk3 1 %if %{build_for_gtk3} %define _pkgname_no_slpp libwebkitgtk3 %define _sover -3_0-0 %define _sonamever 3.0 %define _develnamever 3 %define _gtkver 3.0 %define _jscver 3 %define _pkgconfig_suffix gtk-3.0 %else %define _pkgname_no_slpp libwebkitgtk2 %define _sover -1_0-0 %define _sonamever 1.0 # empty: #%%define _develnamever %define _gtkver 2.0 %define _jscver 1 %define _pkgconfig_suffix -1.0 %endif Name: libwebkit3 Summary: Library for rendering web content, GTK+ Port Version: 1.4.0 Release: 1 # FIXME: check if make stamp-po is still needed in %build, see https://bugs.webkit.org/show_bug.cgi?id=50612 (last checked: 1.3.11) License: LGPLv2.0 ; LGPLv2.0+ Group: Development/Libraries/C and C++ Url: http://webkit.org/ Source: webkit-%{version}.tar.gz Source1: baselibs.conf BuildRequires: bison BuildRequires: enchant-devel BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel BuildRequires: gperf BuildRequires: gstreamer-0_10-plugins-base-devel %if %{build_for_gtk3} BuildRequires: gtk3-devel %else BuildRequires: gtk2-devel %endif BuildRequires: libgeoclue-devel BuildRequires: libicu-devel BuildRequires: libjpeg-devel BuildRequires: libsoup-devel BuildRequires: libxslt-devel BuildRequires: sqlite3-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description WebKit is a web content engine, derived from KHTML and KJS from KDE, and used primarily in Apple's Safari browser. It is made to be embedded in other applications, such as mail readers, or web browsers. It is able to display content such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and more. %package -n libwebkitgtk%{_sover} Group: Development/Libraries/C and C++ License: LGPLv2.0 ; LGPLv2.0+ Summary: Library for rendering web content, GTK+ Port %if ! %{build_for_gtk3} Provides: libWebKitGtk0 = %{version} Obsoletes: libWebKitGtk0 < %{version} %endif # We provide %{_pkgname_no_slpp}: that's the GTK+ version being used. Provides: %{_pkgname_no_slpp} = %{version} Recommends: %{_pkgname_no_slpp}-lang = %{version} %glib2_gsettings_schema_requires %description -n libwebkitgtk%{_sover} WebKit is a web content engine, derived from KHTML and KJS from KDE, and used primarily in Apple's Safari browser. It is made to be embedded in other applications, such as mail readers, or web browsers. It is able to display content such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and more. %package -n libwebkitgtk%{?_develnamever}-devel License: LGPLv2.0 ; LGPLv2.0+ Group: Development/Libraries/C and C++ Summary: Library for rendering web content, GTK+ Port Requires: libwebkitgtk%{_sover} = %{version} %if ! %{build_for_gtk3} Provides: WebKitGtk-devel = %{version} Obsoletes: WebKitGtk-devel < %{version} Provides: libwebkit-devel = %{version} Obsoletes: libwebkit-devel < %{version} %endif %description -n libwebkitgtk%{?_develnamever}-devel WebKit is a web content engine, derived from KHTML and KJS from KDE, and used primarily in Apple's Safari browser. It is made to be embedded in other applications, such as mail readers, or web browsers. It is able to display content such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and more. %package -n webkit-jsc-%{_jscver} License: LGPLv2.0 ; LGPLv2.0+ Group: Development/Libraries/C and C++ Summary: Library for rendering web content, GTK+ Port Requires: libwebkitgtk%{_sover} = %{version} %if ! %{build_for_gtk3} Provides: webkit-jsc = %{version} Obsoletes: webkit-jsc < %{version} %endif %description -n webkit-jsc-%{_jscver} WebKit is a web content engine, derived from KHTML and KJS from KDE, and used primarily in Apple's Safari browser. It is made to be embedded in other applications, such as mail readers, or web browsers. It is able to display content such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and more. %lang_package -n %{_pkgname_no_slpp} %prep %setup -q -n webkit-%{version} %build %ifarch ppc64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif export CFLAGS=" $RPM_OPT_FLAGS" export CXXFLAGS=" $RPM_OPT_FLAGS" %configure \ --with-gtk=%{_gtkver} \ --enable-geolocation \ --enable-introspection make %{?jobs:-j %jobs} # FIXME: it's only needed because of https://bugs.webkit.org/show_bug.cgi?id=50612 make %{?jobs:-j %jobs} stamp-po %install %makeinstall %find_lang webkit-%{_gtkver} find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %post -n libwebkitgtk%{_sover} /sbin/ldconfig %glib2_gsettings_schema_post %postun -n libwebkitgtk%{_sover} /sbin/ldconfig %glib2_gsettings_schema_postun %clean rm -rf $RPM_BUILD_ROOT %files -n libwebkitgtk%{_sover} %defattr(-,root,root) %doc Source/JavaScriptCore/COPYING.LIB Source/WebCore/LICENSE-APPLE Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1 Source/WebKit/LICENSE Source/WebKit/gtk/NEWS %{_libdir}/libwebkitgtk-%{_sonamever}.so.* %{_datadir}/glib-2.0/schemas/org.webkitgtk-%{_sonamever}.gschema.xml %{_datadir}/webkit-%{_sonamever}/ %{_datadir}/webkitgtk-%{_sonamever}/ %{_libdir}/girepository-1.0/*.typelib %files -n libwebkitgtk%{?_develnamever}-devel %defattr(-,root,root) %{_libdir}/libwebkitgtk-%{_sonamever}.so %{_libdir}/pkgconfig/webkit%{_pkgconfig_suffix}.pc %{_includedir}/webkit-%{_sonamever}/ %{_datadir}/gir-1.0/*.gir %files -n webkit-jsc-%{_jscver} %defattr(-,root,root) %{_bindir}/jsc-%{_jscver} %files -n %{_pkgname_no_slpp}-lang -f webkit-%{_gtkver}.lang %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