LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kwebkitpart.spec of Package kwebkitpart (Project KDE:Distro:Factory)

# spec file for package kwebkitpart
# 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/

Name:           kwebkitpart
Version:        1.3.2
Release:        0
Summary:        KDE Webkit web browser component
License:        LGPL-2.0+ and LGPL-2.1+
Group:          System/GUI/KDE
Url:            https://projects.kde.org/projects/extragear/base/kwebkitpart
Source:         %{name}-%{version}.tar.xz
Source1:        %{name}-lang.tar.bz2
Source2:        README.html.bz2
BuildRequires:  libkde4-devel >= 4.8.3
BuildRequires:  sqlite-devel
Recommends:     kwebkitpart-lang
Provides:       libkdenetwork1 = 4.3.0.svn1001692-36.1
Obsoletes:      libkdenetwork1 < 4.3.0.svn1001692-36.1
Provides:       kde4-webkitpart = 4.3.90.svn1072556
Obsoletes:      kde4-webkitpart < 4.3.90.svn1072556
Obsoletes:      kwebkitpart-devel < 1.2.0git20111013
Provides:       kwebkitpart-devel = 1.2.0git20111013
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

A webkit web browser component for KDE (KPart).

%setup -q -n %{name}-%{version}
tar xjf $RPM_SOURCE_DIR/%{name}-lang.tar.bz2
echo "add_subdirectory(lang)" >> CMakeLists.txt
bunzip2 -d < %{S:2} > README.html

%cmake_kde4 -d build

pushd build
%if %{suse_version} < 1130
rm -r %{buildroot}/usr/share/locale/sr@ijekavian*
%find_lang %{name}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%dir %{_libdir}/kde4
%dir %{_kde4_iconsdir}/hicolor/*
%dir %{_kde4_iconsdir}/hicolor/*/apps

%files lang -f %{name}.lang