File kdewebdev4.spec of Package kdewebdev4
#
# spec file for package kdewebdev4
#
# 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: kdewebdev4
BuildRequires: kdesdk4 libkde4-devel libtidy-devel
BuildRequires: fdupes libkdepimlibs4-devel ruby-devel
License: GPLv2+
Group: System/GUI/KDE
Summary: kdewebdev base package
Url: http://quanta.sf.net
Version: 4.6.0
Release: 1
Source0: kdewebdev-%version.tar.bz2
Patch0: 4_5_BRANCH.diff
Patch1: executor.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
Suggests: kfilereplace
Suggests: kimagemapeditor
Suggests: klinkstatus
Suggests: kommander-runtime
#Suggests: kxsldbg
%description
This package suggests the packages which are built from the kdewebdev
module.
Authors:
--------
Yacovlev Alexander <korvin@mail.univ.kiev.ua>
Dmitry Poplavsky <pdima@mail.univ.kiev.ua>
Eric Laffoon <sequitur@easystreet.com>
Andras Mantia <amantia@freemail.hu>
%prep
%setup -q -n kdewebdev-%version
%patch0
%patch1
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%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 ..
%create_exclude_filelist
%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 $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf filelists
%package -n kfilereplace
License: GPLv2+
Group: Productivity/Other
Summary: Search & Replace Tool
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.
Authors:
--------
Yacovlev Alexander <korvin@mail.univ.kiev.ua>
Dmitry Poplavsky <pdima@mail.univ.kiev.ua>
Eric Laffoon <sequitur@easystreet.com>
Andras Mantia <amantia@freemail.hu>
%post -n kfilereplace -p /sbin/ldconfig
%postun -n kfilereplace -p /sbin/ldconfig
%files -n kfilereplace -f filelists/kfilereplace
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%_kde4_appsdir/kfilereplacepart
%package -n kimagemapeditor
License: GPLv2+
Group: Productivity/Publishing/HTML/Editors
Summary: HTML Image Map Editor
Provides: kde4-kimagemapeditor = 4.3.0
Obsoletes: kde4-kimagemapeditor < 4.3.0
%kde4_runtime_requires
%description -n kimagemapeditor
An HTML Image Map Editor
Authors:
--------
Yacovlev Alexander <korvin@mail.univ.kiev.ua>
Dmitry Poplavsky <pdima@mail.univ.kiev.ua>
Eric Laffoon <sequitur@easystreet.com>
Andras Mantia <amantia@freemail.hu>
%post -n kimagemapeditor -p /sbin/ldconfig
%postun -n kimagemapeditor -p /sbin/ldconfig
%files -n kimagemapeditor -f filelists/kimagemapeditor
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%package -n klinkstatus
License: GPLv2+
Group: Productivity/Publishing/HTML/Tools
Summary: Link Checker
Provides: kde4-klinkstatus = 4.3.0
Obsoletes: kde4-klinkstatus < 4.3.0
%kde4_runtime_requires
%description -n klinkstatus
Validator for links on HTML pages
Authors:
--------
Yacovlev Alexander <korvin@mail.univ.kiev.ua>
Dmitry Poplavsky <pdima@mail.univ.kiev.ua>
Eric Laffoon <sequitur@easystreet.com>
Andras Mantia <amantia@freemail.hu>
%post -n klinkstatus -p /sbin/ldconfig
%postun -n klinkstatus -p /sbin/ldconfig
%files -n klinkstatus -f filelists/klinkstatus
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%_kde4_appsdir/klinkstatuspart
%package -n kommander-runtime
License: GPLv2+
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
%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.
Authors:
--------
Marc Britton <consume@optusnet.com.au>
Eric Laffoon <sequitur@kde.org>
Michal Rudolf <mrudolf@kdewebdev.org>
Andras Mantia <amantia@kde.org>
%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 COPYING.DOC README
%if 0
%package -n kxsldbg
License: GPLv2+
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
Authors:
--------
Yacovlev Alexander <korvin@mail.univ.kiev.ua>
Dmitry Poplavsky <pdima@mail.univ.kiev.ua>
Eric Laffoon <sequitur@easystreet.com>
Andras Mantia <amantia@freemail.hu>
%files -n kxsldbg -f filelists/kxsldbg
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%dir %_kde4_appsdir/kxsldbgpart
%dir %_kde4_appsdir/xsldbg
%{_mandir}/man1/xsldbg.1*
%doc %lang(en) %_kde4_htmldir/en/xsldbg
%endif
%files -f filelists/exclude
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.DOC README
%changelog