Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lighthomo
oreo-cursors
归一化.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 归一化.sh of Package oreo-cursors
#!/usr/bin/zsh for i (${(f)"$(<oreo-cursors/cursors.conf)"}) { type=`echo $i |awk '{print $1}'` [[ $type != '#' ]]&&[[ $type != 'sizes' ]]&&{ str="$str\n%files -n oreo_$type \n%{_datadir}/icons/oreo_${type}_cursors" string="$string\nRequires:oreo_$type" aks="$aks\n%package -n oreo_$type Summary: ${type} Color material cursors %description -n oreo_${type} Color material cursors for your Linux desktop with cute animation. Cursors have sizes 32px & 64px (HiDPI)" } } spec="# # spec file for package oreo-cursors # # Copyright (c) 2023 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) inkscape xcursorgen BuildRequires: ruby BuildArch: noarch$string %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$aks %package doc Summary: oreo-cursors-readme-authors %description doc oreo-cursors-readme-authors %prep %setup -q -n %_sourcedir/%name-%version -T -D %__ln -s %_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 %build ruby generator/convert.rb %make_build %install %make_install %fdupes %{buildroot}%{_datadir}/icons/ %post %postun %files %doc meta_package %files doc %doc README.md AUTHORS %license LICENSE$str %changelog " echo $spec >oreo-cursors.spec
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor