84583c92b4
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=35
102 lines
3.8 KiB
RPMSpec
102 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package libreoffice-branding-upstream
|
|
#
|
|
# Copyright (c) 2013 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-branding-upstream
|
|
Version: 4.0.3.3.2
|
|
Release: 0
|
|
%define lo_home libreoffice
|
|
Summary: Original Branding for LibreOffice
|
|
License: LGPL-3.0
|
|
Group: Productivity/Office/Suite
|
|
Provides: libreoffice-branding = %{version}
|
|
# compat stuff
|
|
Provides: OpenOffice_org-branding = %{version}
|
|
Obsoletes: OpenOffice_org-branding <= %{version}
|
|
Provides: OpenOffice_org-branding-upstream = %{version}
|
|
Obsoletes: OpenOffice_org-branding-upstream <= %{version}
|
|
Conflicts: otherproviders(libreoffice-branding)
|
|
%if 0%{?suse_version}
|
|
Supplements: packageand(branding-upstream:libreoffice)
|
|
%endif
|
|
Url: http://www.documentfoundation.org/
|
|
Source0: libreoffice-%version.tar.xz
|
|
BuildRequires: xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
#!ExclusiveArch: %ix86 x86_64 ppc
|
|
BuildArch: noarch
|
|
#BRAND: source: libreoffice.tar.xz:libreoffice/default_images/brand/intro.png
|
|
#BRAND: type: PNG image data, 440 x 286, 8-bit/color RGB, non-interlaced
|
|
#BRAND: purpose: "splash" image displayed for a short time, when the application is launching
|
|
#BRAND: text: should mention the app name "LibreOffice"
|
|
#BRAND: context: no border is being displayed around the splash windows
|
|
#BRAND: the picture is overlapped by the progress bar: x,y=212,216; w,h=263,8
|
|
#BRAND: the default progress bar color is 0,0,128 (blue)
|
|
#BRAND: the progress bar has 1 pixel width white border
|
|
#
|
|
#BRAND: source: libreoffice.tar.xz:libreoffice/default_images/brand/shell/about.svg
|
|
#BRAND: type: SVG image data, 486 x 322
|
|
#BRAND: purpose: background for the the Help/About LibreOffice dialog
|
|
#BRAND: text: no space for text; all text is written by the application
|
|
#BRAND: on top if this background
|
|
#BRAND: context: the application name and vendo is written on top of the dialog;
|
|
#BRAND: product description and license text is in the middle;
|
|
#BRAND: there are few buttons on the bottom of the dialog
|
|
#BRAND: the text is black on a white background
|
|
#
|
|
#BRAND: source: libreoffice.tar.xz:src/sofficerc-upstream
|
|
#BRAND: type: text config file (ini-files-like)
|
|
#BRAND: purpose: defines the position, size and, color of the status bar
|
|
|
|
%description
|
|
This package includes the original branding for the LibreOffice
|
|
office suite.
|
|
|
|
|
|
|
|
%prep
|
|
%setup -q -n libreoffice-%version
|
|
|
|
%build
|
|
|
|
%install
|
|
install -m 755 -d $RPM_BUILD_ROOT%_datadir/%lo_home/program/shell
|
|
# sofficerc
|
|
install -m 644 $RPM_SOURCE_DIR/sofficerc-upstream \
|
|
$RPM_BUILD_ROOT%_datadir/%lo_home/program/sofficerc
|
|
# pictures
|
|
for pict in intro.png \
|
|
flat_logo.svg \
|
|
shell/about.svg \
|
|
shell/backing_left.png \
|
|
shell/backing_right.png \
|
|
shell/backing_rtl_left.png \
|
|
shell/backing_rtl_right.png \
|
|
shell/backing_space.png ; do
|
|
install -m 644 icon-themes/galaxy/brand/$pict \
|
|
$RPM_BUILD_ROOT%_datadir/%lo_home/program/$pict
|
|
done
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_datadir/%lo_home
|
|
|
|
%changelog
|