Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libreoffice-templates-de
libreoffice-templates-de.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-templates-de.spec of Package libreoffice-templates-de
# # spec file for package libreoffice-templates-de # # Copyright (c) 2012 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: libreoffice-templates-de Provides: locale(OpenOffice_org:de) Provides: locale(libreoffice:de) # compat stuff Provides: OpenOffice_org-templates-de = %version Obsoletes: OpenOffice_org-templates-de <= %version Provides: OpenOffice_org-de-templates <= 8.2 Obsoletes: OpenOffice_org-de-templates <= 8.2 Version: 3.3 Release: 0 Summary: German Templates for LibreOffice License: BSD-4-Clause ; LGPL-2.1+ Group: Productivity/Office/Suite Source0: ooo-templates-de-2.0.4.tar.bz2 Source1: ooo-templates-de-suse-2.0.4.tar.bz2 # http://extensions.services.openoffice.org/project/TemplatePackII Source2: Sun_ODF_Template_Pack_de-non-layout.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description A compilation of German templates for LibreOffice. Authors: -------- Berthold Gerdes <berthold@bgerdes.de> Johannes Czerwinski <johannes@openoffice.org> Olaf Eichborn <oeichhorn@openoffice.org> Dennis Kielhorn <dkielhorn@openoffice.org> Harald Schilly <mysteron@openoffice.org> Karlhanns Spiegel <khs@s.netic.de> Sven Vermeulen <siboy@openoffice.org> Helmut Weigel <weigel@openoffice.org> Frank Welker <gandalfdergraue@openoffice.org> K. J. Welter <kajo@teamstaroffice.org> %prep %setup -c -q -b1 -b2 # update the Sun templates dir sun_name=Sun_ODF_Template_Pack sun_dir=${sun_name}_de-non-layout mv $sun_dir/template/groupuinames.xml $sun_dir mv $sun_dir/LICENSE $sun_dir/LICENSE.$sun_name # generate README about Sun templates cat >$sun_dir/README.$sun_name <<EOF The following list of templates comes from the Sun_ODF_Template_Pack_de.oxt that is originaly available at http://extensions.services.openoffice.org/project/TemplatePackII See LICENSE.$sun_name for more details. EOF echo >>$sun_dir/README.$sun_name find $sun_dir/template -type f | sed "s|$sun_dir/template/||" >>$sun_dir/README.$sun_name %build %install install -m 755 -d $RPM_BUILD_ROOT/usr/share/templates/libreoffice/ cp -a ooo-templates-de-*/de $RPM_BUILD_ROOT/usr/share/templates/libreoffice/ cp -a Sun_ODF_Template_Pack_de-non-layout/template/* $RPM_BUILD_ROOT/usr/share/templates/libreoffice/de # compat stuff install -m 755 -d $RPM_BUILD_ROOT/usr/share/templates/ooo/ for dir in `find $RPM_BUILD_ROOT/usr/share/templates/libreoffice/ -type d -printf "%%P \n"` ; do echo "~$RPM_BUILD_ROOT/usr/share/templates/ooo/$dir~" mkdir -p $RPM_BUILD_ROOT/usr/share/templates/ooo/$dir done for file in `find $RPM_BUILD_ROOT/usr/share/templates/libreoffice/ -type f -printf "%%P "` ; do ln -sf /usr/share/templates/libreoffice/$file $RPM_BUILD_ROOT/usr/share/templates/ooo/$file done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc ooo-templates-de-*/README*.txt Sun*/{README.*,LICENSE.*} /usr/share/templates/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor