LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kdewebdev4.spec of Package kdewebdev4 (Project home:alarrosa:SLE12SP2_from42.2:Applications)

# spec file for package kdewebdev4
# Copyright (c) 2015 SUSE LINUX 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:           kdewebdev4
Version:        16.08.2
Release:        0
Summary:        Base package for kdewebdev
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://quanta.sf.net
Source0:        kdewebdev-%{version}.tar.xz
Patch1:         executor.diff
BuildRequires:  fdupes
BuildRequires:  libkdepimlibs4-devel
BuildRequires:  libtidy-devel
BuildRequires:  ruby-devel
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package suggests the packages which are built from the kdewebdev

%setup -q -n kdewebdev-%{version}

  %cmake_kde4 -d build

  cd build
  %create_subdir_filelist -d klinkstatus
  %create_subdir_filelist -d kimagemapeditor
  %create_subdir_filelist -d kfilereplace
  %create_subdir_filelist -d kommander
%if 0
  %create_subdir_filelist -d kxsldbg
  cd ..
  %suse_update_desktop_file -r klinkstatus Office WebDevelopment
  %suse_update_desktop_file -r kimagemapeditor Office WebDevelopment
  %suse_update_desktop_file -r kfilereplace System      FileManager
%if 0
  %suse_update_desktop_file -r kxsldbg     Office WebDevelopment
  %fdupes -s %{buildroot}

%post   -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%package -n kfilereplace
Summary:        Search & Replace Tool
Group:          Productivity/Other
Provides:       kde4-kfilereplace = 4.3.0
Obsoletes:      kde4-kfilereplace < 4.3.0

%description -n kfilereplace
KFileReplace is a batch search and replace tool.

%post   -n kfilereplace -p /sbin/ldconfig

%postun -n kfilereplace -p /sbin/ldconfig

%files -n kfilereplace -f filelists/kfilereplace

%package -n kimagemapeditor
Summary:        HTML Image Map Editor
Group:          Productivity/Publishing/HTML/Editors
Provides:       kde4-kimagemapeditor = 4.3.0
Obsoletes:      kde4-kimagemapeditor < 4.3.0

%description -n kimagemapeditor
A tool to edit image maps of HTML files

%post   -n kimagemapeditor -p /sbin/ldconfig

%postun -n kimagemapeditor -p /sbin/ldconfig

%files -n kimagemapeditor -f filelists/kimagemapeditor

%package -n klinkstatus
Summary:        Link Checker
Group:          Productivity/Publishing/HTML/Tools
Provides:       kde4-klinkstatus = 4.3.0
Obsoletes:      kde4-klinkstatus < 4.3.0

%description -n klinkstatus
Validator for links on HTML pages

%post   -n klinkstatus -p /sbin/ldconfig

%postun -n klinkstatus -p /sbin/ldconfig

%files -n klinkstatus -f filelists/klinkstatus

%package -n kommander-runtime
Summary:        Runtime for Kommander dialogs and application
Group:          System/GUI/KDE
Provides:       kde4-kommander = 4.3.0
Obsoletes:      kde4-kommander < 4.3.0
Provides:       kommander = 4.3.0
Obsoletes:      kommander < 4.3.0
Provides:       kdewebdev4 = 4.7.1
Obsoletes:      kdewebdev4 < 4.7.1

%description -n kommander-runtime
Kommander is a creator of full main window applications without the
need to use any programming language. This is the runtime to execute
dialogs and application created with the kde3-kommander application.

%post   -n kommander-runtime -p /sbin/ldconfig

%postun -n kommander-runtime -p /sbin/ldconfig

%files -n kommander-runtime -f filelists/kommander
%exclude %{_kde4_includedir}/kommander*.h
%exclude %{_kde4_includedir}/specials.h
%exclude %{_kde4_libdir}/libkommander*.so

%package -n kommander-runtime-devel
Summary:        Development files for kommander-runtime
Group:          Development/Libraries/KDE
Requires:       kommander-runtime = %{version}

%description -n kommander-runtime-devel
This package provides development libraries and headers needed to build software
using kommander-runtime

%files -n kommander-runtime-devel

%package -n kxsldbg

Summary:        XSLT Debugger
Group:          Productivity/Publishing/HTML/Tools
Provides:       kde4-kxsldbg = 4.3.0
Obsoletes:      kde4-kxsldbg < 4.3.0

%description -n kxsldbg
A KDE KPart Application for xsldbg, an XSLT debugger

%if 0

%files -n kxsldbg -f filelists/kxsldbg
%dir %{_kde4_appsdir}/kxsldbgpart
%dir %{_kde4_appsdir}/xsldbg
%doc %lang(en) %{_kde4_htmldir}/en/xsldbg