File lite-xl-colors.spec of Package lite-xl-colors

#
# spec file for package lite-xl-colors
#
# Copyright (c) 2022 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/
#

%define programname lite-xl
Name:           lite-xl-colors
Version:        git20221219.b3a9cdd
Release:        0
Summary:        Additional colors for %{programname}
License:        MIT
URL:            https://github.com/lite-xl/lite-xl-colors
Source:         %{name}-%{version}.tar.gz
Requires:       lite-xl
BuildArch:      noarch

%description
Color themes for the Lite XL text editor, originally forked from the lite colors repository.

%prep
%setup -q

%build

%install
mkdir -p %{buildroot}%{_datadir}/%{programname}/colors
mkdir -p %{buildroot}%{_datadir}/doc/%{name}
install -D -m644 colors/* %{buildroot}%{_datadir}/%{programname}/colors
install -D -m644 LICENSE %{buildroot}%{_datadir}/doc/%{name}/LICENSE
install -D -m644 README.md %{buildroot}%{_datadir}/doc/%{name}/README.md

%files
%dir %{_datadir}/%{programname}
%dir %{_datadir}/%{programname}/colors
%dir %{_datadir}/doc/%{name}
%{_datadir}/%{programname}/colors/*
%{_datadir}/doc/%{name}/LICENSE
%{_datadir}/doc/%{name}/README.md

%changelog

openSUSE Build Service is sponsored by