File wps-office.spec of Package wps

#
# spec file for package wps-office
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           wps-office
Version:        11.1.0.10920
Release:        0
Summary:        WPS Office Installer
License:        GPL-3.0-and-later
Group:          Productivity/Office/Suite
URL:            https://github.com/openSUSE-zh/wps-office-installer
Source0:        https://github.com/openSUSE-zh/wps-office-installer/archive/v%{version}/wps-office-installer-2.3.3.tar.gz
Source1:        ghostfiles.txt
Source2:        wps-dir.txt
Source3:        wps-office.sh.in
Source4:        vendor.tar.xz
BuildRequires:  fontconfig
BuildRequires:  go
# placeholder
BuildRequires:  hicolor-icon-theme
Requires:       aria2
# done
Requires:       build
Requires:       desktop-file-utils
Requires:       shared-mime-info
Requires:       xz
Provides:       kingsoft-office = %{version}
Obsoletes:      kingsoft-office < %{version}
Provides:       wps = %{version}
Obsoletes:      wps < %{version}

%description
This package will install the latest free but not yet open source
Kingsoft WPS Office for you.

WPS Office is a drop-in replacement for Microsoft Office, but in Linux.

%prep
%setup -q -n wps-office-installer-2.3.3
cp -r %{SOURCE1} ./
tar -xf %{SOURCE4} -C .

%build
export GOPATH=%{_builddir}/go
mkdir -p %{_builddir}/go/src/github.com/openSUSE-zh/wps-office-installer
cp -r wps.go %{_builddir}/go/src/github.com/openSUSE-zh/wps-office-installer
cp -r vendor/* %{_builddir}/go/src/
DIR=`pwd`
pushd %{_builddir}/go/src/github.com/openSUSE-zh/wps-office-installer
go build wps.go
cp -r wps $DIR
popd

%install
install -D -m 755 wps %{buildroot}%{_bindir}/wps-office-installer
%suse_install_update_script %{SOURCE3}
mkdir -p %{buildroot}%{_localstatedir}/adm/update-messages
touch %{buildroot}%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}.txt

install -d %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged
touch %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged/%{name}.menu

mkdir -p %{buildroot}%{_sysconfdir}/wps-office
install -m 644 wps.yaml %{buildroot}%{_sysconfdir}/wps-office/wps.yaml

#install -d %{buildroot}%{_sysconfdir}/fonts/conf.d
#install -d %{buildroot}%{_datadir}/fontconfig/conf.avail/
#touch %{buildroot}%{_datadir}/fontconfig/conf.avail/40-wps-office.conf
#ln -sf %{_datadir}/fontconfig/conf.avail/40-wps-office.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/

install -d %{buildroot}%{_bindir}
touch %{buildroot}%{_bindir}/{et,wps,wpp}

install -d %{buildroot}%{_datadir}/applications
touch %{buildroot}%{_datadir}/applications/appurl.desktop
touch %{buildroot}%{_datadir}/applications/%{name}-et.desktop
touch %{buildroot}%{_datadir}/applications/%{name}-wpp.desktop
touch %{buildroot}%{_datadir}/applications/%{name}-wps.desktop
touch %{buildroot}%{_datadir}/applications/%{name}-pdf.desktop
for i in 16 24 32 48 64 96 128 256 512; do
  install -d %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/mimetypes;
  for j in doc dot dps dpt et ett pdf pot ppt wps wpt xls xlt; do
    touch %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/mimetypes/%{name}-${j}.png;
  done
done
for i in 16 20 24 32 40 48 60 64 72 80 256 512; do
  install -d %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/mimetypes;
  for j in et pdf wpp wps; do
    touch %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/mimetypes/%{name}2019-${j}main.png;
  done
done
for i in 16 32 48 256; do
  for j in dpso dpss eto ets wpso wpss; do
    touch %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/mimetypes/%{name}-${j}.png;
  done
done
for m in 32; do
  install -d %{buildroot}%{_datadir}/icons/hicolor/${m}x${m}/apps;
  if [ $m != 32 ] ; then
    for n in et wpp wps; do
      touch %{buildroot}%{_datadir}/icons/hicolor/${m}x${m}/apps/%{name}-${n}main.png
    done
  else
    touch %{buildroot}%{_datadir}/icons/hicolor/${m}x${m}/apps/%{name}-kingsoft.png
  fi
done
install -d %{buildroot}%{_datadir}/mime/packages/
touch %{buildroot}%{_datadir}/mime/packages/%{name}-et.xml
touch %{buildroot}%{_datadir}/mime/packages/%{name}-wpp.xml
touch %{buildroot}%{_datadir}/mime/packages/%{name}-wps.xml
touch %{buildroot}%{_datadir}/mime/packages/%{name}-pdf.xml
install -d %{buildroot}%{_datadir}/desktop-directories
touch %{buildroot}%{_datadir}/desktop-directories/%{name}.directory
install -d %{buildroot}%{_datadir}/templates
install -d %{buildroot}%{_datadir}/templates/.source
touch %{buildroot}%{_datadir}/templates/%{name}-et-template.desktop
touch %{buildroot}%{_datadir}/templates/%{name}-wps-template.desktop
touch %{buildroot}%{_datadir}/templates/%{name}-wpp-template.desktop

pushd %{buildroot}
cp -r %{SOURCE2} ./
IFS=$'\n'
for i in $(cat wps-dir.txt) ; do
  mkdir -pv $i
done
unset IFS
rm -rf wps-dir.txt
popd

%files -f ghostfiles.txt
%dir %{_datadir}/templates
%dir %{_datadir}/templates/.source
%dir %{_datadir}/desktop-directories
%dir %{_datadir}/icons/hicolor/20x20
%dir %{_datadir}/icons/hicolor/20x20/mimetypes
%dir %{_datadir}/icons/hicolor/40x40
%dir %{_datadir}/icons/hicolor/40x40/mimetypes
%dir %{_datadir}/icons/hicolor/60x60
%dir %{_datadir}/icons/hicolor/60x60/mimetypes
%dir %{_datadir}/icons/hicolor/80x80
%dir %{_datadir}/icons/hicolor/80x80/mimetypes
%dir %{_sysconfdir}/xdg/menus
%dir %{_sysconfdir}/xdg/menus/applications-merged
%dir %{_sysconfdir}/wps-office
%{_bindir}/wps-office-installer
%config %{_sysconfdir}/wps-office/wps.yaml
%ghost %{_sysconfdir}/xdg/menus/applications-merged/%{name}.menu
%{_localstatedir}/adm/update-scripts/*
%{_localstatedir}/adm/update-messages/*
#%config %{_sysconfdir}/fonts/conf.d/40-wps-office.conf
#%ghost %{_datadir}/fontconfig/conf.avail/40-wps-office.conf
%ghost %{_bindir}/et
%ghost %{_bindir}/wps
%ghost %{_bindir}/wpp
%ghost %{_bindir}/wpspdf
%ghost %{_datadir}/applications/appurl.desktop
%ghost %{_datadir}/applications/wps-office-et.desktop
%ghost %{_datadir}/applications/wps-office-wpp.desktop
%ghost %{_datadir}/applications/wps-office-wps.desktop
%ghost %{_datadir}/applications/wps-office-pdf.desktop
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-dpso.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-dpss.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-eto.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-ets.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-wpso.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-wpss.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/16x16/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/20x20/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/20x20/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/20x20/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/20x20/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/24x24/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/32x32/apps/%{name}-kingsoft.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-dpso.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-dpss.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-eto.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-ets.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-wpso.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-wpss.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/32x32/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/40x40/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/40x40/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/40x40/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/40x40/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-dpso.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-dpss.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-eto.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-ets.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-wpso.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-wpss.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/48x48/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/60x60/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/60x60/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/60x60/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/60x60/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/64x64/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/72x72/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/72x72/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/72x72/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/72x72/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/80x80/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/80x80/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/80x80/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/80x80/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/96x96/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/128x128/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-dpso.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-dpss.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-eto.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-ets.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-wpso.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-wpss.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/256x256/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}2019-etmain.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}2019-wppmain.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}2019-wpsmain.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}2019-pdfmain.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-doc.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-dot.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-dps.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-dpt.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-et.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-ett.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-pdf.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-pot.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-ppt.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-wps.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-wpt.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-xls.png
%ghost %{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-xlt.png
%ghost %{_datadir}/mime/packages/%{name}-et.xml
%ghost %{_datadir}/mime/packages/%{name}-wpp.xml
%ghost %{_datadir}/mime/packages/%{name}-wps.xml
%ghost %{_datadir}/mime/packages/%{name}-pdf.xml
%ghost %{_datadir}/desktop-directories/%{name}.directory
%ghost %{_datadir}/templates/%{name}-et-template.desktop
%ghost %{_datadir}/templates/%{name}-wps-template.desktop
%ghost %{_datadir}/templates/%{name}-wpp-template.desktop

%changelog
openSUSE Build Service is sponsored by