File kdewebdev4.spec of Package kdewebdev4
#
# spec file for package kdewebdev4
#
# Copyright (c) 2014 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: kdewebdev4
Version: 4.14.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 >= %version
BuildRequires: libtidy-devel
BuildRequires: ruby-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package suggests the packages which are built from the kdewebdev
module.
%prep
%setup -q -n kdewebdev-%{version}
%patch1
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%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
%endif
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
%endif
%kde_post_install
%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
%kde4_runtime_requires
%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
%defattr(-,root,root)
%doc AUTHORS COPYING.DOC README
%{_kde4_appsdir}/kfilereplacepart
%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
%kde4_runtime_requires
%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
%defattr(-,root,root)
%doc AUTHORS COPYING.DOC README
%package -n klinkstatus
Summary: Link Checker
Group: Productivity/Publishing/HTML/Tools
Provides: kde4-klinkstatus = 4.3.0
Obsoletes: kde4-klinkstatus < 4.3.0
%kde4_pimlibs_requires
%kde4_runtime_requires
%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
%defattr(-,root,root)
%doc AUTHORS COPYING.DOC README
%{_kde4_appsdir}/klinkstatuspart
%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
%kde4_runtime_requires
%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
%defattr(-,root,root)
%doc AUTHORS COPYING.DOC README
%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}
%kde4_runtime_requires
%description -n kommander-runtime-devel
This package provides development libraries and headers needed to build software
using kommander-runtime
%files -n kommander-runtime-devel
%defattr(-,root,root)
%doc AUTHORS COPYING.DOC README
%{_kde4_includedir}/kommander*.h
%{_kde4_includedir}/specials.h
%{_kde4_libdir}/libkommander*.so
%package -n kxsldbg
Summary: XSLT Debugger
Group: Productivity/Publishing/HTML/Tools
Provides: kde4-kxsldbg = 4.3.0
Obsoletes: kde4-kxsldbg < 4.3.0
%kde4_runtime_requires
%description -n kxsldbg
A KDE KPart Application for xsldbg, an XSLT debugger
%if 0
%files -n kxsldbg -f filelists/kxsldbg
%defattr(-,root,root)
%doc AUTHORS COPYING.DOC README
%dir %{_kde4_appsdir}/kxsldbgpart
%dir %{_kde4_appsdir}/xsldbg
%{_mandir}/man1/xsldbg.1*
%doc %lang(en) %{_kde4_htmldir}/en/xsldbg
%endif
%changelog