50292f6463
- Version bump to 4.2.0rc for testing purposes - Update the spec file to be only one building everything - Cleanup of spec with removal of old cruft here and there - Remove bundled libs always demand the system versions - Remove bundled tarballs that are no longer used - Removed patches no longer usable: * fix-collision.patch * zip-3.0-add_options_to_help.patch * zip-3.0-iso8859_2.patch * zip-3.0-nonexec-stack.patch * zip-3.0-optflags.patch * zip-3.0-tempfile.patch * zip-notimestamp.patch * solenv-touch-no-dereference.diff * split-help-buildhack-no-vcl.diff * system-poppler-0.12.3.diff * scripting-prefer-internal-rhino.diff * build-help-common.diff - Refreshed patches: * office-cfg-linux-common-template-dir.diff * officecfg-help-in-usr-share.diff * solenv-java-source-version.diff * wizards-create-temlates-with-python-2.6.diff - To be fixed: * split-icons-search-usr-share.diff - Obsoleted specs: * libreoffice-help-en-US.spec * libreoffice-help-group1.spec OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=60
89 lines
3.5 KiB
RPMSpec
89 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package libreoffice-branding-upstream
|
|
#
|
|
# Copyright (c) 2014 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/
|
|
#
|
|
|
|
|
|
%define lo_home libreoffice
|
|
Name: libreoffice-branding-upstream
|
|
Version: 4.2.0.1
|
|
Release: 0
|
|
Summary: Original Branding for LibreOffice
|
|
License: LGPL-3.0+ or MPL-1.1+
|
|
Group: Productivity/Office/Suite
|
|
Url: http://www.documentfoundation.org/
|
|
Source0: libreoffice-%{version}.tar.xz
|
|
BuildRequires: xz
|
|
Supplements: packageand(libreoffice:branding-upstream)
|
|
Provides: libreoffice-branding = %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
Conflicts: otherproviders(libreoffice-branding)
|
|
#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 %{buildroot}%{_datadir}/%{lo_home}/program/shell
|
|
# sofficerc
|
|
install -m 644 $RPM_SOURCE_DIR/sofficerc-upstream \
|
|
%{buildroot}%{_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 \
|
|
%{buildroot}%{_datadir}/%{lo_home}/program/$pict
|
|
done
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/%{lo_home}
|
|
|
|
%changelog
|