File kdewebdev3.spec of Package kdewebdev3
#
# spec file for package kdewebdev3 (Version 3.5.10)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: kdewebdev3
BuildRequires: kdesdk3-devel
%if %suse_version < 1010
BuildRequires: libgcrypt-devel
%endif
%if %suse_version > 1020
BuildRequires: fdupes
%endif
License: GPL v2 or later
Group: Productivity/Publishing/HTML/Tools
Summary: KDE Web Development Suite
Version: 3.5.10
Release: 12
# should not be a hard require
Requires: tidy
Requires: kommander-runtime
Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`)
Url: http://kdewebdev.org
Source0: kdewebdev-%{version}.tar.bz2
Source1: css.tar.bz2
Source2: html.tar.bz2
Source3: javascript.tar.bz2
Source4: php.tar.bz2
Patch0: 3_5_BRANCH.diff
Patch1: disable-icon.diff
Patch2: javascript.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The package contains various tools for the daily work of a Web
administrator:
* KLinkStatus--validator for links on HTML pages
* KImageMapEditor--an HTML image map editor
* KXsldbg--XSLT debugger
* KFileReplace--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>
%package -n quanta
License: GPL v2 or later
Summary: KDE Web Development Suite
Group: Productivity/Publishing/HTML/Editors
Provides: kdewebdev3:/opt/kde3/bin/quanta
%description -n quanta
The package contains various tools for the daily work of a web
administrator:
* quanta - A html editor (native source and WYSIWIG), with lots of
features like an php debugger.
* klinkstatus - can validate links on html pages
* KImageMapEditor - An HTML image map editor
* Kommander - to create full mainwindow applications, without the
need to use any programming language.
* kxsldbg - 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>
%package -n kommander
License: GPL v2 or later
Summary: Editor to build dialogs and application
Group: System/GUI/KDE
Requires: kommander-runtime
Provides: kdewebdev3:/opt/kde3/bin/kmdr-editor
%description -n kommander
Kommander is a creator of full main window applications without the
need to use any programming language.
Authors:
--------
Marc Britton <consume@optusnet.com.au>
Eric Laffoon <sequitur@kde.org>
Michal Rudolf <mrudolf@kdewebdev.org>
Andras Mantia <amantia@kde.org>
%package -n kommander-runtime
License: GPL v2 or later
Summary: Runtime to execute Kommander based applications
Group: System/GUI/KDE
%description -n kommander-runtime
Runtime parts to execute Kommander based applications and dialogs.
Authors:
--------
Marc Britton <consume@optusnet.com.au>
Eric Laffoon <sequitur@kde.org>
Michal Rudolf <mrudolf@kdewebdev.org>
Andras Mantia <amantia@kde.org>
%prep
%setup -q -n kdewebdev-%version -b 1 -b 2 -b 3 -b 4
%patch0
%patch1
pushd ../javascript
%patch2 -p1
popd
. /etc/opt/kde3/common_options
update_admin
%build
. /etc/opt/kde3/common_options
./configure $configkde
make %{?jobs:-j%jobs}
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
cd ..
cp -R css/css css/css.docrc html/html html/html.docrc \
javascript/javascript javascript/javascript.docrc php/php \
php/php.docrc \
$RPM_BUILD_ROOT/opt/kde3/share/apps/quanta/doc/
%suse_update_desktop_file -r klinkstatus Office WebDevelopment
%suse_update_desktop_file -r quanta Office WebDevelopment
%suse_update_desktop_file -r kxsldbg Office WebDevelopment
%suse_update_desktop_file -r kimagemapeditor Office WebDevelopment
%suse_update_desktop_file kmdr-editor Development GUIDesigner
%suse_update_desktop_file -r kfilereplace System FileManager
kde_post_install
%find_lang quanta
%if %suse_version > 1020
%fdupes -s $RPM_BUILD_ROOT
%endif
%post
%run_ldconfig
%postun
%run_ldconfig
%post -n kommander-runtime
%run_ldconfig
%postun -n kommander-runtime
%run_ldconfig
%files
%defattr(-,root,root)
%doc NEWS README VERSION AUTHORS ChangeLog COPYING
/opt/kde3/bin/kfilereplace
/opt/kde3/bin/kimagemapeditor
/opt/kde3/bin/klinkstatus
/opt/kde3/bin/kxsldbg
/opt/kde3/bin/xsldbg
%exclude /opt/kde3/%_lib/kde3/quanta*
/opt/kde3/%_lib/kde3/*
/opt/kde3/share/applications/kde/kfilereplace.desktop
/opt/kde3/share/applications/kde/kimagemapeditor.desktop
/opt/kde3/share/applications/kde/klinkstatus.desktop
/opt/kde3/share/applications/kde/kxsldbg.desktop
/opt/kde3/share/apps/kafkapart
/opt/kde3/share/apps/kfilereplace
/opt/kde3/share/apps/kfilereplacepart
/opt/kde3/share/apps/kimagemapeditor
/opt/kde3/share/apps/klinkstatus
/opt/kde3/share/apps/klinkstatuspart
/opt/kde3/share/apps/kxsldbgpart
/opt/kde3/share/apps/kxsldbg
/opt/kde3/share/config.kcfg/klinkstatus.kcfg
%exclude /opt/kde3/share/services/quanta*.desktop
/opt/kde3/share/services/*.desktop
/opt/kde3/share/icons/hicolor/*/apps/kfilereplace.*
/opt/kde3/share/icons/hicolor/*/apps/kimagemapeditor.*
/opt/kde3/share/icons/hicolor/*/apps/klinkstatus.*
/opt/kde3/share/icons/hicolor/*/actions/*
/opt/kde3/share/mimelnk/application/x-webprj.desktop
%lang(en) %doc /opt/kde3/share/doc/HTML/en/kfilereplace
%lang(en) %doc /opt/kde3/share/doc/HTML/en/klinkstatus
%lang(en) %doc /opt/kde3/share/doc/HTML/en/kxsldbg
%lang(en) %doc /opt/kde3/share/doc/HTML/en/xsldbg
%files -n quanta
%defattr(-,root,root)
%_mandir/man1/quanta.*
/opt/kde3/bin/quanta
/opt/kde3/%_lib/kde3/quanta*
/opt/kde3/share/applications/kde/quanta.desktop
/opt/kde3/share/apps/quanta
/opt/kde3/share/services/quanta*.desktop
/opt/kde3/share/servicetypes/quantadebugger.desktop
/opt/kde3/share/icons/hicolor/*/apps/quanta.*
%lang(en) %doc /opt/kde3/share/doc/HTML/en/quanta
%files -n kommander
%defattr(-,root,root)
/opt/kde3/bin/kmdr-editor
/opt/kde3/include
/opt/kde3/share/applications/kde/kmdr-editor.desktop
%lang(en) %doc /opt/kde3/share/doc/HTML/en/kommander
/opt/kde3/share/apps/katepart/syntax/kommander.xml
/opt/kde3/share/apps/katepart/syntax/kommander-new.xml
/opt/kde3/share/apps/kommander
/opt/kde3/share/apps/kmdr-editor
/opt/kde3/share/apps/kdevappwizard
%files -n kommander-runtime
%defattr(-,root,root)
/opt/kde3/bin/kmdr-executor
/opt/kde3/bin/kmdr-plugins
/opt/kde3/%_lib/libkommanderplugin.*
/opt/kde3/%_lib/libkommanderwidget.*
/opt/kde3/%_lib/libkommanderwidgets.*
/opt/kde3/share/applnk/.hidden
/opt/kde3/share/mimelnk/application/x-kommander.desktop
/opt/kde3/share/icons/hicolor/*/apps/kommander.*
%changelog
* Fri Sep 05 2008 stbinner@suse.de
- split off Quanta as it's the only not yet ported application
* Wed Aug 20 2008 coolo@suse.de
- update to KDE 3.5.10
* many bugfixes
* Fri Apr 25 2008 dmueller@suse.de
- 3_5_BRANCH.diff update:
* bugfixes / new translations for kommander, quanta and kxsldbg
* Tue Feb 19 2008 stbinner@suse.de
- fix build
* Mon Feb 18 2008 dmueller@suse.de
- update to 3.5.9
* Tue Oct 23 2007 stbinner@suse.de
- fix build with gcc 4.3
* Tue Oct 09 2007 stbinner@suse.de
- update to 3.5.8:
* new dcop methods for Kommander
* bug fixes in KImageMapEditor, Quanta Plus and Kommander
* Sat Aug 04 2007 stbinner@suse.de
- add 3_5_BRANCH.diff
* Thu Jun 21 2007 stbinner@suse.de
- fix invalid .desktop files
* Fri Jun 01 2007 coolo@suse.de
- move kde_post_install
* Wed May 23 2007 stbinner@suse.de
- use %%fdupes
- add missing post/postun ldconfig calls
* Tue May 15 2007 stbinner@suse.de
- update to 3.5.7:
* Quanta: Autocompletion for member variables. Bugfixes
* Thu Apr 12 2007 stbinner@suse.de
- add requirement against kdelibs3 version it built against
* Fri Mar 09 2007 stbinner@suse.de
- fix build (new icon location check)
* Tue Jan 16 2007 stbinner@suse.de
- update to 3.5.6 release:
* several bugfixes in Quanta and KLinkStatus
* Tue Oct 31 2006 coolo@suse.de
- add 3_5_BRANCH.diff:
- fix crash in klinkstatus
- show the Find in Files when KFileReplace is installed
* Mon Oct 09 2006 stbinner@suse.de
- add Provides: to kommander package for upgrade case
* Tue Oct 03 2006 stbinner@suse.de
- update to 3.5.5 release tarball
* Wed Sep 27 2006 stbinner@suse.de
- split off kommander and kommander-runtime packages
* Wed Aug 23 2006 stbinner@suse.de
- add 3_5_BRANCH.diff (fixes for Kommander and Quanta)
* Mon Jul 24 2006 coolo@suse.de
- update to KDE 3.5.4:
* several fixes in Quanta
* Wed May 24 2006 stbinner@suse.de
- update to 3.5.3
* Several fixes for Quanta and klinkstatus
* Mon May 22 2006 adrian@suse.de
- fix build for 10.0 in openSUSE build service
* Mon Mar 20 2006 stbinner@suse.de
- update to 3.5.2
* Quanta Plus
- allow opening of read-only remote files, like from http://
- fix insertion of files to the project [bug #120629]
- fix detection of existing shortcuts
- ignore special areas inside comments
- set the user action tooltips correctly
- fix random crashing when editing PHP files
- fix a crash when using the attribute tree
- fix insertion of relative URLs from the attribute tree
- fix resolving of relative URLs when there are symlinks around
- fix addition of local directories to the project (creates weird
project error like in bug #122419)
- fix for dtep data of xhtml1.1 [bug #122272]
- fix some bugs in the new project wizard
- always reload a file if the user wants it [bug #121329]
- fix previewing of read-only files
- reload project tree for remote projects after rescanning the
project folder
- less reparsing of the document while typing is in progress
- open dropped files [bug #102605]
- don't try to remove an empty, unmodified buffer, if it is
the last opened one [bug #111599]
- remember cursor position for project documents [bug #101966]
- add the standard show/hide menubar action [bug #113064]
- add possibility to limit the number of recent files/projects.
No GUI, use "Recent Files Limit" in the [General Options] section
- show the project name in the window titlebar
- mark uploaded files as uploaded even if upload fails later [bug #111857]
- new DCOP methods:
- WindowManagerIf::uploadURL(url, profile, markOnly)
- QuantaIf::groupElements(groupName)
* Kommander
- accept DCOP methods without parantheses
* Fri Mar 03 2006 stbinner@suse.de
- add frequent Quanta crashes upstream fix (#154777)
* Mon Jan 30 2006 stbinner@suse.de
- update to 3.5 branch
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 22 2006 stbinner@suse.de
- update to 3.5.1
* Sun Jan 08 2006 stbinner@suse.de
- update to 3_5_BRANCH
* Sat Nov 26 2005 coolo@suse.de
- update to 3.5.0
* Mon Nov 21 2005 stbinner@suse.de
- update to version 3.5 RC 2
* Thu Nov 10 2005 stbinner@suse.de
- update to version 3.5 RC 1
* Wed Oct 12 2005 stbinner@suse.de
- update to version 3.4.92 (3.5 Beta 2)
* Mon Oct 10 2005 coolo@suse.de
- update to 3.5 branch for build fix
* Wed Sep 21 2005 stbinner@suse.de
- update to version 3.4.91 (3.5 Beta)
* Fri Jul 22 2005 coolo@suse.de
- update to version 3.4.2
* Tue May 24 2005 adrian@suse.de
- update to version 3.4.1
* Sat Mar 05 2005 adrian@suse.de
- update to 3.4.0 final
* Sat Feb 26 2005 adrian@suse.de
- update to version 3.4.0 RC 1
* Mon Feb 14 2005 adrian@suse.de
- update from CVS
* Fri Feb 11 2005 adrian@suse.de
- update from CVS
* Mon Feb 07 2005 adrian@suse.de
- update to beta 2
* Fri Jan 28 2005 adrian@suse.de
- update to current snapshot
* Sun Jan 09 2005 adrian@suse.de
- final 3.4 beta 1
* Wed Jan 05 2005 coolo@suse.de
- update to 3.4 beta 1
* Mon Jan 03 2005 coolo@suse.de
- update to HEAD (latest doc versions too)
- removed invalid line
* Wed Dec 08 2004 adrian@suse.de
- update to official 3.4 alpha 1
* Mon Nov 29 2004 adrian@suse.de
- update to version 3.3.2
* Wed Nov 17 2004 adrian@suse.de
- fix desktop entries
* Tue Oct 12 2004 adrian@suse.de
- update to version 3.3.1
* Mon Sep 20 2004 adrian@suse.de
- update to current BRANCH
* mostly quanta fixes
* Mon Aug 16 2004 adrian@suse.de
- update to version 3.3.0 final
* Tue Aug 10 2004 adrian@suse.de
- update to version 3.3.0 RC2
* Tue Jul 20 2004 adrian@suse.de
- update to KDE 3.2.92 (3.3 beta 2)
* Mon Jul 05 2004 adrian@suse.de
- rename package to kdewebdev3
* Tue Jun 29 2004 adrian@suse.de
- initial package of version 3.3 beta 1
* obsoletes the quanta package