File plasma5-addons-comics.spec of Package plasma5-addons-comics
#
# spec file for package plasma5-addons-comics
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 LISA GmbH, Bingen, 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 plasmacomics %{_datadir}/plasma/comics
Name: plasma5-addons-comics
Version: 0.1
Release: 0
Summary: A few plasma5 comic sources
Group: Amusements/Toys/Background
License: GPL-2.0-only
Url: https://store.kde.org/browse/cat/105/
Source1: perscheid.comic
Source2: shithappens.comic
Source3: viewsamerica.comic
Source4: xkcd.comic
BuildRequires: kf5-filesystem
BuildRequires: unzip
Requires: plasma5-addons
BuildArch: noarch
%description
A few plasma5 comic sources, that do work properly.
%prep
%setup -Tcn %{name}-%{version}
unzip %{S:1}
unzip %{S:2}
unzip %{S:3}
unzip %{S:4}
%build
# nothing
%install
mkdir -p %{buildroot}%{plasmacomics}
cp -a %{S:1} %{S:2} %{S:3} %{S:4} %{buildroot}%{plasmacomics}/
pushd %{buildroot}%{plasmacomics}
unzip perscheid.comic
unzip shithappens.comic
unzip viewsamerica.comic
unzip xkcd.comic
popd
%files
%dir %{plasmacomics}/
%{plasmacomics}/
%changelog