File oreo-cursors.spec of Package oreo-cursors
#
# spec file for package oreo-cursors
#
# Copyright (c) 2025 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: oreo-cursors
Version: 0.0.0git
Release: 0
Summary: Color material cursors for your Linux desktop with cute animation
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: GPL-2.0-or-later
URL: https://github.com/varlesh/oreo-cursors
Source: _service
BuildRequires: fdupes ruby(abi) xcursorgen
BuildRequires: ruby
BuildRequires: breeze6-devel
BuildArch: noarch
Requires:oreo_black
Requires:oreo_blue
Requires:oreo_grey
Requires:oreo_pink
Requires:oreo_purple
Requires:oreo_red
Requires:oreo_teal
Requires:oreo_white
Requires:oreo_spark_dark
Requires:oreo_spark_lite
Requires:oreo_spark_red
Requires:oreo_spark_blue
Requires:oreo_spark_pink
Requires:oreo_spark_orange
Requires:oreo_spark_green
Requires:oreo_spark_purple
Requires:oreo_spark_lime
Requires:oreo_spark_light_pink
Requires:oreo_spark_violet
%description
Color material cursors for your Linux desktop with cute animation.
Cursors have sizes 32px & 64px (HiDPI)
Available versions:
- Original cursors by Varlesh
- Spark cursors: Custom colours by Sourav
%package -n oreo_black
Summary: black Color material cursors
%description -n oreo_black
Color material cursors for your Linux desktop with cute animation
%package -n oreo_blue
Summary: blue Color material cursors
%description -n oreo_blue
Color material cursors for your Linux desktop with cute animation
%package -n oreo_grey
Summary: grey Color material cursors
%description -n oreo_grey
Color material cursors for your Linux desktop with cute animation
%package -n oreo_pink
Summary: pink Color material cursors
%description -n oreo_pink
Color material cursors for your Linux desktop with cute animation
%package -n oreo_purple
Summary: purple Color material cursors
%description -n oreo_purple
Color material cursors for your Linux desktop with cute animation
%package -n oreo_red
Summary: red Color material cursors
%description -n oreo_red
Color material cursors for your Linux desktop with cute animation
%package -n oreo_teal
Summary: teal Color material cursors
%description -n oreo_teal
Color material cursors for your Linux desktop with cute animation
%package -n oreo_white
Summary: white Color material cursors
%description -n oreo_white
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_dark
Summary: spark_dark Color material cursors
%description -n oreo_spark_dark
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_lite
Summary: spark_lite Color material cursors
%description -n oreo_spark_lite
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_red
Summary: spark_red Color material cursors
%description -n oreo_spark_red
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_blue
Summary: spark_blue Color material cursors
%description -n oreo_spark_blue
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_pink
Summary: spark_pink Color material cursors
%description -n oreo_spark_pink
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_orange
Summary: spark_orange Color material cursors
%description -n oreo_spark_orange
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_green
Summary: spark_green Color material cursors
%description -n oreo_spark_green
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_purple
Summary: spark_purple Color material cursors
%description -n oreo_spark_purple
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_lime
Summary: spark_lime Color material cursors
%description -n oreo_spark_lime
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_light_pink
Summary: spark_light_pink Color material cursors
%description -n oreo_spark_light_pink
Color material cursors for your Linux desktop with cute animation
%package -n oreo_spark_violet
Summary: spark_violet Color material cursors
%description -n oreo_spark_violet
Color material cursors for your Linux desktop with cute animation
%package doc
Summary: oreo-cursors-readme-authors
%description doc
oreo-cursors-readme-authors
%prep
%setup -q -n %_sourcedir/%name-%version -T -D
%__mkdir -p %_builddir/%_sourcedir
%__ln -rs %_sourcedir/%name-%version %_builddir/%_sourcedir
# Empty file used for the meta package
cat >> meta_package << EOF
This is a meta package, it does not contain any file
EOF
%__sed -i 's|--scales=0.5|--scales=0.5,0.75,1,1.25,1.5,1.75,2,3|g' build-svg.sh
%build
bash build-svg.sh
%install
%make_install
%post
%postun
%files
%doc meta_package
%files doc
%doc README.md AUTHORS
%license LICENSE
%files -n oreo_black
%{_datadir}/icons/oreo_black_cursors
%files -n oreo_blue
%{_datadir}/icons/oreo_blue_cursors
%files -n oreo_grey
%{_datadir}/icons/oreo_grey_cursors
%files -n oreo_pink
%{_datadir}/icons/oreo_pink_cursors
%files -n oreo_purple
%{_datadir}/icons/oreo_purple_cursors
%files -n oreo_red
%{_datadir}/icons/oreo_red_cursors
%files -n oreo_teal
%{_datadir}/icons/oreo_teal_cursors
%files -n oreo_white
%{_datadir}/icons/oreo_white_cursors
%files -n oreo_spark_dark
%{_datadir}/icons/oreo_spark_dark_cursors
%files -n oreo_spark_lite
%{_datadir}/icons/oreo_spark_lite_cursors
%files -n oreo_spark_red
%{_datadir}/icons/oreo_spark_red_cursors
%files -n oreo_spark_blue
%{_datadir}/icons/oreo_spark_blue_cursors
%files -n oreo_spark_pink
%{_datadir}/icons/oreo_spark_pink_cursors
%files -n oreo_spark_orange
%{_datadir}/icons/oreo_spark_orange_cursors
%files -n oreo_spark_green
%{_datadir}/icons/oreo_spark_green_cursors
%files -n oreo_spark_purple
%{_datadir}/icons/oreo_spark_purple_cursors
%files -n oreo_spark_lime
%{_datadir}/icons/oreo_spark_lime_cursors
%files -n oreo_spark_light_pink
%{_datadir}/icons/oreo_spark_light_pink_cursors
%files -n oreo_spark_violet
%{_datadir}/icons/oreo_spark_violet_cursors
%changelog