File OpenOffice_org-Quickstarter.spec of Package OpenOffice_org-Quickstarter
#
# spec file for package OpenOffice_org-Quickstarter (Version 1.0)
#
# 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: OpenOffice_org-Quickstarter
BuildRequires: kdelibs3-devel
Url: http://segfaultskde.berlios.de/index.php?content=oooqs
License: GPL v2 or later
Group: Productivity/Office/Suite
Requires: OpenOffice_org >= 1.9
AutoReqProv: on
Version: 1.0
Release: 711
Summary: OpenOffice.org Quickstarter
Source0: oooqs-1.0_rc3.tar.bz2
Source1: ooqs-1.0-nld9-po.tar.bz2
Patch0: oooqs-1.0_rc3-defaults.patch
Patch1: oooqs-1.0_rc3-first_start.patch
Patch2: oooqs-1.0_rc3-SuSE_wrapper.patch
Patch3: oooqs-1.0_rc3-navigator.patch
Patch4: oooqs-1.0_rc3-autostart.patch
Patch5: oooqs-1.0_rc3-quickstart.patch
Patch6: oooqs-1.0_rc3-click.patch
Patch7: oooqs-1.0_rc3-quit.patch
Patch8: fix-desktop-file.diff
Patch9: oooqs-1.0_rc3-URLRequester.patch
Patch10: oooqs-po-makefile-extra-langs.patch
Patch11: oooqs-1.0_rc3-utf8.patch
Patch12: oooqs-1.0_rc3-filters-2.0.patch
Patch13: oooqs-1.0_rc3-invalid-popup-entries.patch
Patch14: oooqs-1.0_rc3-new-icons.patch
Patch15: oooqs-1.0_rc3-quickstart-options-2.0.patch
Patch16: oooqs-1.0_rc3-10.2_wrappers.patch
Patch17: oooqs-1.0_rc3-gcc-4.3.diff
Patch18: oooqs-1.0_rc3-start-instance.patch
Patch19: oooqs-1.0_rc3-monitor-running-instance.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package allows you to work comfortably with OpenOffice.org in KDE
through the use of a small applet that runs in the Kicker.
Authors:
--------
Christian Nitschkowski <SegFault_II@web.de>
%prep
%setup -q -n oooqs-1.0_rc3 -a 1
#
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8
%patch9
%patch10 -p2
%patch11
%patch12
%patch13
%patch14
%patch15
%patch16
%patch17
%patch18
%patch19
%build
. /etc/opt/kde3/common_options
update_admin
./configure $configkde
#
# update mo files from patched po files
(
cd po
make cs.gmo
make de.gmo
make fr.gmo
make hu.gmo
)
#
# build application
make
%install
. /etc/opt/kde3/common_options
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
# move the main desktop file to /usr/share to be showed by KDE4 (bnc#450116)
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
mv $RPM_BUILD_ROOT/opt/kde3/share/appl*/*/*.desktop $RPM_BUILD_ROOT/usr/share/applications
%suse_update_desktop_file oooqs X-SuSE-Applet
%find_lang oooqs
%clean
rm -rf $RPM_BUILD_ROOT
%files -f oooqs.lang
%defattr(-, root, root, 755)
%doc AUTHORS BUGS COPYING ChangeLog README README.de TODO
/opt/kde3/bin/*
/usr/share/applications/*.desktop
/opt/kde3/share/autostart/*.desktop
/opt/kde3/share/icons/*
%changelog
* Mon Dec 01 2008 pmladek@suse.cz
- moved the oooqs.desktop file to /usr/share to be showed by KDE4 (bnc#450116)
* Thu Jul 17 2008 pmladek@suse.cz
- added OnlyShowIn=KDE; to oooqs.desktop
* Wed May 21 2008 pmladek@suse.cz
- it was not possible to start another OOo Window when there was already
running one; solution was to replace the obsolete parameters, e.g.
private:factory/swriter with -writer (bnc#393264)
- the quikstart mode did not work at all; it freezed the quickstarter and
tried to start OOo again and again in the background; problem was that even
the soffice wrapper started to quit after showing the splash screen; solved
by adding check for already running OOo process; it solved also many other
annoying problems (bnc#393265):
* OOo is not longer canceled together with the quickstarter
* one can enable the quickstart more even when OOo is already running
* should solve problems with race-conditions when restoring the desktop
session
* Mon Nov 26 2007 pmladek@suse.cz
- fixed build with gcc-4.3
* Mon Nov 27 2006 pmladek@suse.cz
- fixed OOo wrapper detection [#223786]:
* did not work on openSUSE 10.2 by default; /usr/bin/ooo-wrapper does not
longer exist; /usr/bin/soffice is the right, version and architecture
independent, replacement
* user defined path was ignored when the Novell wrapper was available
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu May 26 2005 pmladek@suse.cz
- fixed starting of the quickstart instance on backgroung; used -nologo
-nodefault instead of the no longer supported -quickstart option
- fixed requires as the package is usable only with OOo > 1.9 now
* Mon Mar 14 2005 pmladek@suse.cz
- fixed the Open file dialog to filter also the new Oasis file-suffixes [#72283]
- hidden the "Start with..." menu entry and related config items because
the wizards cannot be started directly from outside OOo with OOo-2.0 [#72284]
- hidden also the "Printer Administration" menu entry because this dialog
should not be started by normal user. Only system administrator should add
and set printer queues.
- fixed to use new OOo icons if they are available
* Fri Feb 18 2005 pmladek@suse.de
- fixed to be version independent on the new prefix
- merged new-path-and-wrapper.patch, messages-in-window.patch, and padmin.patch
to SuSE_wrapper.patch, where it belongs
* Thu Feb 17 2005 adrian@suse.de
- menu entry moved to xdg path
* Tue Feb 01 2005 pmladek@suse.cz
- recoded documentation to UTF-8 [#50106]
* Mon Jan 17 2005 pmladek@suse.cz
- added back click.patch that was removed within the latest change
by mistake
* Tue Jan 11 2005 gekker@suse.de
- Update of translations
* Thu Sep 30 2004 pmladek@suse.cz
- fixed to use the new path where OOo is installed now; fixed to use
also the new wrappers [#46570]
* Sun Feb 15 2004 adrian@suse.de
- add Requires: OpenOffice_org
* Mon Sep 22 2003 pmladek@suse.cz
- fixed layout used for the URLRequester widgets [#31488]
* Tue Sep 02 2003 ro@suse.de
- fix last patch
* Tue Sep 02 2003 adrian@suse.de
- fix desktop file encoding
* Mon Aug 25 2003 pmladek@suse.cz
- do not display messages from OOo-wrapper when the OOo is started on
the background due to the -quickstart option (messages-in-window.patch)
- ask the user on quit whether he wants to quit the running quickstart
instance of OpenOffice.org too (quit.patch) [#27144]
* Tue Jul 29 2003 adrian@suse.de
- add Categories
* Mon Jun 16 2003 pmladek@suse.cz
- used %%find_lang to package localized files
- packaged icon directories
- used %%defattr(-, root, root, 755)
* Fri Apr 11 2003 pmladek@suse.cz
- fixed to do the default action on mouse click instead of on the double click
to be consistent with the other KDE stuff (click.patch) [#25940]
- fixed the default action when clicking on the OOoQs icon to run
OOo in the writer mode (defaults.patch) [#25940]
* Thu Mar 13 2003 pmladek@suse.cz
- added Hungarian translation
* Mon Mar 03 2003 pmladek@suse.cz
- added Czech translation
* Wed Feb 12 2003 pmladek@suse.cz
- updated text in new dialogs and added the German translation of these
dialogs (many thanks to Peter Reinhart <preinhart@suse.de>)
- used dashes instead of dots to separate version and label in names
of patches
* Fri Jan 31 2003 pmladek@suse.cz
- ask the user on the first run if he wants to use the Quickstart mode
(first_start.patch)
- used the KDE autostart feature (autostart.patch)
- fixed the quickstart mode (quickstart.patch) to:
* detect another running OOo instance and disable the quickstart
mode to do not try to start its own instance again and again
* display the yes/no dialog window wheter to stop a running instance
in front of the preference dialog window
* detect that the own instance was stoped also when the quickstart
mode was not enabled by the start of this applet
* Mon Jan 06 2003 pmladek@suse.cz
- package created, version 1.0_rc3
- fixed the default path where the OOo is installed to /opt/OpenOffice.org
- changed the default action when double-clicking on the OOoQs icon to run
OOo in the default mode (writer)
- fixed to use the new OOo-wrapper if it is available and the SuSE installation
is selected
- removed strange messages when the OOo starts (in the SuSE_wrapper.patch)
- fixed the behaviour when OOoQs is started for the first time:
* do not display the message
* do not run the preference dialog
* only save the default settings instead
- removed the obsolete messages when the OOo printer administation is going to
start because of the user can configure his own printer settings since
OOo-1.0.1, so the root access rights are not needed longer
- fixed to start the writer module correctly to do not always display
the "Navigator" window