Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
OpenOffice_org-templates-presentation-layouts
OpenOffice_org-templates-presentation-layouts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenOffice_org-templates-presentation-layouts.spec of Package OpenOffice_org-templates-presentation-layouts
# # spec file for package OpenOffice_org-templates-presentation-layouts (Version 3.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-templates-presentation-layouts License: BSD 4-Clause; LGPL v2.1 or later Group: Productivity/Office/Suite %if %suse_version > 1000 Supplements: OpenOffice_org %endif AutoReqProv: on Version: 3.0 Release: 1 Summary: Presentation Layout Templates for OpenOffice.org Source0: ooo-templates-presentation-layouts-2.0.4.tar.bz2 # http://extensions.services.openoffice.org/project/TemplatePack_II Source1: Sun_ODF_Template_Pack_en-US-layout.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This package contains a collection of presentation layout templates for OpenOffice.org. %prep %setup -c -q -b1 # update the Sun templates dir sun_name=Sun_ODF_Template_Pack sun_dir=${sun_name}_en-US-layout 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_en-US.oxt that is originaly available at http://extensions.services.openoffice.org/project/TemplatePack_II 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/ooo/ cp -a ooo-templates-presentation-layouts-*/common $RPM_BUILD_ROOT/usr/share/templates/ooo/ cp -a Sun_ODF_Template_Pack_en-US-layout/template/* $RPM_BUILD_ROOT/usr/share/templates/ooo/common %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc ooo-templates-presentation-layouts-*/README.txt Sun*/{README.*,LICENSE.*} %dir /usr/share/templates/ %dir /usr/share/templates/ooo/ /usr/share/templates/ooo/common/ %changelog * Mon Sep 01 2008 pmladek@suse.cz - added more templates from Sun_ODF_Template_Pack_en-US.oxt that was available at http://extensions.services.openoffice.org/project/TemplatePack_II - installed into non-versioned /usr/share/templates/ooo instead of ooo2 - updated version to 3.0 * Wed Apr 25 2007 stbinner@suse.de - fix build on SUSE Linux 10.0 * Mon Oct 23 2006 pmladek@suse.cz - new package, version 2.0.4
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