Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
libwebkit
libwebkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libwebkit.spec of Package libwebkit
# # 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/ # Name: libwebkit Url: http://webkit.org/ BuildRequires: bison BuildRequires: enchant-devel BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: gperf BuildRequires: gtk2-devel BuildRequires: libicu-devel BuildRequires: libjpeg-devel BuildRequires: libsoup-devel BuildRequires: libxslt-devel BuildRequires: sqlite3-devel BuildRequires: libgeoclue-devel %if 0%{?suse_version} >= 1130 BuildRequires: gir-repository BuildRequires: gobject-introspection-devel BuildRequires: gstreamer-0_10-plugins-base-devel %endif License: LGPLv2.0 ; LGPLv2.0+ Group: Development/Libraries/C and C++ Summary: Library for rendering web content, GTK+ Port BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 1.2.7 Release: 0.<RELEASE2> Source: webkit-%{version}.tar.bz2 Source1: baselibs.conf # PATCH-FIX-UPSTREAM libwebkit-fixbuild.patch webkit-bug#36054 dimstar@opensuse.org -- Fix brp check failures Patch0: libwebkit-fixbuild.patch %define debug_package_requires libwebkit-1_0-2 = %{version}-%{release} %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 libwebkit-1_0-2 Group: Development/Libraries/C and C++ License: LGPLv2.0 ; LGPLv2.0+ Provides: libwebkit = %{version} Provides: libWebKitGtk0 = %{version} Obsoletes: libWebKitGtk0 < %{version} Requires: %{name}-lang = %{version} %define libsoup_package %(rpm -q --whatprovides --qf '%%{name}' libsoup) Requires: %{libsoup_package} >= 2.28.2 # Summary: Library for rendering web content, GTK+ Port %description -n libwebkit-1_0-2 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 libwebkit-devel License: LGPLv2.0 ; LGPLv2.0+ Group: Development/Libraries/C and C++ Summary: Library for rendering web content, GTK+ Port Requires: libwebkit-1_0-2 = %{version} Requires: glib2-devel Requires: gtk2-devel Requires: libsoup-devel Provides: WebKitGtk-devel = %{version} Obsoletes: WebKitGtk-devel < %{version} %description -n libwebkit-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 License: LGPLv2.0 ; LGPLv2.0+ Group: Development/Libraries/C and C++ Summary: Library for rendering web content, GTK+ Port Requires: libwebkit-1_0-2 = %{version} %description -n webkit-jsc 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 %prep %setup -q -n webkit-%{version} %patch0 -p1 %build export SUSE_ASNEEDED=0 %ifarch ppc64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif export CFLAGS=" $RPM_OPT_FLAGS" export CXXFLAGS=" $RPM_OPT_FLAGS" %configure \ %if 0%{?suse_version} >= 1130 --enable-introspection \ %else --disable-video \ %endif --enable-geolocation make %{?jobs:-j %jobs} %install %makeinstall %find_lang webkit find %{buildroot} -name "*.la" -exec rm {} \; %post -n libwebkit-1_0-2 -p /sbin/ldconfig %postun -n libwebkit-1_0-2 -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -n libwebkit-1_0-2 %defattr(-,root,root) %{_libdir}/libwebkit-1.0.so.* %{_datadir}/webkit-1.0 %if 0%{?suse_version} >= 1130 %{_libdir}/girepository-1.0/*.typelib %{_datadir}/gir-1.0/*.gir %endif %files -n libwebkit-devel %defattr(-,root,root) %doc JavaScriptCore/COPYING.LIB WebCore/LICENSE-APPLE WebCore/LICENSE-LGPL-2 WebCore/LICENSE-LGPL-2.1 WebKit/gtk/NEWS %{_libdir}/libwebkit-1.0.so %{_libdir}/pkgconfig/webkit-1.0.pc %{_includedir}/webkit-1.0 %files -n webkit-jsc %defattr(-,root,root) %{_bindir}/jsc %files lang -f webkit.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