dmz-icon-theme-cursors/dmz-icon-theme-cursors.spec

61 lines
2.0 KiB
RPMSpec

#
# spec file for package dmz-icon-theme-cursors
#
# Copyright (c) 2019-2024 SUSE LINUX 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 https://bugs.opensuse.org/
#
Name: dmz-icon-theme-cursors
Version: 11.4.0
Release: 0
# As documented on http://packages.debian.org/changelogs/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_0.4.3/dmz-cursor-theme.copyright
Summary: DMZ Cursor Theme
License: CC-BY-SA-3.0
Group: System/GUI/GNOME
URL: https://packages.debian.org/sid/gnome/dmz-cursor-theme
Source0: http://deb.debian.org/debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_0.4.5.1.tar.xz
Patch0: fix-for-plasma.patch
Patch1: dmz-cursor-themes-name.patch
Requires: hicolor-icon-theme
BuildRequires: xcursorgen
Provides: icon-theme-dmz-cursors = %{version}
Obsoletes: icon-theme-dmz-cursors < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains the DMZ cursor theme for X.
%prep
%autosetup -p1 -n dmz-cursor-theme-0.4.5.1
%build
for i in Black White; do
( cd DMZ-$i/pngs; ./make.sh )
done
%install
for i in Black White; do
mkdir -p %{buildroot}%{_datadir}/icons/DMZ-$i
cp -a DMZ-$i/*.theme %{buildroot}%{_datadir}/icons/DMZ-$i/
cp -a DMZ-$i/xcursors %{buildroot}%{_datadir}/icons/DMZ-$i/cursors
done
%files
%defattr (-, root, root)
%{_datadir}/icons/DMZ-Black
%{_datadir}/icons/DMZ-White
%changelog