File OpenOffice_org-Quickstarter.spec of Package OpenOffice_org-Quickstarter
#
# spec file for package OpenOffice_org-Quickstarter (Version 1.0)
#
# Copyright (c) 2009 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: 712
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