File OpenOffice_org-branding-openSUSE.spec of Package OpenOffice_org-branding-openSUSE
#
# spec file for package OpenOffice_org-branding-openSUSE (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
Url: http://www.gtk.org/
Name: OpenOffice_org-branding-openSUSE
%define ooo_prefix %_datadir
%define ooo_home ooo3
Version: 3.0
Release: 24
Group: Productivity/Office/Suite
License: BSD 3-Clause
Summary: openSUSE Branding for OpenOffice.org
Supplements: packageand(branding-openSUSE:OpenOffice_org)
Provides: OpenOffice_org-branding = %version
Conflicts: otherproviders(OpenOffice_org-branding)
Source0: OpenOffice_org-branding-openSUSE-intro.bmp
Source1: OpenOffice_org-branding-openSUSE-about.bmp
Source2: OpenOffice_org-branding-openSUSE-COPYING
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package includes the openSUSE branding for the OpenOffice.org
office suite.
%prep
%setup -q -T -c %{name}-%{version}
cp -a %{S:0} intro.bmp
cp -a %{S:1} about.bmp
cp -a %{S:2} COPYING
%build
%install
install -m 0755 -d $RPM_BUILD_ROOT%ooo_prefix/%ooo_home/program
install -m 0644 intro.bmp $RPM_BUILD_ROOT%ooo_prefix/%ooo_home/program/
install -m 0644 about.bmp $RPM_BUILD_ROOT%ooo_prefix/%ooo_home/program/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc COPYING
%ooo_prefix/%ooo_home
%changelog
* Mon Oct 13 2008 pmladek@suse.cz
- updated with the openSUSE-11.1 style (bnc#434787)
* Mon Oct 06 2008 sbrabec@suse.cz
- Conflict with other branding providers (FATE#304881).
* Tue Aug 12 2008 pmladek@suse.cz
- updated to the OOo-3.0 branding; still the openSUSE-11.0 style [bnc#409144]
* Wed Jul 23 2008 pmladek@suse.cz
- updated for OOo-3.0 prefix
* Fri Apr 25 2008 pmladek@suse.cz
- updated to the openSUSE-11.0 style
* Mon Apr 14 2008 pmladek@suse.cz
- made it noarch package; OOo started to search the icons in /usr/share;
thanks Coolo for the hint
- fixed dependency; it should get installed when both this branding and
the OpenOffice_org package are requested
- switched to the suggested BSD-like license (bnc#373602)
* Wed Apr 02 2008 coolo@suse.de
- building the package after OOo delays the whole media creation
several hours, so not really worth it for directory ownership
* Fri Mar 28 2008 pmladek@suse.cz
- package created
- used the old branding for openSUSE-10.3